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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApprovalRequiredYes or no flag that says whether approval is needed. | EnumNoYes (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
CalcDatesType of date used for calculation: created, requested receipt or requested ship. | EnumMCRTradeCustCalcDates (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
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 | |
CumulateSalesByPeriod over which sales are added up: invoice, week, month, year or customised period. | EnumMCRRoyaltyCumulationPeriod (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
CurrencyCurrency used by the contract. | String (3)CurrencyCode | No | Currency.CurrencyCode | MCRRoyaltyAgreementHeaderEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionText that describes the contract. | String (60)Description | No | MCRRoyaltyAgreementHeaderEntity | |
EffectiveFromDateStart date of the contract. | DateMCREffectiveFromDate | No | MCRRoyaltyAgreementHeaderEntity | |
EffectiveToDateEnd date of the contract. | DateMCREffectiveToDate | No | MCRRoyaltyAgreementHeaderEntity | |
ItemRoyaltyCodeWhether the contract covers one item, an item group, all items or a selection. | EnumMCRItemRoyaltyCode (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
ItemRoyaltyRelationItem or group, or selection, that the contract covers. | String (20)MCRItemRoyaltyRelation | No | MCRRoyaltyAgreementHeaderEntity | |
LedgerDimensionAccrual account, as a ledger dimension combination. | Int64MCRRoyaltyLedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | MCRRoyaltyAgreementHeaderEntity |
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 | |
OffsetLedgerDimensionExpense account, as a ledger dimension combination. | Int64MCRRoyaltyOffsetDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | MCRRoyaltyAgreementHeaderEntity |
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 | |
RoyaltyContractCode that identifies the royalty contract. | String (20)MCRRoyaltyContractCode | Yes | MCRRoyaltyAgreementHeaderEntityMCRRoyaltyAgreementHeaderProductSelectionV2EntityMCRRoyaltyAgreementHeaderProductSelectionEntity | |
RoyaltyCustomizedPeriodTypeProject period type used when sales are cumulated by a customised period. | StringTAMRebateCustomizedPeriodType | No | ProjPeriodTable.PeriodId | MCRRoyaltyAgreementHeaderEntity |
RoyaltyDetailsFree text note about the contract. | String (-1)Notes | No | MCRRoyaltyAgreementHeaderEntity | |
RoyaltyLineBreakTypeWhether royalty lines are worked out by quantity or by amount. | EnumMCRRoyaltyLineBreakType (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
RoyaltyTakenFromWhether the royalty is taken from gross or net. | EnumMCRRoyaltyTakenFrom (enum) | No | MCRRoyaltyAgreementHeaderEntityMCRRoyaltyAgreementLineAmountEntity | |
RoyaltyUOMOptionHow units are handled: convert or exact match. | EnumMCRRoyaltyUOMOption (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
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 | |
UnitIDUnit of measure for the contract. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | MCRRoyaltyAgreementHeaderEntity |
UnitTypeType of unit used: inventory unit or catch weight unit. | EnumMCRRoyaltyUnitType (enum) | Yes | MCRRoyaltyAgreementHeaderEntity | |
ValidatedYes or no flag that shows whether the contract has been validated. | EnumMCRRoyaltyValidatedNoYes (enum) | No | MCRRoyaltyAgreementHeaderEntity | |
VendAccountVendor account that the contract is with. | String (20)VendAccount | Yes | VendTable.AccountNum | MCRRoyaltyAgreementHeaderEntityMCRRoyaltyAgreementHeaderProductSelectionV2EntityMCRRoyaltyAgreementHeaderProductSelectionEntity |
VendRoyaltyCodeWhether the contract covers one vendor, a vendor group or all vendors. | EnumMCRVendRoyaltyCodeTableGroupAll (enum) | No | None | |
VendRoyaltyRelationVendor or vendor group, or selection, that the contract covers. | String (20)MCRVendRoyaltyRelation | No | None | |
VerifierWorker who validated the contract. | Int64MCRRoyaltyVerifier | No | HcmWorker.RecId | MCRRoyaltyAgreementHeaderEntity |
Indexes (2)
RoyaltyCodeUnique.
ContractItemCodeValidatedRoyaltyContract,ItemRoyaltyCode,ValidatedNot unique.
Relations (7)
Each relation joins MCRRoyaltyContract to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany MCRRoyaltyContract records → zero or one Currency record
CustomizedPeriodType→ProjPeriodTableJoin on
RoyaltyCustomizedPeriodType = ProjPeriodTable.PeriodIdMany MCRRoyaltyContract records → zero or one ProjPeriodTable record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany MCRRoyaltyContract records → exactly one DimensionAttributeValueCombination record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany MCRRoyaltyContract records → exactly one DimensionAttributeValueCombination record
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany MCRRoyaltyContract records → zero or one UnitOfMeasure record
VendAccount→VendTableJoin on
VendAccount = VendTable.AccountNumMany MCRRoyaltyContract records → exactly one VendTable record
Verifier→HcmWorkerJoin on
Verifier = HcmWorker.RecIdMany 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.
MCRRoyaltyAgreementHeaderEntity· 22 fields from this tableMCRRoyaltyAgreementHeaderProductSelectionV2Entity· 2 fields from this tableMCRRoyaltyAgreementHeaderProductSelectionEntity· 2 fields from this tableMCRRoyaltyAgreementLineAmountEntity· 1 field from this table
Need help with MCRRoyaltyContract in a report, an integration or a migration? Talk to Dr Dynamics.