Table

MCRRoyaltyVendTable

Royalty

Holds royalty claims for vendors, one row per royalty code and claim ID. Each claim has a status, amounts, a vendor and details of the sales invoice, order and item behind it. It links to sales orders, invoices, items and ledger dimensions.

Table name
MCRRoyaltyVendTable
Module
Procurement and sourcing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
MCRRoyalty
Primary index
RoyaltyCodeIdx
Replacement key
RoyaltyCodeIdx
Key fields
RoyaltyCode, RoyaltyClaimId
Model
Foundation

Fields (48)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RoyaltyCodeRoyalty code. Part of the key. It points to a rebate record.String (20)
MCRRoyaltyCode
YesPdsRebateTable.PdsRebateIdNone
RoyaltyClaimIdIdentifier of the royalty claim. Part of the key.String (20)
MCRRoyaltyId
YesNone
CorrectedRoyaltyAmtRoyalty amount after correction.Real
MCRCorrectedRoyaltyAmt
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code of the claim.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustAccountCustomer account number related to the claim.String (20)
AccountNum
YesNone
CustInvoiceJourRefRecIdPoints to the customer invoice journal record.Int64
PdsCustInvoiceJourRefRecId
NoCustInvoiceJour.RecIdNone
custInvoiceTransRefRecIdPoints to the customer invoice line.Int64
PdsCustInvoiceTransRefRecId
NoCustInvoiceTrans.RecIdNone
CustomerRefCustomer reference text.String (30)
PdsCustomerRef
NoNone
CWSalesInvoicedQtyInvoiced quantity in catch weight units.Real
PdsCWInventQty
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventTransIdLot ID of the inventory transaction.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
ItemIdItem number the royalty relates to.String (20)
ItemId
NoInventTable.ItemIdNone
ItemRoyaltyGroupIdRoyalty group of the item.String
MCRItemRoyaltyGroupId
NoNone
LedgerDimensionAccrual account, as a ledger dimension combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
MarkForCreditYes/No mark for credit.Enum
NoYes (enum)
NoNone
MCRRoyaltyTableRefRecIdPoints to the royalty table record.Int64
PdsRebateAgreementRefRecId
NoMCRRoyaltyTable.RecIdNone
OffsetLedgerDimensionExpense account, as a ledger dimension combination.Int64
MCRRoyaltyOffsetDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessDateDate the claim was processed.Date
PdsProcessDate
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
RoyaltyAdjustmentDateDate of the royalty adjustment.Date
PdsRebateAdjustmentDate
NoNone
RoyaltyAgreementLineRefRecIdPoints to the pricing or rebate agreement record.Int64
PdsRebateAgreementRefRecId
NoMCRRoyaltyTablePricing.RecIdPdsRebateAgreement.RecIdNone
RoyaltyAmtConsumed royalty amount.Real
PdsRebateAmt
NoNone
RoyaltyAmtTypeHow the royalty is expressed: amount per unit, fixed amount or percentage.Enum
MCRRoyaltyAmtType (enum)
NoNone
RoyaltyBalanceRemaining royalty balance amount.Real
MCRRoyaltyBalance
NoNone
RoyaltyCalcDateDate the royalty was calculated.Date
PdsRebateCalcDate
NoNone
RoyaltyJournalRefNumReference number of the posting journal.String
PdsJournalRefNum
NoNone
RoyaltyMinAmtMinimum amount for the royalty.Real
TAMRebateMinAmt
NoNone
RoyaltyMinQtyMinimum quantity for the royalty.Integer
TAMVendRebateMinQty
NoNone
RoyaltyPayToVendor account that the royalty is paid to.String (20)
VendAccount
NoVendTable.AccountNumNone
RoyaltyStatusStatus of the claim: to be calculated, calculated, approved or completed.Enum
MCRRoyaltyVendTableStatus (enum)
NoNone
RoyaltyValueRoyalty value. Its meaning depends on the amount type.Real
PdsRebateValue
NoNone
SalesAmountSales amount for the claim.Real
SalesAmount
NoNone
SalesIdSales order number behind the claim.String (20)
SalesId
NoSalesTable.SalesIdNone
SalesInvoiceDateDate of the sales invoice.Date
InvoiceDate
NoNone
SalesInvoicedQtyInvoiced quantity.Real
SalesInvoicedQty
NoNone
SalesInvoiceIdSales invoice number.String (20)
SalesInvoiceId
NoNone
SalesLineRefRecIdPoints to the sales order line.Int64
PdsSalesLineRefRecId
NoSalesLine.RecIdNone
SalesNetExtendedPriceNet extended price of the sales line.Real
PdsSalesNetExtdPrice
NoNone
SalesPriceUnitPrice unit of the sales line.Real
PriceUnit
NoNone
SalesTableRefRecIdPoints to the sales order record.Int64
PdsSalesTableRefRecId
NoSalesTable.RecIdNone
StartingRoyaltyAmtRoyalty amount at the start.Real
MCRStartingRoyaltyAmt
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
VendAccountVendor account number for the claim.String (20)
VendAccount
NoVendTable.AccountNumNone
VendRoyaltyGroupIdVendor rebate group.String (20)
TAMVendRebateGroupId
NoNone

Indexes (4)

Relations (20)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many MCRRoyaltyVendTable records → exactly one Currency record

  • CustInvoiceJour → CustInvoiceJour

    Join on CustInvoiceJourRefRecId = CustInvoiceJour.RecId

    Many MCRRoyaltyVendTable records → zero or one CustInvoiceJour record

  • CustInvoiceJourInvoiceId → CustInvoiceJour

    Join on SalesInvoiceId = CustInvoiceJour.InvoiceId

    Many MCRRoyaltyVendTable records → zero or one CustInvoiceJour record

  • CustInvoiceJourRef → CustInvoiceJour

    Join on CustInvoiceJourRefRecId = CustInvoiceJour.RecId

    Many MCRRoyaltyVendTable records → zero or one CustInvoiceJour record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on custInvoiceTransRefRecId = CustInvoiceTrans.RecId

    Many MCRRoyaltyVendTable records → zero or one CustInvoiceTrans record

  • CustTransOpen → CustTransOpen

    Join on CustAccount = CustTransOpen.AccountNum

    Many MCRRoyaltyVendTable records → zero or one CustTransOpen record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many MCRRoyaltyVendTable records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many MCRRoyaltyVendTable records → exactly one InventTransOrigin record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many MCRRoyaltyVendTable records → exactly one DimensionAttributeValueCombination record

  • MCRRoyaltyTable → MCRRoyaltyTable

    Join on MCRRoyaltyTableRefRecId = MCRRoyaltyTable.RecId

    Many MCRRoyaltyVendTable records → zero or one MCRRoyaltyTable record

  • MCRRoyaltyTablePricing → MCRRoyaltyTablePricing

    Join on RoyaltyAgreementLineRefRecId = MCRRoyaltyTablePricing.RecId

    Many MCRRoyaltyVendTable records → zero or one MCRRoyaltyTablePricing record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many MCRRoyaltyVendTable records → exactly one DimensionAttributeValueCombination record

  • PdsAgreementRefRecId → PdsRebateAgreement

    Join on RoyaltyAgreementLineRefRecId = PdsRebateAgreement.RecId

    Many MCRRoyaltyVendTable records → zero or one PdsRebateAgreement record

  • PdsRebateTable → PdsRebateTable

    Join on RoyaltyCode = PdsRebateTable.PdsRebateId

    Exactly one MCRRoyaltyVendTable record → exactly one PdsRebateTable record

  • RoyaltyCode → MCRRoyaltyTable

    Join on RoyaltyCode = MCRRoyaltyTable.RoyaltyCode

    Many MCRRoyaltyVendTable records → zero or one MCRRoyaltyTable record

  • SalesLineRef → SalesLine

    Join on SalesLineRefRecId = SalesLine.RecId

    Exactly one MCRRoyaltyVendTable record → zero or one SalesLine record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many MCRRoyaltyVendTable records → zero or one SalesTable record

  • SalesTableRef → SalesTable

    Join on SalesTableRefRecId = SalesTable.RecId

    Many MCRRoyaltyVendTable records → zero or one SalesTable record

  • VendAccount → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many MCRRoyaltyVendTable records → zero or one VendTable record

  • Vendtable → VendTable

    Join on RoyaltyPayTo = VendTable.AccountNum

    Zero or one MCRRoyaltyVendTable record → zero or one VendTable record

Get this data out

No public entity reads from MCRRoyaltyVendTable. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk