Table

MCRRoyaltyTable

Royalty table

Holds the royalty codes of a royalty contract. The key is the royalty code plus the contract. Each record sets the amount type, validity dates, currency, unit and vendor account.

Table name
MCRRoyaltyTable
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
MCRRoyalty
Primary index
None
Replacement key
RoyaltyCodeIdx
Key fields
RoyaltyCode, RoyaltyContract
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RoyaltyCodeCode that identifies the royalty within the contract.String (20)
MCRRoyaltyCode
YesMCRRoyaltyAgreementLineEntityMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineAmountEntityand 1 more
RoyaltyContractRoyalty contract that the code belongs to.String (20)
MCRRoyaltyContractCode
YesMCRRoyaltyAgreementLineEntityMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineAmountEntityand 1 more
CalcDatesType of date used for calculation: created, requested receipt or requested ship.Enum
MCRTradeCustCalcDates (enum)
NoMCRRoyaltyAgreementLineEntity
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
CurrencyCurrency used by the royalty code.String (3)
CurrencyCode
NoCurrency.CurrencyCodeMCRRoyaltyAgreementLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText that describes the royalty code.String (60)
Description
NoMCRRoyaltyAgreementLineEntity
EffectiveFromDateStart date of the royalty code.Date
MCREffectiveFromDate
NoMCRRoyaltyAgreementLineEntity
EffectiveToDateEnd date of the royalty code.Date
MCREffectiveToDate
NoMCRRoyaltyAgreementLineEntity
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
RoyaltyAmtTypeKind of amount used: amount per unit, fixed amount or percentage.Enum
MCRRoyaltyAmtType (enum)
NoMCRRoyaltyAgreementLineAmountEntity
RoyaltyDetailsFree text note about the royalty code.String (-1)
Notes
NoMCRRoyaltyAgreementLineEntity
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
UnitIDUnit of measure for the royalty code.String
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolMCRRoyaltyAgreementLineEntity
VendAccountVendor account linked to the royalty code.String (20)
VendAccount
NoVendTable.AccountNumMCRRoyaltyAgreementLineEntityMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineAmountEntityand 1 more

Indexes (2)

Relations (4)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many MCRRoyaltyTable records → zero or one Currency record

  • MCRRoyaltyContract → MCRRoyaltyContract

    Join on RoyaltyContract = MCRRoyaltyContract.RoyaltyContract

    Many MCRRoyaltyTable records → zero or one MCRRoyaltyContract record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many MCRRoyaltyTable records → exactly one UnitOfMeasure record

  • VendAccount → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many MCRRoyaltyTable records → zero or one VendTable record

Get this data out

Tables are not exposed directly. These public entities read from MCRRoyaltyTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk