Data entity
RetailInfocodeAssociationEntity
Holds the assignments of info codes to other records, such as a table and up to three related field values. Each record has a sequence number, an input-required setting and a when-required setting. The key combines the reference table, the related fields and the info code number.
- Entity name
RetailInfocodeAssociationEntity- Public entity name
RetailInfocodeAssociation- OData collection
RetailInfocodeAssociations- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
RefTableId, RefRelation1, RefRelation2, RefRelation3, InfocodeId- Staging table
RetailInfocodeAssociationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailInfocodeAssociations- Dataverse virtual table
mserp_retailinfocodeassociationentity. 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
RetailInfocodeTableSpecific· root
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
InfocodeIdInfo code that is assigned. | StringRetailInfocodeIdBase | Yes | Yes | RetailInfocode.infocodeId | RetailInfocodeTableSpecific.infocodeId |
InputRequiredShows whether an answer is required for this assignment. | EnumRetailInputRequired
| No | Yes | RetailInfocodeTableSpecific.inputRequired | |
RefRelation1First related value, such as a customer account, item ID or affiliation name, depending on the reference table. | String (64)RetailInfocodeRefRelation | Yes | Yes | CustTable.AccountNumInventTable.ItemIdRetailAffiliation.NameRetailInventTable.itemId | RetailInfocodeTableSpecific.refRelation |
RefRelation2Second related value, such as an income or expense account number within a store. | String (64)RetailInfocodeRefRelation | No | Yes | RetailIncomeExpenseAccountTable.accountNum | RetailInfocodeTableSpecific.refRelation2 |
RefRelation3Third related value used to identify the assigned record. Its meaning is not given in the metadata.low confidence | String (64)RetailInfocodeRefRelation | No | Yes | RetailInfocodeTableSpecific.refRelation3 | |
RefTableIdType of record the info code is assigned to, such as item, customer, tender type, income/expense account or hierarchy. | EnumRetailInfocodeRefTableId
| Yes | Yes | RetailInfocodeTableSpecific.refTableId | |
SequenceNumber that sets the order of the assignments. | IntegerRetailInfocodeTableSpecificSequence | No | Yes | RetailInfocodeTableSpecific.sequence | |
WhenRequiredCondition for when the info code applies: never, always, or only for positive or negative amounts. | Enum
| No | Yes | RetailInfocodeTableSpecific.whenRequired |
Foreign keys (6)
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→RetailInfocode.infocodeId(key of RetailInfocode)Many RetailInfocodeTableSpecific records → exactly one RetailInfocode record
RetailInfocode details: see RetailInfocodeEntity, RetailInfocodeCategorySpecificEntity, RetailInfocodeGroupEntity
RefRelation1→CustTable.AccountNum(key of CustTable)Relation also requires refTableId = RetailInfocodeRefTableIdBase::RetailCustTable.
Many RetailInfocodeTableSpecific records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
RefRelation1→InventTable.ItemId(key of InventTable)Relation also requires refTableId = RetailInfocodeRefTableIdBase::InventTable.
Many RetailInfocodeTableSpecific records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
RefRelation1→RetailAffiliation.Name(key of RetailAffiliation)Relation also requires refTableId = RetailInfocodeRefTableIdBase::RetailAffiliation.
Many RetailInfocodeTableSpecific records → zero or one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierEntity, RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity
RefRelation1→RetailInventTable.itemId(key of RetailInventTable)Relation also requires refTableId = RetailInfocodeRefTableIdBase::RetailInventTable.
Many RetailInfocodeTableSpecific records → zero or one RetailInventTable record
RetailInventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, EcoResReleasedDistinctProductV2Entity
RefRelation2→RetailIncomeExpenseAccountTable.accountNum(key of RetailIncomeExpenseAccountTable)Join on all of:
RefRelation2=RetailIncomeExpenseAccountTable.accountNum,RefRelation1=RetailIncomeExpenseAccountTable.storeIdRelation also requires refTableId = RetailInfocodeRefTableIdBase::RetailIncomeExpenseAccountTable.
Many RetailInfocodeTableSpecific records → zero or one RetailIncomeExpenseAccountTable record
RetailIncomeExpenseAccountTable details: see RetailIncomeExpenseAccountEntity
Need help with RetailInfocodeAssociationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.