This document defines two collections and configures two fields. The PartyItemRate collection walks the Salesvou collection to compute fields from the master document. The two fields, VCH batch Rate and VCH batch Discount, are configured to always retrieve rate and discount values from the PartyItemRate collection based on ledger name and item name.
This document defines two collections and configures two fields. The PartyItemRate collection walks the Salesvou collection to compute fields from the master document. The two fields, VCH batch Rate and VCH batch Discount, are configured to always retrieve rate and discount values from the PartyItemRate collection based on ledger name and item name.
This document defines two collections and configures two fields. The PartyItemRate collection walks the Salesvou collection to compute fields from the master document. The two fields, VCH batch Rate and VCH batch Discount, are configured to always retrieve rate and discount values from the PartyItemRate collection based on ledger name and item name.
;Select $VoucherNumber, $Rate,$DISCOUNT,$ItemName,$LedgerName from PartyItemRate
[#Field: VCH batch Rate]
Delete: Set By Condition Delete: Set as Delete: Inactive add:Set As :($$AsRate:$$CollectionFieldByKey:$Rate:@StkPartyRt:partyItemRate) StkPartyRt:($LedgerEntries[1].LedgerName+$StockItemName) Set Always : yes [#Field: VCH batch discount] Delete: Set By Condition Delete: Set as Delete: Inactive add:Set As :($$AsRate:$$CollectionFieldByKey:$DISCOUNT:@StkPartyRt:partyItemRate) StkPartyRt:($LedgerEntries[1].LedgerName+$StockItemName) Set Always : yes