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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RefTableIdID of the table that the reference record belongs to. Here it relates to the purchase order line update table.Integer
RefTableId
YesVendInvoiceMatchingLineBiEntity
RefRecIdRecord ID of the purchase order update line that this record refers to.Int64
RefRecId
YesVendInvoiceMatchingLineBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoVendInvoiceMatchingLineBiEntity
ExpectedCurrencyCodeCurrency code expected for the purchase order line. It points to a record in the Currency table.String (3)
ExpectedCurrencyCode
NoCurrency.CurrencyCodeVendInvoiceMatchingLineBiEntity
ExpectedLineAmountExpected net amount of the line.Real
ExpectedLineAmount
NoVendInvoiceMatchingLineBiEntity
ExpectedLineDiscExpected discount amount on the line.Real
ExpectedLineDisc
NoVendInvoiceMatchingLineBiEntity
ExpectedLinePercentExpected discount percentage on the line.Real
ExpectedLinePercent
NoVendInvoiceMatchingLineBiEntity
ExpectedMarkupExpected charges on the purchase line.Real
ExpectedMarkup
NoVendInvoiceMatchingLineBiEntity
ExpectedMultiLnDiscExpected multiline discount amount.Real
ExpectedMultiLnDisc
NoVendInvoiceMatchingLineBiEntity
ExpectedMultiLnPercentExpected multiline discount as a percentage.Real
ExpectedMultiLnPercent
NoVendInvoiceMatchingLineBiEntity
ExpectedPriceExpected unit price of the item.Real
ExpectedPrice
NoVendInvoiceMatchingLineBiEntity
ExpectedPriceUnitExpected number of units that the unit price applies to.Real
ExpectedPriceUnit
NoVendInvoiceMatchingLineBiEntity
ExpectedQtyExpected quantity on the purchase order line.Real
ExpectedQty
NoVendInvoiceMatchingLineBiEntity
ExtendedPriceToleranceAmountAllowed difference for the total purchase price, given as an amount.Real
ExtendedPriceToleranceAmount
NoVendInvoiceMatchingLineBiEntity
ExtendedPriceTolerancePercentageAllowed difference for the total purchase price, given as a percentage.Real
ExtendedPriceTolerancePercentage
NoVendInvoiceMatchingLineBiEntity
ExtendedPriceVarianceAmountPart of the total purchase price that is not matched to the invoice.Real
ExtendedPriceVarianceAmount
NoVendInvoiceMatchingLineBiEntity
ExtendedPriceVarianceAmountMSTUnmatched total purchase price, shown in the accounting currency.Real
ExtendedPriceVarianceAmountMST
NoVendInvoiceMatchingLineBiEntity
MatchingPolicyType of matching required for the line: three-way, two-way or not required.Enum
PurchMatchingPolicyOption (enum)
NoVendInvoiceMatchingLineBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceTolerancePercentageAllowed difference in unit price, given as a percentage.Real
PriceTolerancePercentage
NoVendInvoiceMatchingLineBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVendInvoiceMatchingLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoVendInvoiceMatchingLineBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

Each relation joins VendInvoiceMatchingLine to another table on the fields shown.

  • Currency → Currency

    Join on ExpectedCurrencyCode = Currency.CurrencyCode

    Many VendInvoiceMatchingLine records → zero or one Currency record

  • PurchParmLine → PurchParmLine

    Join on RefTableId = PurchParmLine.TableId, RefRecId = PurchParmLine.RecId

    Zero or one VendInvoiceMatchingLine record → zero or one PurchParmLine record

  • VendInvoiceInfoLine → VendInvoiceInfoLine

    Join on RefTableId = VendInvoiceInfoLine.TableId, RefRecId = VendInvoiceInfoLine.RecId

    Zero 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.

Need help with VendInvoiceMatchingLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk