Table

RetailTransactionMarkupTransHistory

Archived commerce charge transactions

Archived charges (markups) applied to retail transactions or their sales lines. Each record holds the charge code, category and value, the related sales tax details and the currency. It also has fields used for India, such as HSN code and service accounting code.

Table name
RetailTransactionMarkupTransHistory
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (40)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CalculatedAmountCalculated value of the charge; the currency is probably the one in the currency code field.Real
AmountCur
NoNone
ChannelRecord ID of the channel the transaction belongs to.Int64
RefRecId
NoNone
CurrencyCodeCode of the currency used for the charge.String (3)
CurrencyCode
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree text describing the charge.String (512)
TransactionTextLarge
NoNone
Exempt_INYes or No flag for tax exemption, used for India.Enum
TaxExemptTax
NoYes (enum)
NoNone
HSNCode_INHarmonised System (HSN) code of the goods, used for India.String
HSNCode_IN
NoNone
IsOverriddenLineYes or No flag showing that a user changed the charge by hand.Enum
RetailIsOverriddenCharge
NoYes (enum)
NoNone
ITCCategory_INInput tax credit category, such as input, capital goods or others, used for India.Enum
ITCCategory_IN (enum)
NoNone
KeepYes or No flag for the charge's Keep setting.Enum
MarkupKeep
NoYes (enum)
NoNone
MarkupAutoLineRecIdRecord ID of the automatic charge line the entry came from.Int64
RetailMarkupAutoLineRecId
NoNone
MarkupAutoTableRecIdRecord ID of the automatic charge the entry came from.Int64
RetailMarkupAutoRecId
NoNone
MarkupCodeCode of the charge.String
MarkupCode
YesNone
markupLineNumLine number of the charge record.Real
LineNum
NoNone
MethodCategory of the charge, such as fixed, percent or external.Enum
MarkupCategoryType
MarkupCategory (enum)
NoNone
ModuleTypeArea the charge belongs to: inventory, customer, vendor or delivery.Enum
MarkupModule
MarkupModuleType (enum)
NoNone
NonGST_INYes or No flag marking the charge as non-GST, used for India.Enum
NonGST_IN
NoYes (enum)
NoNone
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
replicationCounterFromOriginCounter value used when the record is replicated from its originating location.Integer
RetailReplicationCounter
NoNone
saleLineNumLine number of the sales line the charge applies to.Real
RetailTransactionSalesLineNum
NoNone
ServiceAccountingCode_INService accounting code (SAC), used for India.String
SAC_IN
NoNone
ServiceCategory_INService category, such as inward or inter-unit, used for India.Enum
ServiceCategory_IN (enum)
NoNone
storeNumber of the store where the transaction took place.String
RetailStoreId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidenceInt64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount on the charge; currency not stated in the metadata.Real
TaxAmountCur
NoNone
TaxAmountExclusiveTax amount field labelled as the inclusive tax amount; the name and label disagree. Currency not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
TaxAmountInclusiveTax amount field labelled as the exclusive tax amount; the name and label disagree. Currency not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
TaxExemptPriceInclusiveOriginalPriceLine price before the tax exemption, for prices that include tax.Real
RetailTaxExemptOriginalPrice
NoNone
TaxExemptPriceInclusiveReductionAmountAmount of tax that was exempted, for prices that include tax.Real
RetailTaxExemptReductionAmount
NoNone
TaxGroupSales tax group applied to the charge.String
TaxGroup
NoNone
TaxItemGroupItem sales tax group applied to the charge.String
TaxItemGroup
NoNone
TaxRateTypeName of the tax rate type.String (60)
TaxRateTypeName
NoNone
terminalIdNumber of the register used for the transaction.String
RetailTerminalId
NoNone
transactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesNone
ValueValue of the charge, such as a fixed amount or a percentage depending on the category.Real
MarkupValue
NoNone

Indexes (2)

Get this data out

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

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

Email sales@drdynamics.co.uk