VendInvoiceDocument.parmMatchingPolicy Method [AX 2012]
Determines the matching policy for the invoice document.
Syntax
public VendInvoiceMatchingPolicy parmMatchingPolicy(
CompanyId _companyId,
TableId _tableId,
RecId _recId)
Run On
Called
Parameters
- _companyId
Type: CompanyId Extended Data Type
The company ID that corresponds to the workflow instance.
- _tableId
Type: TableId Extended Data Type
The table ID that corresponds to the workflow instance.
- _recId
Type: RecId Extended Data Type
The record ID that corresponds to the workflow instance.
Return Value
Type: VendInvoiceMatchingPolicy Extended Data Type
A PurchMatchingPolicyOption::ThreeWayMatch or PurchMatchingPolicyOption::TwoWayMatch or PurchMatchingPolicyOption::NoMatch enumeration value, depending on the PurchLine records that is referenced by the invoice lines.