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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RoyaltyCodeCode that identifies the royalty within the contract. | String (20)MCRRoyaltyCode | Yes | MCRRoyaltyAgreementLineEntityMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineAmountEntityand 1 more | |
RoyaltyContractRoyalty contract that the code belongs to. | String (20)MCRRoyaltyContractCode | Yes | MCRRoyaltyAgreementLineEntityMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineAmountEntityand 1 more | |
CalcDatesType of date used for calculation: created, requested receipt or requested ship. | EnumMCRTradeCustCalcDates (enum) | No | MCRRoyaltyAgreementLineEntity | |
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 | |
CurrencyCurrency used by the royalty code. | String (3)CurrencyCode | No | Currency.CurrencyCode | MCRRoyaltyAgreementLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionText that describes the royalty code. | String (60)Description | No | MCRRoyaltyAgreementLineEntity | |
EffectiveFromDateStart date of the royalty code. | DateMCREffectiveFromDate | No | MCRRoyaltyAgreementLineEntity | |
EffectiveToDateEnd date of the royalty code. | DateMCREffectiveToDate | No | MCRRoyaltyAgreementLineEntity | |
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 | |
RoyaltyAmtTypeKind of amount used: amount per unit, fixed amount or percentage. | EnumMCRRoyaltyAmtType (enum) | No | MCRRoyaltyAgreementLineAmountEntity | |
RoyaltyDetailsFree text note about the royalty code. | String (-1)Notes | No | MCRRoyaltyAgreementLineEntity | |
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 royalty code. | StringUnitOfMeasureSymbol | Yes | UnitOfMeasure.Symbol | MCRRoyaltyAgreementLineEntity |
VendAccountVendor account linked to the royalty code. | String (20)VendAccount | No | VendTable.AccountNum | MCRRoyaltyAgreementLineEntityMCRRoyaltyAgreementLineProductSelectionV2EntityMCRRoyaltyAgreementLineAmountEntityand 1 more |
Indexes (2)
RoyaltyCodeIdxReplacement keyUnique, alternate key.
RoyaltyNot unique.
Relations (4)
Each relation joins MCRRoyaltyTable to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany MCRRoyaltyTable records → zero or one Currency record
MCRRoyaltyContract→MCRRoyaltyContractJoin on
RoyaltyContract = MCRRoyaltyContract.RoyaltyContractMany MCRRoyaltyTable records → zero or one MCRRoyaltyContract record
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany MCRRoyaltyTable records → exactly one UnitOfMeasure record
VendAccount→VendTableJoin on
VendAccount = VendTable.AccountNumMany 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.
MCRRoyaltyAgreementLineEntity· 10 fields from this tableMCRRoyaltyAgreementLineProductSelectionV2Entity· 3 fields from this tableMCRRoyaltyAgreementLineAmountEntity· 4 fields from this tableMCRRoyaltyAgreementLineProductSelectionEntity· 3 fields from this table
Need help with MCRRoyaltyTable in a report, an integration or a migration? Talk to Dr Dynamics.