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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CurrencyCodeCurrency of the charge.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the charge.String (60)
Description
NoNone
LineNumLine number that orders the charge lines.Real
LineNum
NoNone
MarkupCategoryKind of charge, such as fixed, percent, per piece or external.Enum
MarkupCategoryType
MarkupCategory (enum)
NoNone
MarkupCodeCharges code that identifies the charge. It is matched together with the charges module.String
MarkupCode
YesMarkupTable.MarkupCodeNone
ModuleTypeModule the charge applies to: inventory, customer, vendor or delivery.Enum
MarkupModule
MarkupModuleType (enum)
NoMarkupTable.ModuleTypeNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupSales tax group applied to the charge.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group applied to the charge.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TransRecIdRecord ID of the vendor invoice template that owns the charge.Int64
MarkupTransRefRecId
NoNone
TransTableIdTable ID of the table that TransRecId points to.Integer
MarkupTransRefTableId
NoNone
ValueValue of the charge. How it is read depends on the charge category.Real
MarkupValue
NoNone

Indexes (1)

Relations (5)

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

  • Currency_CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many VendInvoiceTableMarkupTransTemplate records → exactly one Currency record

  • MarkupTable → MarkupTable

    Join on MarkupCode = MarkupTable.MarkupCode, ModuleType = MarkupTable.ModuleType

    Many VendInvoiceTableMarkupTransTemplate records → zero or one MarkupTable record

  • VendInvoiceTemplate → VendInvoiceTemplate

    Join on TransRecId = VendInvoiceTemplate.RecId, TransTableId = VendInvoiceTemplate.TableId

    Zero or one VendInvoiceTableMarkupTransTemplate record → exactly one VendInvoiceTemplate record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many VendInvoiceTableMarkupTransTemplate records → zero or one TaxItemGroupHeading record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

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

Email sales@drdynamics.co.uk