Announcements
public boolean validateWrite() { boolean ret; DTDMCHeaderLines dTDMCHeaderLinesInv = this.cursor(); select firstonly DTDMCHeaderLines where DTDMCHeaderLines.InvoiceId == dTDMCHeaderLinesInv.InvoiceId; if(DTDMCHeaderLines.RecId != 0) { throw error('InvoiceId Already Exist'); } ret = super(); return ret; }
YourDatasourceName_ds.reread(); YourDatasourceName_ds.rereadreferenceeDatasource(); YourDatasourceName_ds.research(true).
public boolean validateWrite() { boolean ret; ret = super(); // your validation if() { ret = ... } if(!ret) { {{YourTable}}_ds.reread(); {{YourTable}}_ds.refresh(); {{YourTable}}_ds.research(). } return ret; }
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 431 Super User 2026 Season 1
Subra 364
Martin Dráb 243 Most Valuable Professional