Table

VendInvoiceStandardLineTemplate

Vendor invoice line template

Stores default line values for a vendor invoice line template. It can hold item, quantity, price, project, dimension and Intrastat details (commodity, port, transport, statistics procedure). It links to VendInvoiceLineTemplate and several reference tables, and has no defined key.

Table name
VendInvoiceStandardLineTemplate
Module
Accounts payable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation
Extends
VendInvoiceLineTemplate

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionTemplatePoints to the accounting distribution template used for this line.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
AmountDetailsFree-text details about the line amount.String (-1)
AmountDetails
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the set of financial dimension values that apply to the line by default.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
IntrastatCommodityPoints to the product category used as the Intrastat commodity.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdNone
InventDimIdPoints to the inventory dimension combination for the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemCodeIdCommodity code. The EDT name marks it as deprecated.low confidenceString
DEL_IntrastatItemCodeId
NoNone
ItemIdItem number of the product on the line.String (20)
ItemId
NoNone
LineTxtFree text that describes the invoice line.String (-1)
Notes
NoNone
OrigCountryRegionIdCountry or region where the item originates.String
ItemOrigCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
OrigStateState where the item originates, matched together with the country or region of origin.String
ItemOrigStateId
NoLogisticsAddressState.StateIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PortIntrastat port code for the line.String
IntrastatPortId
NoIntrastatPort.PortIdNone
ProcurementCategoryPoints to the procurement category of the line.Int64
PurchCategory
NoEcoResCategory.RecIdNone
ProjCategoryIdProject category for the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ProjIdProject the line is charged to.String (20)
ProjId
NoProjTable.ProjIdNone
PurchUnitPurchase unit of measure for the line.String
PurchUnit
NoUnitOfMeasure.SymbolNone
QuantityInvoiced quantity on the line.Real
InvoiceQuantity
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
StatProcIdIntrastat statistics procedure code for the line.String
IntrastatProcId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionCodeIntrastat transaction code for the line.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeNone
TransportIntrastat transport mode for the line.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeNone
UnitPricePrice per unit on the invoice line.Real
InvoiceUnitPrice
NoNone
WeightTotal weight of the goods on the line.Real
Weight
NoNone

Relations (15)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many VendInvoiceStandardLineTemplate records → zero or one AccountingDistributionTemplate record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many VendInvoiceStandardLineTemplate records → zero or one DimensionAttributeValueSet record

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Many VendInvoiceStandardLineTemplate records → zero or one EcoResCategory record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many VendInvoiceStandardLineTemplate records → zero or one IntrastatPort record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many VendInvoiceStandardLineTemplate records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many VendInvoiceStandardLineTemplate records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on Transport = IntrastatTransportMode.TransPortCode

    Many VendInvoiceStandardLineTemplate records → zero or one IntrastatTransportMode record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many VendInvoiceStandardLineTemplate records → zero or one LogisticsAddressCountryRegion record

  • OrigState → LogisticsAddressState

    Join on OrigCountryRegionId = LogisticsAddressState.CountryRegionId, OrigState = LogisticsAddressState.StateId

    Many VendInvoiceStandardLineTemplate records → zero or one LogisticsAddressState record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many VendInvoiceStandardLineTemplate records → zero or one ProjCategory record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many VendInvoiceStandardLineTemplate records → zero or one ProjTable record

  • VendInvoiceLineTemplate → VendInvoiceLineTemplate

    Join on RecId = VendInvoiceLineTemplate.RecId

    Zero or one VendInvoiceStandardLineTemplate record → exactly one VendInvoiceLineTemplate record

  • ProcurementCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many VendInvoiceStandardLineTemplate records → zero or one EcoResCategory record

  • PurchUnit → UnitOfMeasure

    Join on PurchUnit = UnitOfMeasure.Symbol

    Many VendInvoiceStandardLineTemplate records → zero or one UnitOfMeasure record

  • InventDim_InventDimId → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many VendInvoiceStandardLineTemplate records → zero or one InventDim record

Get this data out

No public entity reads from VendInvoiceStandardLineTemplate. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk