Table

VendInvoiceMarkupTransTemplate

Vendor invoice line charge template

Holds charges for a line of a vendor invoice template. Each row has a charges code, category, module and currency. It links to the template line, the charges code table and the currency table. It has no defined key.

Table name
VendInvoiceMarkupTransTemplate
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 (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CurrencyCodeCurrency code for the charge.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
LineRefRecIdLink to the vendor invoice line template record this charge belongs to.Int64
RefRecId
YesVendInvoiceLineTemplate.RecIdNone
MarkupCategoryKind of charge, such as fixed, percent or proportional.Enum
MarkupCategoryType
MarkupCategory (enum)
NoNone
MarkupCodeCharges code, which points to a charges code record together with the 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

Indexes (1)

Relations (3)

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

  • Currency_CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many VendInvoiceMarkupTransTemplate records → exactly one Currency record

  • MarkupTable → MarkupTable

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

    Many VendInvoiceMarkupTransTemplate records → zero or one MarkupTable record

  • VendInvoiceLineTemplate → VendInvoiceLineTemplate

    Join on LineRefRecId = VendInvoiceLineTemplate.RecId

    Zero or one VendInvoiceMarkupTransTemplate record → exactly one VendInvoiceLineTemplate record

Get this data out

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

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

Email sales@drdynamics.co.uk