August 2017
Beginner to intermediate
480 pages
11h 7m
English
Suppose for some use case we need to show the vendor balance as well. We could achieve this by using the method balanceAllCurrency on VendTable, which displays the vendor balance. To do so, we could add the following code in the lookupVendorByCurrency method in the VendTable_Extension class before the performFormLookup() method call:
lookup.addLookupField(fieldNum(VendTable,Party)); lookup.addLookupField(fieldNum(VendTable,Currency));
lookup.addLookupMethod (tableMethodStr(VendTable,balanceAllCurrency));
lookup.performFormLookup();
Read now
Unlock full access