Table
MCRRoyaltyItemCode
Royalty code items
Lists the items, with inventory dimensions and unit, that belong to a royalty code on a royalty contract. The key is the royalty code, contract, item, dimension number and unit. It links to MCRRoyaltyTable and MCRRoyaltyContract.
- Table name
MCRRoyaltyItemCode- Module
Procurement and sourcing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
MCRRoyalty- Primary index
RoyaltyCode- Replacement key
RoyaltyCode- Key fields
RoyaltyCode, RoyaltyContract, ItemID, InventDimID, UnitID- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RoyaltyCodeRoyalty code that the item belongs to. | String (20)MCRRoyaltyCode | Yes | None | |
RoyaltyContractRoyalty contract that the royalty code belongs to. | String (20)MCRRoyaltyContractCode | Yes | None | |
ItemIDItem that is covered by the royalty code. | String (20)ItemId | Yes | InventTable.ItemId | MCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineProductSelectionEntity |
InventDimIDNumber that points to the inventory dimension combination of the item. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
UnitIDUnit of measure for the item. | StringUnitOfMeasureSymbol | Yes | UnitOfMeasure.Symbol | MCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineProductSelectionEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 |
Indexes (2)
RoyaltyCodePrimary indexReplacement keyRoyaltyCode,RoyaltyContract,ItemID,InventDimID,UnitIDUnique, alternate key.
ItemIdNot unique.
Relations (5)
Each relation joins MCRRoyaltyItemCode to another table on the fields shown.
InventDim→InventDimJoin on
InventDimID = InventDim.inventDimIdOne or more MCRRoyaltyItemCode records → exactly one InventDim record
InventTable→InventTableJoin on
ItemID = InventTable.ItemIdOne or more MCRRoyaltyItemCode records → exactly one InventTable record
MCRRoyaltyCode→MCRRoyaltyTableJoin on
RoyaltyCode = MCRRoyaltyTable.RoyaltyCodeMany MCRRoyaltyItemCode records → zero or one MCRRoyaltyTable record
MCRRoyaltyContract→MCRRoyaltyContractJoin on
RoyaltyContract = MCRRoyaltyContract.RoyaltyContractMany MCRRoyaltyItemCode records → zero or one MCRRoyaltyContract record
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany MCRRoyaltyItemCode records → exactly one UnitOfMeasure record
Get this data out
Tables are not exposed directly. These public entities read from MCRRoyaltyItemCode; use one of them in Power BI, Power Platform or a data management project.
MCRRoyaltyAgreementLineProductSelectionV2Entity· 2 fields from this tableMCRRoyaltyAgreementLineProductSelectionEntity· 2 fields from this table
Need help with MCRRoyaltyItemCode in a report, an integration or a migration? Talk to Dr Dynamics.