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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDistributionTemplatePoints to the accounting distribution template used for this line. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
AmountDetailsFree-text details about the line amount. | String (-1)AmountDetails | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the set of financial dimension values that apply to the line by default. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
IntrastatCommodityPoints to the product category used as the Intrastat commodity. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | None |
InventDimIdPoints to the inventory dimension combination for the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemCodeIdCommodity code. The EDT name marks it as deprecated.low confidence | StringDEL_IntrastatItemCodeId | No | None | |
ItemIdItem number of the product on the line. | String (20)ItemId | No | None | |
LineTxtFree text that describes the invoice line. | String (-1)Notes | No | None | |
OrigCountryRegionIdCountry or region where the item originates. | StringItemOrigCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
OrigStateState where the item originates, matched together with the country or region of origin. | StringItemOrigStateId | No | LogisticsAddressState.StateId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PortIntrastat port code for the line. | StringIntrastatPortId | No | IntrastatPort.PortId | None |
ProcurementCategoryPoints to the procurement category of the line. | Int64PurchCategory | No | EcoResCategory.RecId | None |
ProjCategoryIdProject category for the line. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
ProjIdProject the line is charged to. | String (20)ProjId | No | ProjTable.ProjId | None |
PurchUnitPurchase unit of measure for the line. | StringPurchUnit | No | UnitOfMeasure.Symbol | None |
QuantityInvoiced quantity on the line. | RealInvoiceQuantity | 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 | |
StatProcIdIntrastat statistics procedure code for the line. | StringIntrastatProcId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCodeIntrastat transaction code for the line. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | None |
TransportIntrastat transport mode for the line. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | None |
UnitPricePrice per unit on the invoice line. | RealInvoiceUnitPrice | No | None | |
WeightTotal weight of the goods on the line. | RealWeight | No | None |
Relations (15)
Each relation joins VendInvoiceStandardLineTemplate to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany VendInvoiceStandardLineTemplate records → zero or one AccountingDistributionTemplate record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany VendInvoiceStandardLineTemplate records → zero or one DimensionAttributeValueSet record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany VendInvoiceStandardLineTemplate records → zero or one EcoResCategory record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany VendInvoiceStandardLineTemplate records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany VendInvoiceStandardLineTemplate records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany VendInvoiceStandardLineTemplate records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany VendInvoiceStandardLineTemplate records → zero or one IntrastatTransportMode record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany VendInvoiceStandardLineTemplate records → zero or one LogisticsAddressCountryRegion record
OrigState→LogisticsAddressStateJoin on
OrigCountryRegionId = LogisticsAddressState.CountryRegionId,OrigState = LogisticsAddressState.StateIdMany VendInvoiceStandardLineTemplate records → zero or one LogisticsAddressState record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany VendInvoiceStandardLineTemplate records → zero or one ProjCategory record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany VendInvoiceStandardLineTemplate records → zero or one ProjTable record
VendInvoiceLineTemplate→VendInvoiceLineTemplateJoin on
RecId = VendInvoiceLineTemplate.RecIdZero or one VendInvoiceStandardLineTemplate record → exactly one VendInvoiceLineTemplate record
ProcurementCategory→EcoResCategoryJoin on
ProcurementCategory = EcoResCategory.RecIdMany VendInvoiceStandardLineTemplate records → zero or one EcoResCategory record
PurchUnit→UnitOfMeasureJoin on
PurchUnit = UnitOfMeasure.SymbolMany VendInvoiceStandardLineTemplate records → zero or one UnitOfMeasure record
InventDim_InventDimId→InventDimJoin on
InventDimId = InventDim.inventDimIdMany 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.