Notifications
Announcements
No record found.
[ExtensionOf(tableStr(PurchTable))] final class PurchTablePOtotalValue_Extension { display PurchLineAmount GetPOtotalValue() { PurchTable purchTable; PurchLine purchLine; PurchLineAmount POtotalValue; select sum(LineAmount) from purchline group by PurchId where purchLine.PurchId == purchTable.PurchId; POtotalValue = purchLine.LineAmount; return POtotalValue; } }
[ExtensionOf(tableStr(PurchTable))] final class PurchTablePOtotalValue_Extension { [SysClientCacheDataMethod] display PurchLineAmount getPoTotalValue() { PurchLine purchLine; select sum(LineAmount) from purchLine where purchLine.PurchId == this.PurchId; return purchLine.LineAmount; } }
public void executeQuery() { QueryBuildDataSource purchTableQueryRunQbds = purchTable_ds.queryRunQueryBuildDataSource(); QueryBuildRange purchIdRange = purchTableQueryRunQbds != null ? purchTableQueryRunQbds.findRange(fieldNum(PurchTable, PurchId)) : null; // If there is specific purchase order id filter on the query run, we don't need the exist join with ProjTmpPurchListTable if (purchIdRange != null) { QueryRun queryRun = purchTable_ds.queryRun(); if (queryRun != null && queryRun.query() != null) { QueryBuildDataSource tmpQbds = queryRun.query().dataSourceTable(tableNum(ProjTmpPurchListTable)); if (tmpQbds != null) { tmpQbds.enabled(false); } } } logisticsPostalAddressHeader_ds.validTimeStateUpdate(ValidTimeStateUpdate::Correction); logisticsPostalAddressHeader_ds.query().validTimeStateDateTimeRange(DateTimeUtil::minValue(), DateTimeUtil::maxValue()); super(); }
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 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional