SpecTrans::findMarkedVendPaymentGroup Method
Finds and returns a VendTransOpen record that is associated with a payment group and occurs in the SpecTrans table.
Syntax
server public static container findMarkedVendPaymentGroup(
VendInvoiceAccount _invoiceAccount,
CompanyId _custVendCompany,
Common _originator)
Run On
Server
Parameters
- _invoiceAccount
Type: VendInvoiceAccount Extended Data Type
The invoice account in VendTransOpen to search for.
- _custVendCompany
Type: CompanyId Extended Data Type
The ID of the company that will be used for cross company queries.
- _originator
Type: Common Table
The originator record that identifies which spec to search for.
Return Value
Type: container
A container that holds a VendTransOpen record.
Remarks
This will search for the first VendTransOpen record that has a marked VendPaymentGroup value and is for the spec specified by values in the _originator parameter.