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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RoyaltyCodeRoyalty code that the item belongs to.String (20)
MCRRoyaltyCode
YesNone
RoyaltyContractRoyalty contract that the royalty code belongs to.String (20)
MCRRoyaltyContractCode
YesNone
ItemIDItem that is covered by the royalty code.String (20)
ItemId
YesInventTable.ItemIdMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineProductSelectionEntity
InventDimIDNumber that points to the inventory dimension combination of the item.String (20)
InventDimId
YesInventDim.inventDimIdNone
UnitIDUnit of measure for the item.String
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineProductSelectionEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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

Indexes (2)

Relations (5)

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

  • InventDim → InventDim

    Join on InventDimID = InventDim.inventDimId

    One or more MCRRoyaltyItemCode records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemID = InventTable.ItemId

    One or more MCRRoyaltyItemCode records → exactly one InventTable record

  • MCRRoyaltyCode → MCRRoyaltyTable

    Join on RoyaltyCode = MCRRoyaltyTable.RoyaltyCode

    Many MCRRoyaltyItemCode records → zero or one MCRRoyaltyTable record

  • MCRRoyaltyContract → MCRRoyaltyContract

    Join on RoyaltyContract = MCRRoyaltyContract.RoyaltyContract

    Many MCRRoyaltyItemCode records → zero or one MCRRoyaltyContract record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many 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.

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

Email sales@drdynamics.co.uk