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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdIdentifies the set of inventory dimensions, linked to the inventory dimensions table.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemIdItem number, linked to the item record.String (20)
ItemIdSmall
NoInventTable.ItemIdNone
LineDiscDiscount amount on the line.Real
PurchLineDisc
NoNone
LinePercentDiscount on the line, given as a percentage.Real
PurchLinePercent
NoNone
MultiLnDiscDiscount amount that applies across several lines.Real
PurchMultiLnDisc
NoNone
MultiLnPercentMultiline discount, given as a percentage.Real
PurchMultiLnPercent
NoNone
NameName of the product.String (60)
ItemName
NoNone
OrderIdPurchase order the invoice information relates to.String (20)
PurchId
NoPurchTable.PurchIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QuantityQuantity in inventory units.Real
InventQty
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdSystem record ID of the journal line this record refers to.Int64
RefRecId
YesNone
RefTableIdID of the table that the reference record belongs to, which is the journal lines table.Integer
RefTableId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitPrice unit, the quantity that the unit price applies to.Real
PriceUnit
NoNone
UnitPricePurchase price per price unit.Real
PurchPrice
NoNone

Indexes (1)

Relations (5)

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

  • InventDim_InventDimId → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many VendInvoiceInfo records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many VendInvoiceInfo records → zero or one InventTable record

  • LedgerJournalTrans → LedgerJournalTrans

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

    Many VendInvoiceInfo records → exactly one LedgerJournalTrans record

  • PurchTable → PurchTable

    Join on OrderId = PurchTable.PurchId

    Many VendInvoiceInfo records → zero or one PurchTable record

  • VendTrans → VendTrans

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

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

Email sales@drdynamics.co.uk