Table

MCRBrokerAccrual

Broker claims

Holds broker claim lines. Each line links a broker vendor, broker contract, customer, sales order and customer invoice, with approved, qualified and invoice amounts. It also stores debit and credit accounts, dimensions and an Open or Closed status.

Table name
MCRBrokerAccrual
Module
Sales and marketing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
TradeBroker
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (24)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccrualDefaultDimensionSet of dimension values for the accrual.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
ApprovedAmtApproved amount, in accounting currency.Real
AmountMST
NoNone
BrokerContractIDBroker contract the claim belongs to.String (12)
MCRBrokerContractID
NoMCRBrokerContractTable.ContractIDNone
BrokerIDVendor account of the broker.String (20)
MCRBrokerVendAccount
YesVendTable.AccountNumNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustAccountCustomer account linked to the claim.String (20)
CustAccount
YesCustTable.AccountNumNone
CustTransRecIdSystem record ID of the related customer transaction.Int64
CustTransRefRecId
NoCustTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionSet of default dimension values for the record.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
InvoiceAmtInvoice amount, in accounting currency.Real
AmountMST
NoNone
InvoiceIdCustomer invoice linked to the claim.String (20)
CustInvoiceId
YesNone
MCCreditLedgerDimensionCredit account, as a dimension combination.Int64
DimensionDynamicDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
MCDebitLedgerDimensionDebit account, as a dimension combination.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
MiscChargeCodeCharges code linked to the claim.String
MarkupCode
NoNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QualifiedAmtQualified amount, in accounting currency.Real
AmountMST
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
SalesIdSales order linked to the claim.String (20)
SalesId
YesNone
StatusWhether the claim is Open or Closed.Enum
MCROpenClosed (enum)
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

Indexes (1)

Relations (11)

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

  • AcrrualDefaultDimension → DimensionAttributeValueSet

    Join on AccrualDefaultDimension = DimensionAttributeValueSet.RecId

    Many MCRBrokerAccrual records → zero or one DimensionAttributeValueSet record

  • BrokerAccrual → MCRBrokerAccrual

    Join on SalesId = MCRBrokerAccrual.SalesId

    Many MCRBrokerAccrual records → zero or one MCRBrokerAccrual record

  • BrokerContractTable → MCRBrokerContractTable

    Join on BrokerContractID = MCRBrokerContractTable.ContractID

    Many MCRBrokerAccrual records → zero or one MCRBrokerContractTable record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on InvoiceId = CustInvoiceTrans.InvoiceId

    Many MCRBrokerAccrual records → zero or one CustInvoiceTrans record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many MCRBrokerAccrual records → exactly one CustTable record

  • CustTrans → CustTrans

    Join on CustTransRecId = CustTrans.RecId

    Many MCRBrokerAccrual records → zero or one CustTrans record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many MCRBrokerAccrual records → zero or one DimensionAttributeValueSet record

  • DimensionAttributeValueCombination_Cred → DimensionAttributeValueCombination

    Join on MCDebitLedgerDimension = DimensionAttributeValueCombination.RecId

    Many MCRBrokerAccrual records → exactly one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombination_Deb → DimensionAttributeValueCombination

    Join on MCCreditLedgerDimension = DimensionAttributeValueCombination.RecId

    Many MCRBrokerAccrual records → exactly one DimensionAttributeValueCombination record

  • MarkupTable → MarkupTable

    Join on MCCreditLedgerDimension = MarkupTable.VendorLedgerDimension, MCDebitLedgerDimension = MarkupTable.CustomerLedgerDimension

    Many MCRBrokerAccrual records → zero or one MarkupTable record

  • VendTable → VendTable

    Join on BrokerID = VendTable.AccountNum

    Many MCRBrokerAccrual records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk