Data entity
RetailInformationSubcodeEntity
Holds subcodes of info codes. The key is the info code number plus the subcode number. Each subcode has a description, a price type, an amount or percent, and a trigger code and trigger function.
- Entity name
RetailInformationSubcodeEntity- Public entity name
RetailInformationSubcode- OData collection
RetailInformationSubcodes- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
InfocodeId, SubcodeId- Staging table
RetailInformationSubcodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailInformationSubcodes- Dataverse virtual table
mserp_retailinformationsubcodeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailInformationSubcodeTable· root
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountPercentAmount or percentage linked to the subcode. | RealRetailAmountPercent | No | Yes | RetailInformationSubcodeTable.amountPercent | |
DescriptionDescription of the subcode. | String (60)Description | No | Yes | RetailInformationSubcodeTable.description | |
InfocodeIdInfo code that the subcode belongs to. | StringRetailInfocodeId | Yes | Yes | RetailInfocodeTable.infocodeId | RetailInformationSubcodeTable.infocodeId |
PriceTypeHow the price is set: none, from product, a price or a percent. | Enum
| No | Yes | RetailInformationSubcodeTable.priceType | |
SubcodeIdNumber that identifies the subcode. | StringRetailInformationSubcodeId | Yes | Yes | RetailInformationSubcodeTable.subcodeId | |
TriggerCodeCode that is triggered, such as a warehouse or info code, depending on the trigger function. | String (20)RetailTriggerCode | No | Yes | InventLocation.InventLocationIdRetailInfocode.infocodeId | RetailInformationSubcodeTable.triggerCode |
TriggerFunctionKind of action triggered: none, product, info code or warehouse for item return. | Enum
| No | Yes | RetailInformationSubcodeTable.triggerFunction |
Foreign keys (3)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
InfocodeId→RetailInfocodeTable.infocodeId(key of RetailInfocodeTable)Many RetailInformationSubcodeTable records → exactly one RetailInfocodeTable record
RetailInfocodeTable details: see RetailInfocodeTranslationEntity, RetailInfocodeEntity
TriggerCode→InventLocation.InventLocationId(key of InventLocation)Relation also requires triggerFunction = RetailTriggerFunction::InventLocationReturns.
Many RetailInformationSubcodeTable records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
TriggerCode→RetailInfocode.infocodeId(key of RetailInfocode)Relation also requires triggerFunction = RetailTriggerFunction::Infocode.
Many RetailInformationSubcodeTable records → zero or one RetailInfocode record
RetailInfocode details: see RetailInfocodeEntity, RetailInfocodeCategorySpecificEntity, RetailInfocodeGroupEntity
Need help with RetailInformationSubcodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.