Table
VendInvoiceTableMarkupTransTemplate
Vendor invoice header charge template
Holds charge lines for a vendor invoice template header. Each line has a charges code, category, value, currency and sales tax groups. It refers back to a vendor invoice template through a record ID and table ID pair.
- Table name
VendInvoiceTableMarkupTransTemplate- 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
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrencyCodeCurrency of the charge. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the charge. | String (60)Description | No | None | |
LineNumLine number that orders the charge lines. | RealLineNum | No | None | |
MarkupCategoryKind of charge, such as fixed, percent, per piece or external. | EnumMarkupCategoryTypeMarkupCategory (enum) | No | None | |
MarkupCodeCharges code that identifies the charge. It is matched together with the charges module. | StringMarkupCode | Yes | MarkupTable.MarkupCode | None |
ModuleTypeModule the charge applies to: inventory, customer, vendor or delivery. | EnumMarkupModuleMarkupModuleType (enum) | No | MarkupTable.ModuleType | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupSales tax group applied to the charge. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group applied to the charge. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TransRecIdRecord ID of the vendor invoice template that owns the charge. | Int64MarkupTransRefRecId | No | None | |
TransTableIdTable ID of the table that TransRecId points to. | IntegerMarkupTransRefTableId | No | None | |
ValueValue of the charge. How it is read depends on the charge category. | RealMarkupValue | No | None |
Indexes (1)
MarkupCodeIdxNot unique.
Relations (5)
Each relation joins VendInvoiceTableMarkupTransTemplate to another table on the fields shown.
Currency_CurrencyCode→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany VendInvoiceTableMarkupTransTemplate records → exactly one Currency record
MarkupTable→MarkupTableJoin on
MarkupCode = MarkupTable.MarkupCode,ModuleType = MarkupTable.ModuleTypeMany VendInvoiceTableMarkupTransTemplate records → zero or one MarkupTable record
VendInvoiceTemplate→VendInvoiceTemplateJoin on
TransRecId = VendInvoiceTemplate.RecId,TransTableId = VendInvoiceTemplate.TableIdZero or one VendInvoiceTableMarkupTransTemplate record → exactly one VendInvoiceTemplate record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany VendInvoiceTableMarkupTransTemplate records → zero or one TaxItemGroupHeading record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany VendInvoiceTableMarkupTransTemplate records → zero or one TaxGroupHeading record
Get this data out
No public entity reads from VendInvoiceTableMarkupTransTemplate. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendInvoiceTableMarkupTransTemplate in a report, an integration or a migration? Talk to Dr Dynamics.