Table

MCRRoyaltyContract

Royalty contract

Holds royalty contracts, which are agreements with a vendor for royalty payments. Each record sets the period, currency, products and vendors covered, how sales are cumulated, and the accrual and expense accounts. It also records whether the contract was validated.

Table name
MCRRoyaltyContract
Module
Procurement and sourcing
Table group
Worksheet
Table type
Regular
Data per company
Yes
Configuration key
MCRRoyalty
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ApprovalRequiredYes or no flag that says whether approval is needed.Enum
NoYes (enum)
NoMCRRoyaltyAgreementHeaderEntity
CalcDatesType of date used for calculation: created, requested receipt or requested ship.Enum
MCRTradeCustCalcDates (enum)
NoMCRRoyaltyAgreementHeaderEntity
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
CumulateSalesByPeriod over which sales are added up: invoice, week, month, year or customised period.Enum
MCRRoyaltyCumulationPeriod (enum)
NoMCRRoyaltyAgreementHeaderEntity
CurrencyCurrency used by the contract.String (3)
CurrencyCode
NoCurrency.CurrencyCodeMCRRoyaltyAgreementHeaderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText that describes the contract.String (60)
Description
NoMCRRoyaltyAgreementHeaderEntity
EffectiveFromDateStart date of the contract.Date
MCREffectiveFromDate
NoMCRRoyaltyAgreementHeaderEntity
EffectiveToDateEnd date of the contract.Date
MCREffectiveToDate
NoMCRRoyaltyAgreementHeaderEntity
ItemRoyaltyCodeWhether the contract covers one item, an item group, all items or a selection.Enum
MCRItemRoyaltyCode (enum)
NoMCRRoyaltyAgreementHeaderEntity
ItemRoyaltyRelationItem or group, or selection, that the contract covers.String (20)
MCRItemRoyaltyRelation
NoMCRRoyaltyAgreementHeaderEntity
LedgerDimensionAccrual account, as a ledger dimension combination.Int64
MCRRoyaltyLedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdMCRRoyaltyAgreementHeaderEntity
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
OffsetLedgerDimensionExpense account, as a ledger dimension combination.Int64
MCRRoyaltyOffsetDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdMCRRoyaltyAgreementHeaderEntity
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
RoyaltyContractCode that identifies the royalty contract.String (20)
MCRRoyaltyContractCode
YesMCRRoyaltyAgreementHeaderEntityMCRRoyaltyAgreementHeaderProductSelectionV2EntityMCRRoyaltyAgreementHeaderProductSelectionEntity
RoyaltyCustomizedPeriodTypeProject period type used when sales are cumulated by a customised period.String
TAMRebateCustomizedPeriodType
NoProjPeriodTable.PeriodIdMCRRoyaltyAgreementHeaderEntity
RoyaltyDetailsFree text note about the contract.String (-1)
Notes
NoMCRRoyaltyAgreementHeaderEntity
RoyaltyLineBreakTypeWhether royalty lines are worked out by quantity or by amount.Enum
MCRRoyaltyLineBreakType (enum)
NoMCRRoyaltyAgreementHeaderEntity
RoyaltyTakenFromWhether the royalty is taken from gross or net.Enum
MCRRoyaltyTakenFrom (enum)
NoMCRRoyaltyAgreementHeaderEntityMCRRoyaltyAgreementLineAmountEntity
RoyaltyUOMOptionHow units are handled: convert or exact match.Enum
MCRRoyaltyUOMOption (enum)
NoMCRRoyaltyAgreementHeaderEntity
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 contract.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolMCRRoyaltyAgreementHeaderEntity
UnitTypeType of unit used: inventory unit or catch weight unit.Enum
MCRRoyaltyUnitType (enum)
YesMCRRoyaltyAgreementHeaderEntity
ValidatedYes or no flag that shows whether the contract has been validated.Enum
MCRRoyaltyValidated
NoYes (enum)
NoMCRRoyaltyAgreementHeaderEntity
VendAccountVendor account that the contract is with.String (20)
VendAccount
YesVendTable.AccountNumMCRRoyaltyAgreementHeaderEntityMCRRoyaltyAgreementHeaderProductSelectionV2EntityMCRRoyaltyAgreementHeaderProductSelectionEntity
VendRoyaltyCodeWhether the contract covers one vendor, a vendor group or all vendors.Enum
MCRVendRoyaltyCode
TableGroupAll (enum)
NoNone
VendRoyaltyRelationVendor or vendor group, or selection, that the contract covers.String (20)
MCRVendRoyaltyRelation
NoNone
VerifierWorker who validated the contract.Int64
MCRRoyaltyVerifier
NoHcmWorker.RecIdMCRRoyaltyAgreementHeaderEntity

Indexes (2)

Relations (7)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many MCRRoyaltyContract records → zero or one Currency record

  • CustomizedPeriodType → ProjPeriodTable

    Join on RoyaltyCustomizedPeriodType = ProjPeriodTable.PeriodId

    Many MCRRoyaltyContract records → zero or one ProjPeriodTable record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many MCRRoyaltyContract records → exactly one DimensionAttributeValueCombination record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many MCRRoyaltyContract records → exactly one DimensionAttributeValueCombination record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many MCRRoyaltyContract records → zero or one UnitOfMeasure record

  • VendAccount → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many MCRRoyaltyContract records → exactly one VendTable record

  • Verifier → HcmWorker

    Join on Verifier = HcmWorker.RecId

    Many MCRRoyaltyContract records → zero or one HcmWorker record

Get this data out

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

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

Email sales@drdynamics.co.uk