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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 517 Super User 2026 Season 1
Giorgio Bonacorsi 440
Adis 266 Super User 2026 Season 1