Notifications
Announcements
public void modifyQueryFromArgs(Args _args){ CustTable custTable = _args.record(); if (custTable) { MyContact contract = this.getDataContractObject(); // Todo: change contract type to your own. if (contract) { Query query = contract.getQuery(); if (query) { QueryBuildDataSource custTable_ds = query.dataSourceTable(tableNum(CustTable)); SysQuery::findOrCreateRange(custTable_ds, fieldNum(CustTable, AccountNum)).value( queryValue(custTable.AccountNum)); contract.setQuery(query); // Replace query in contract with modified query. } } }}
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…
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... 679 Super User 2026 Season 1
Abhilash Warrier 332 Super User 2026 Season 1
Martin Dráb 238 Most Valuable Professional