Table
VendInvoicePurchLink
Posted vendor invoice - purchase order relation table
Relates a posted vendor invoice to the purchase order it came from. Each row has the invoice number, internal invoice, date, invoice and order accounts, and the purchase order. It has no defined key.
- Table name
VendInvoicePurchLink- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
internalInvoiceIdInternal invoice number that matches an invoice journal record. | String (20)PurchInternalInvoiceId | Yes | None | |
invoiceAccountVendor account the invoice is issued to. | String (20)VendInvoiceAccount | No | VendTable.AccountNum | None |
invoiceDateDate of the invoice. | DateTransDate | Yes | None | |
invoiceIdNumber of the vendor invoice. | String (50)VendInvoiceId | Yes | None | |
orderAccountVendor account on the order. | String (20)VendAccount | No | VendTable.AccountNum | None |
origPurchIdOriginal purchase order number. | String (20)PurchIdOrig | No | PurchTable.PurchId | None |
parmIdParameter ID for the invoice posting record.low confidence | String (20)ParmId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
purchIdPurchase order number the invoice relates to. | String (20)PurchId | No | PurchTable.PurchId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
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 (2)
origPurchIdxorigPurchId,invoiceId,invoiceDateNot unique.
invoiceIdxNot unique.
Relations (5)
Each relation joins VendInvoicePurchLink to another table on the fields shown.
purchTable_origPurchId→PurchTableJoin on
origPurchId = PurchTable.PurchIdMany VendInvoicePurchLink records → zero or one PurchTable record
PurchTable_purchId→PurchTableJoin on
purchId = PurchTable.PurchIdMany VendInvoicePurchLink records → zero or one PurchTable record
vendInvoiceJour→VendInvoiceJourJoin on
purchId = VendInvoiceJour.PurchId,invoiceId = VendInvoiceJour.InvoiceId,internalInvoiceId = VendInvoiceJour.InternalInvoiceId,invoiceDate = VendInvoiceJour.InvoiceDateMany VendInvoicePurchLink records → exactly one VendInvoiceJour record
VendTable_invoiceAccount→VendTableJoin on
invoiceAccount = VendTable.AccountNumMany VendInvoicePurchLink records → zero or one VendTable record
VendTable_orderAccount→VendTableJoin on
orderAccount = VendTable.AccountNumMany VendInvoicePurchLink records → zero or one VendTable record
Get this data out
No public entity reads from VendInvoicePurchLink. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendInvoicePurchLink in a report, an integration or a migration? Talk to Dr Dynamics.