Table
VendInvoiceInfo
Invoice information for approving invoice journals
Stores invoice details used when approving invoice journals. Each record points to a journal line through a reference table ID and record ID. It also holds item, purchase order, quantity, price and discount values.
- Table name
VendInvoiceInfo- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (18)
| 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 | |
InventDimIdIdentifies the set of inventory dimensions, linked to the inventory dimensions table. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemIdItem number, linked to the item record. | String (20)ItemIdSmall | No | InventTable.ItemId | None |
LineDiscDiscount amount on the line. | RealPurchLineDisc | No | None | |
LinePercentDiscount on the line, given as a percentage. | RealPurchLinePercent | No | None | |
MultiLnDiscDiscount amount that applies across several lines. | RealPurchMultiLnDisc | No | None | |
MultiLnPercentMultiline discount, given as a percentage. | RealPurchMultiLnPercent | No | None | |
NameName of the product. | String (60)ItemName | No | None | |
OrderIdPurchase order the invoice information relates to. | String (20)PurchId | No | PurchTable.PurchId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuantityQuantity in inventory units. | RealInventQty | No | 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 | |
RefRecIdSystem record ID of the journal line this record refers to. | Int64RefRecId | Yes | None | |
RefTableIdID of the table that the reference record belongs to, which is the journal lines table. | IntegerRefTableId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitPrice unit, the quantity that the unit price applies to. | RealPriceUnit | No | None | |
UnitPricePurchase price per price unit. | RealPurchPrice | No | None |
Indexes (1)
RefIdxNot unique.
Relations (5)
Each relation joins VendInvoiceInfo to another table on the fields shown.
InventDim_InventDimId→InventDimJoin on
InventDimId = InventDim.inventDimIdMany VendInvoiceInfo records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany VendInvoiceInfo records → zero or one InventTable record
LedgerJournalTrans→LedgerJournalTransJoin on
RefRecId = LedgerJournalTrans.RecId,RefTableId = LedgerJournalTrans.TableIdMany VendInvoiceInfo records → exactly one LedgerJournalTrans record
PurchTable→PurchTableJoin on
OrderId = PurchTable.PurchIdMany VendInvoiceInfo records → zero or one PurchTable record
VendTrans→VendTransJoin on
RefRecId = VendTrans.RecId,RefTableId = VendTrans.TableIdMany VendInvoiceInfo records → zero or one VendTrans record
Get this data out
No public entity reads from VendInvoiceInfo. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendInvoiceInfo in a report, an integration or a migration? Talk to Dr Dynamics.