Notifications
Announcements
No record found.
Hi guys,
i did it below my code in active its not working,
if(transType == MPTransactionTypeWorker::BusTrip) { Header_ds.object(fieldNum(MPWorkerTransHeader, ReqPerDiem)).getValue(NoYes::Yes); }
what did i mistake ?
Thanks
Hi Riyas,
Could you please explain what you are trying to achieve here?
Looks like you are trying to access the current record field on the form.
You already have access to the cursor on the form and it has same name as data source but without "_ds" postfix , so you can get and set value through it
info(strfmt("%1", header.ReqPerDiem)); //read value header.ReqPerDiem = NoYes::Yes; //set value
Thanks for your replay sir,
if i give in my lookup BusTrip status in peridium checkbox automatically "Yes" .
Many thanks sir , its working fine
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 544 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader