Table

RetailInformationSubcodeTable

Subcode

Holds subcodes of retail info codes. Each is identified by the info code and a subcode number. A subcode carries a description, price type, amount or percent, and an optional trigger function and trigger code.

Table name
RetailInformationSubcodeTable
Module
Commerce
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
infocodeSubCodeIdx
Replacement key
infocodeSubCodeIdx
Key fields
infocodeId, subcodeId
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
infocodeIdInfo code that the subcode belongs to.String
RetailInfocodeId
YesRetailInfocodeTable.infocodeIdRetailInformationSubcodeEntityRetailInformationSubcodeTranslationEntity
subcodeIdNumber that identifies the subcode.String
RetailInformationSubcodeId
YesRetailInformationSubcodeEntityRetailInformationSubcodeTranslationEntity
amountPercentAmount or percentage linked to the subcode.Real
RetailAmountPercent
NoRetailInformationSubcodeEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
descriptionDescription of the subcode.String (60)
Description
NoRetailInformationSubcodeEntity
newSalesLineYes/No flag about adding a new sales line.low confidenceEnum
RetailNewSalesLine
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
priceTypeHow the price is set: none, from product, a price or a percent.Enum
RetailPriceType (enum)
NoRetailInformationSubcodeEntity
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
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
triggerCodeCode that is triggered, such as a warehouse or info code, depending on the trigger function.String (20)
RetailTriggerCode
NoInventLocation.InventLocationIdRetailInfocode.infocodeIdRetailInformationSubcodeEntity
triggerFunctionKind of action triggered: none, product, info code or warehouse for item return.Enum
RetailTriggerFunction (enum)
NoRetailInformationSubcodeEntity

Indexes (1)

Relations (3)

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

  • InventLocation → InventLocation

    Join on triggerFunction = RetailTriggerFunction::InventLocationReturns, triggerCode = InventLocation.InventLocationId

    Many RetailInformationSubcodeTable records → zero or one InventLocation record

  • RetailInfocode → RetailInfocode

    Join on triggerFunction = RetailTriggerFunction::Infocode, triggerCode = RetailInfocode.infocodeId

    Many RetailInformationSubcodeTable records → zero or one RetailInfocode record

  • RetailInfocodeTable → RetailInfocodeTable

    Join on infocodeId = RetailInfocodeTable.infocodeId

    Many RetailInformationSubcodeTable records → exactly one RetailInfocodeTable record

Get this data out

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

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

Email sales@drdynamics.co.uk