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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
infocodeIdInfo code that the subcode belongs to. | StringRetailInfocodeId | Yes | RetailInfocodeTable.infocodeId | RetailInformationSubcodeEntityRetailInformationSubcodeTranslationEntity |
subcodeIdNumber that identifies the subcode. | StringRetailInformationSubcodeId | Yes | RetailInformationSubcodeEntityRetailInformationSubcodeTranslationEntity | |
amountPercentAmount or percentage linked to the subcode. | RealRetailAmountPercent | No | RetailInformationSubcodeEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
descriptionDescription of the subcode. | String (60)Description | No | RetailInformationSubcodeEntity | |
newSalesLineYes/No flag about adding a new sales line.low confidence | EnumRetailNewSalesLineNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
priceTypeHow the price is set: none, from product, a price or a percent. | EnumRetailPriceType (enum) | No | RetailInformationSubcodeEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
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 | |
triggerCodeCode that is triggered, such as a warehouse or info code, depending on the trigger function. | String (20)RetailTriggerCode | No | InventLocation.InventLocationIdRetailInfocode.infocodeId | RetailInformationSubcodeEntity |
triggerFunctionKind of action triggered: none, product, info code or warehouse for item return. | EnumRetailTriggerFunction (enum) | No | RetailInformationSubcodeEntity |
Indexes (1)
infocodeSubCodeIdxPrimary indexReplacement keyUnique, alternate key.
Relations (3)
Each relation joins RetailInformationSubcodeTable to another table on the fields shown.
InventLocation→InventLocationJoin on
triggerFunction = RetailTriggerFunction::InventLocationReturns,triggerCode = InventLocation.InventLocationIdMany RetailInformationSubcodeTable records → zero or one InventLocation record
RetailInfocode→RetailInfocodeJoin on
triggerFunction = RetailTriggerFunction::Infocode,triggerCode = RetailInfocode.infocodeIdMany RetailInformationSubcodeTable records → zero or one RetailInfocode record
RetailInfocodeTable→RetailInfocodeTableJoin on
infocodeId = RetailInfocodeTable.infocodeIdMany 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.
RetailInformationSubcodeEntity· 7 fields from this tableRetailInformationSubcodeTranslationEntity· 2 fields from this table
Need help with RetailInformationSubcodeTable in a report, an integration or a migration? Talk to Dr Dynamics.