Table
VendInvoiceMatchingLine
Vendor invoice expected PO details
Holds the expected purchase order values for a vendor invoice line, such as quantity, unit price, discounts, charges and tolerances. Each record links to a purchase order line in the update table through a table ID and record ID pair. It also shows the matching policy and the amount left unmatched.
- Table name
VendInvoiceMatchingLine- Module
Accounts payable- Table group
TransactionLine- Table type
Regular- Data per company
Yes- Configuration key
PurchInvoiceMatching- Primary index
RefIdx- Replacement key
RefIdx- Key fields
RefTableId, RefRecId- Model
Foundation
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefTableIdID of the table that the reference record belongs to. Here it relates to the purchase order line update table. | IntegerRefTableId | Yes | VendInvoiceMatchingLineBiEntity | |
RefRecIdRecord ID of the purchase order update line that this record refers to. | Int64RefRecId | Yes | VendInvoiceMatchingLineBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | VendInvoiceMatchingLineBiEntity | |
ExpectedCurrencyCodeCurrency code expected for the purchase order line. It points to a record in the Currency table. | String (3)ExpectedCurrencyCode | No | Currency.CurrencyCode | VendInvoiceMatchingLineBiEntity |
ExpectedLineAmountExpected net amount of the line. | RealExpectedLineAmount | No | VendInvoiceMatchingLineBiEntity | |
ExpectedLineDiscExpected discount amount on the line. | RealExpectedLineDisc | No | VendInvoiceMatchingLineBiEntity | |
ExpectedLinePercentExpected discount percentage on the line. | RealExpectedLinePercent | No | VendInvoiceMatchingLineBiEntity | |
ExpectedMarkupExpected charges on the purchase line. | RealExpectedMarkup | No | VendInvoiceMatchingLineBiEntity | |
ExpectedMultiLnDiscExpected multiline discount amount. | RealExpectedMultiLnDisc | No | VendInvoiceMatchingLineBiEntity | |
ExpectedMultiLnPercentExpected multiline discount as a percentage. | RealExpectedMultiLnPercent | No | VendInvoiceMatchingLineBiEntity | |
ExpectedPriceExpected unit price of the item. | RealExpectedPrice | No | VendInvoiceMatchingLineBiEntity | |
ExpectedPriceUnitExpected number of units that the unit price applies to. | RealExpectedPriceUnit | No | VendInvoiceMatchingLineBiEntity | |
ExpectedQtyExpected quantity on the purchase order line. | RealExpectedQty | No | VendInvoiceMatchingLineBiEntity | |
ExtendedPriceToleranceAmountAllowed difference for the total purchase price, given as an amount. | RealExtendedPriceToleranceAmount | No | VendInvoiceMatchingLineBiEntity | |
ExtendedPriceTolerancePercentageAllowed difference for the total purchase price, given as a percentage. | RealExtendedPriceTolerancePercentage | No | VendInvoiceMatchingLineBiEntity | |
ExtendedPriceVarianceAmountPart of the total purchase price that is not matched to the invoice. | RealExtendedPriceVarianceAmount | No | VendInvoiceMatchingLineBiEntity | |
ExtendedPriceVarianceAmountMSTUnmatched total purchase price, shown in the accounting currency. | RealExtendedPriceVarianceAmountMST | No | VendInvoiceMatchingLineBiEntity | |
MatchingPolicyType of matching required for the line: three-way, two-way or not required. | EnumPurchMatchingPolicyOption (enum) | No | VendInvoiceMatchingLineBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceTolerancePercentageAllowed difference in unit price, given as a percentage. | RealPriceTolerancePercentage | No | VendInvoiceMatchingLineBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | VendInvoiceMatchingLineBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | VendInvoiceMatchingLineBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RefIdxPrimary indexReplacement keyUnique, alternate key.
Relations (3)
Each relation joins VendInvoiceMatchingLine to another table on the fields shown.
Currency→CurrencyJoin on
ExpectedCurrencyCode = Currency.CurrencyCodeMany VendInvoiceMatchingLine records → zero or one Currency record
PurchParmLine→PurchParmLineJoin on
RefTableId = PurchParmLine.TableId,RefRecId = PurchParmLine.RecIdZero or one VendInvoiceMatchingLine record → zero or one PurchParmLine record
VendInvoiceInfoLine→VendInvoiceInfoLineJoin on
RefTableId = VendInvoiceInfoLine.TableId,RefRecId = VendInvoiceInfoLine.RecIdZero or one VendInvoiceMatchingLine record → zero or one VendInvoiceInfoLine record
Get this data out
Tables are not exposed directly. These public entities read from VendInvoiceMatchingLine; use one of them in Power BI, Power Platform or a data management project.
VendInvoiceMatchingLineBiEntity· 21 fields from this table
Need help with VendInvoiceMatchingLine in a report, an integration or a migration? Talk to Dr Dynamics.