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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ModuleTypeCharges module the code belongs to, such as customer, vendor or delivery. | EnumMarkupModuleMarkupModuleType (enum) | No | MarkupTableBiEntityMarkupTableCDREntityMarkupChargesToleranceEntity | |
MarkupCodeCode that identifies the charge. | StringMarkupCode | Yes | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more | |
CustomerLedgerDimensionDebit account for the charge. It points to a dimension account combination. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 1 more |
CustomPaymType_RUType of customs payment, such as duty or storage fee. Used for Russia. | EnumCustomPaymType_RU (enum) | No | MarkupTableBiEntityMarkupTableCDREntity | |
CustPostingKind of ledger posting type set for the debit side. | EnumLedgerPostingType (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more | |
CustTypeKind of debit target: item, ledger account or customer/vendor. | EnumMarkupType (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | MarkupTableBiEntityMarkupTableCDREntity | |
IncludeIntoIntrastatInvoiceValueYes/no flag to include the charge in the Intrastat invoice value. | EnumNoYes (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more | |
IncludeIntoIntrastatStatisticalValueYes/no flag to include the charge in the Intrastat statistical value. | EnumNoYes (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more | |
IsLetterOfCredit_SAShows whether this is a bank document charge code. Used for Saudi Arabia. | EnumBankLCImportIsLCChargeCode_SANoYes (enum) | No | MarkupTableBiEntityMarkupTableCDREntityMarkupChargesToleranceEntity | |
IsShippingYes/no flag that marks the charge as a shipping charge. | EnumRetailAutoChargeIsShippingChargeNoYes (enum) | No | MarkupTableBiEntityMarkupTableCDREntity | |
MarkupClassification_BRClassification of the charge, such as freight or insurance. Used for Brazil. | EnumMarkupClassification_BR (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more | |
MaxAmountUpper limit amount for the charge (in accounting currency). | RealAmountMST | No | PurchProcurementChargeEntityMarkupTableBiEntityMarkupTableCDREntityand 1 more | |
MCRBrokerContractFeeYes/no flag that marks the charge as a broker contract fee. | EnumNoYes (enum) | No | MarkupTableBiEntityMarkupTableCDREntity | |
MCRProRateYes/no flag for prorating the charge. | EnumNoYes (enum) | No | SalesChargeEntityMarkupTableBiEntityMarkupTableCDREntityand 2 more | |
PackedExtensionsPacked container that stores extension data for the record. | ContainerSysExtensionSerializerPackedContainer | No | 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 | MarkupTableBiEntityMarkupTableCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | MarkupTableBiEntity | |
RefundableYes/no flag showing whether the charge can be refunded. | EnumRetailAutoChargeRefundableNoYes (enum) | No | MarkupTableBiEntityMarkupTableCDREntity | |
SATProductCode_MXExternal SAT product classification code for the charge. Used for Mexico. | StringSATProductCode_MX | No | MarkupTableBiEntityMarkupTableCDREntity | |
SATUnitCode_MXExternal SAT unit classification code for the charge. Used for Mexico. | StringSATUnitCode_MX | No | MarkupTableBiEntityMarkupTableCDREntity | |
SkipInFreeInvoices_ITYes/no flag to leave the charge out of free invoices. Used for Italy. | EnumNoYes (enum) | No | MarkupTableBiEntityMarkupTableCDREntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxItemGroupItem sales tax group linked to the charge. It points to the item sales tax group record. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more |
TaxRateTypeTax rate type linked to the charge. It points to a tax rate type record. | Int64RefRecId | No | TaxRateType.RecId | MarkupTableBiEntityMarkupTableCDREntity |
TaxWithholdItemGroupItem withholding tax group linked to the charge. Used for Thailand. | Int64TaxWithholdItemGroupId_TH | No | TaxWithholdItemGroupHeading_TH.RecId | MarkupTableBiEntityMarkupTableCDREntity |
TxtDescription of the charges code. | String (60)TransTxt | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 6 more | |
UseCustPostingTypeTransit_RUYes/no flag to use a transit account. Used for Russia. | EnumNoYes (enum) | No | MarkupTableBiEntityMarkupTableCDREntity | |
UseInMatchingShows whether the charge is included when purchase order and invoice values are compared. | EnumMarkupUseInMatchingNoYes (enum) | No | PurchProcurementChargeEntityMarkupTableBiEntityMarkupTableCDREntityand 1 more | |
VendorLedgerDimensionCredit account for the charge. It points to a dimension account combination. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 1 more |
VendPostingKind of ledger posting type set for the credit side. | EnumLedgerPostingType (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more | |
VendTypeKind of credit target: item, ledger account or customer/vendor. | EnumMarkupType (enum) | No | PurchProcurementChargeEntitySalesChargeEntityMarkupTableBiEntityand 5 more |
Indexes (3)
ModuleCodeIdxPrimary indexReplacement keyUnique, alternate key.
BankLCImportIsForLC_SAIdxNot unique.
CustomPaymType_RUIdxNot unique.
Relations (7)
Each relation joins MarkupTable to another table on the fields shown.
CustomerLedgerDimension→DimensionAttributeValueCombinationJoin on
CustomerLedgerDimension = DimensionAttributeValueCombination.RecIdMany MarkupTable records → zero or one DimensionAttributeValueCombination record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany MarkupTable records → zero or one TaxItemGroupHeading record
VendorLedgerDimension→DimensionAttributeValueCombinationJoin on
VendorLedgerDimension = DimensionAttributeValueCombination.RecIdMany MarkupTable records → zero or one DimensionAttributeValueCombination record
SATProductCode_MX→EInvoiceExtCodeTable_MXJoin on
SATProductCode_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 1Exactly one MarkupTable record → exactly one EInvoiceExtCodeTable_MX record
SATUnitCode_MX→EInvoiceExtCodeTable_MXJoin on
SATUnitCode_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 2Exactly one MarkupTable record → exactly one EInvoiceExtCodeTable_MX record
TaxRateType→TaxRateTypeJoin on
TaxRateType = TaxRateType.RecIdMany MarkupTable records → zero or one TaxRateType record
TaxWithholdItemGroupHeading→TaxWithholdItemGroupHeading_THJoin on
TaxWithholdItemGroup = TaxWithholdItemGroupHeading_TH.RecIdMany 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.
PurchProcurementChargeEntity· 14 fields from this tableSalesChargeEntity· 13 fields from this tableMarkupTableBiEntity· 30 fields from this tableMarkupTableCDREntity· 29 fields from this tableInventoryChargeCDSEntity· 10 fields from this tableMarkupChargesToleranceEntity· 6 fields from this tablePurchProcurementChargeCDSEntity· 12 fields from this tableSalesChargeCDSEntity· 11 fields from this tableSalesDeliveryChargeCDSEntity· 11 fields from this tableBusinessDocumentMarkupTransactionEntity· 1 field from this table
Need help with MarkupTable in a report, an integration or a migration? Talk to Dr Dynamics.