Notifications
Announcements
No record found.
Hi guys,
If I'm not mistaken, we used to have function orig() to get a table record previous value, right? Is it gone ? or maybe I didn't do it correctly or in wrong places ?
I rarely use it, but currently I tried and there no fields after put like "CustTable.orig(). "
any advise ?
Thanks
Hi ShaqAX,
This method refers to the last saved state of the current table buffer.
You could find it in lot of places in the custTable datasource methods, see the modified method.
Hi WIll,
Yes, I know, but beside in modified method, we can use it anywhere, right ? just specify like this : CustTable.orig().PaymMode --> this will return the last value of PaymMode, right ?
Yes, you can get it anywhere. But the method .orig() methods a Common object, so you can't access CustTable fields directly in it.
Instead you must first assign it to a CustTable buffer.
For example CustTable custTable_orig = custTable.orig();
Yes, it works for me, please try to type the field you want.
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 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader