CzCustAdvanceInvoiceTable::findAllForPaymentDifferentTaxGroups Method
Finds the advance invoices linked to the specified payment that contain different tax groups than the payment.
Syntax
server public static CzCustAdvanceInvoiceTable findAllForPaymentDifferentTaxGroups(LedgerJournalTrans _payment)
Run On
Server
Parameters
- _payment
Type: LedgerJournalTrans Table
A payment that may be linked to one or more advance invoices.
Return Value
Type: CzCustAdvanceInvoiceTable Table
A dataset of advance invoices with different tax groups than the given payment, positioned on the first record; otherwise, an empty record buffer.
Remarks
The use of the 'firstonly' keyword is intentionally avoided so callers can iterate the possible dataset.