Notifications
Announcements
No record found.
[ExtensionOf(formStr(VendOpenTrans))] final class GTCVendOpenTrans_Form_Extension { public void init() { VendTrans VendTrans; VendTransOpen vendTransOpen; GTCLCInvoiceLink LCInvoiceLink; LedgerJournalTrans ledgerJournalTrans; SpecTransManager specTransManager; SpecTransExecutionContext specTransExecutionContext; CustTransSettleTransactionParameters settleParams;
next init(); FormDataSource formeDataSource = this.VendTransOpen_ds;
if (originator.TableId == tableNum(LedgerJournalTrans)) { ledgerJournalTrans = originator; }
if (ledgerJournalTrans) { QueryBuildDataSource vendTransQbds = VendTrans_ds.query().dataSourceTable(tableNum(VendTrans)); List invoiceList = new List(Types::String); if (vendTransQbds) { while select GTCInvoice from LCInvoiceLink where ledgerJournalTrans.GTCLCCode == LCInvoiceLink.GTCLCCode { QueryBuildRange invoiceRange = vendTransQbds.addRange(fieldNum(VendTrans, Invoice)); invoiceRange.value(LCInvoiceLink.GTCInvoice); ttsbegin; // If transactions were marked, write back to originating record if needed manager.updateOriginatorForMarkedTrans(); // update all SpecTrans records with date used to calculate discount manager.updateSpecTransWithSelectedDate(); ttscommit; }}}
Hi @Layan Jwei ,
Yes, I want to mark all the lines in the grid after applying the filter. As mentioned in the screenshot, two lines appear after applying the filter, but only the first one is marked. I need all the lines displayed after my filter (applied via X++ code) to be marked.
Let me know if you need more details.
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