Table

MarkupTable

Charges code

Holds the setup of charges codes, keyed by charges module and code. Each code can define debit and credit accounts, a sales tax group, limits and options for matching. It also has country-specific fields for Brazil, Mexico, Russia, Saudi Arabia, Italy and Thailand.

Table name
MarkupTable
Module
Procurement and sourcing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Markup
Primary index
ModuleCodeIdx
Replacement key
ModuleCodeIdx
Key fields
ModuleType, MarkupCode
Model
Foundation

Fields (34)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ModuleTypeCharges module the code belongs to, such as customer, vendor or delivery.Enum
MarkupModule
MarkupModuleType (enum)
NoMarkupTableBiEntityMarkupTableCDREntityMarkupChargesToleranceEntity
MarkupCodeCode that identifies the charge.String
MarkupCode
YesPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more
CustomerLedgerDimensionDebit account for the charge. It points to a dimension account combination.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 1 more
CustomPaymType_RUType of customs payment, such as duty or storage fee. Used for Russia.Enum
CustomPaymType_RU (enum)
NoMarkupTableBiEntityMarkupTableCDREntity
CustPostingKind of ledger posting type set for the debit side.Enum
LedgerPostingType (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more
CustTypeKind of debit target: item, ledger account or customer/vendor.Enum
MarkupType (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoMarkupTableBiEntityMarkupTableCDREntity
IncludeIntoIntrastatInvoiceValueYes/no flag to include the charge in the Intrastat invoice value.Enum
NoYes (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more
IncludeIntoIntrastatStatisticalValueYes/no flag to include the charge in the Intrastat statistical value.Enum
NoYes (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more
IsLetterOfCredit_SAShows whether this is a bank document charge code. Used for Saudi Arabia.Enum
BankLCImportIsLCChargeCode_SA
NoYes (enum)
NoMarkupTableBiEntityMarkupTableCDREntityMarkupChargesToleranceEntity
IsShippingYes/no flag that marks the charge as a shipping charge.Enum
RetailAutoChargeIsShippingCharge
NoYes (enum)
NoMarkupTableBiEntityMarkupTableCDREntity
MarkupClassification_BRClassification of the charge, such as freight or insurance. Used for Brazil.Enum
MarkupClassification_BR (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more
MaxAmountUpper limit amount for the charge (in accounting currency).Real
AmountMST
NoPurchProcurementChargeEntityMarkupTableBiEntityMarkupTableCDREntityand 1 more
MCRBrokerContractFeeYes/no flag that marks the charge as a broker contract fee.Enum
NoYes (enum)
NoMarkupTableBiEntityMarkupTableCDREntity
MCRProRateYes/no flag for prorating the charge.Enum
NoYes (enum)
NoSalesChargeEntityMarkupTableBiEntityMarkupTableCDREntityand 2 more
PackedExtensionsPacked container that stores extension data for the record.Container
SysExtensionSerializerPackedContainer
NoNone
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
NoMarkupTableBiEntityMarkupTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoMarkupTableBiEntity
RefundableYes/no flag showing whether the charge can be refunded.Enum
RetailAutoChargeRefundable
NoYes (enum)
NoMarkupTableBiEntityMarkupTableCDREntity
SATProductCode_MXExternal SAT product classification code for the charge. Used for Mexico.String
SATProductCode_MX
NoMarkupTableBiEntityMarkupTableCDREntity
SATUnitCode_MXExternal SAT unit classification code for the charge. Used for Mexico.String
SATUnitCode_MX
NoMarkupTableBiEntityMarkupTableCDREntity
SkipInFreeInvoices_ITYes/no flag to leave the charge out of free invoices. Used for Italy.Enum
NoYes (enum)
NoMarkupTableBiEntityMarkupTableCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxItemGroupItem sales tax group linked to the charge. It points to the item sales tax group record.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more
TaxRateTypeTax rate type linked to the charge. It points to a tax rate type record.Int64
RefRecId
NoTaxRateType.RecIdMarkupTableBiEntityMarkupTableCDREntity
TaxWithholdItemGroupItem withholding tax group linked to the charge. Used for Thailand.Int64
TaxWithholdItemGroupId_TH
NoTaxWithholdItemGroupHeading_TH.RecIdMarkupTableBiEntityMarkupTableCDREntity
TxtDescription of the charges code.String (60)
TransTxt
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more
UseCustPostingTypeTransit_RUYes/no flag to use a transit account. Used for Russia.Enum
NoYes (enum)
NoMarkupTableBiEntityMarkupTableCDREntity
UseInMatchingShows whether the charge is included when purchase order and invoice values are compared.Enum
MarkupUseInMatching
NoYes (enum)
NoPurchProcurementChargeEntityMarkupTableBiEntityMarkupTableCDREntityand 1 more
VendorLedgerDimensionCredit account for the charge. It points to a dimension account combination.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 1 more
VendPostingKind of ledger posting type set for the credit side.Enum
LedgerPostingType (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more
VendTypeKind of credit target: item, ledger account or customer/vendor.Enum
MarkupType (enum)
NoPurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more

Indexes (3)

Relations (7)

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

  • CustomerLedgerDimension → DimensionAttributeValueCombination

    Join on CustomerLedgerDimension = DimensionAttributeValueCombination.RecId

    Many MarkupTable records → zero or one DimensionAttributeValueCombination record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many MarkupTable records → zero or one TaxItemGroupHeading record

  • VendorLedgerDimension → DimensionAttributeValueCombination

    Join on VendorLedgerDimension = DimensionAttributeValueCombination.RecId

    Many MarkupTable records → zero or one DimensionAttributeValueCombination record

  • SATProductCode_MX → EInvoiceExtCodeTable_MX

    Join on SATProductCode_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 1

    Exactly one MarkupTable record → exactly one EInvoiceExtCodeTable_MX record

  • SATUnitCode_MX → EInvoiceExtCodeTable_MX

    Join on SATUnitCode_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = 2

    Exactly one MarkupTable record → exactly one EInvoiceExtCodeTable_MX record

  • TaxRateType → TaxRateType

    Join on TaxRateType = TaxRateType.RecId

    Many MarkupTable records → zero or one TaxRateType record

  • TaxWithholdItemGroupHeading → TaxWithholdItemGroupHeading_TH

    Join on TaxWithholdItemGroup = TaxWithholdItemGroupHeading_TH.RecId

    Many MarkupTable records → zero or one TaxWithholdItemGroupHeading_TH record

Get this data out

Tables are not exposed directly. These public entities read from MarkupTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk