Table

MCRBrokerCommission

Broker commissions

Holds broker commissions. Each record links a broker vendor and broker contract to a charges transaction and a sales order line. The key is the pair of those two record IDs.

Table name
MCRBrokerCommission
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
TradeBroker
Primary index
None
Replacement key
MarkUpTransIdx
Key fields
MarkupTransRecID, SalesLineRecID
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MarkupTransRecIDSystem record ID of the related charges transaction.Int64
MarkupTransRefRecId
NoMarkupTrans.RecIdNone
SalesLineRecIDSystem record ID of the related sales order line.Int64
SalesLineRefRecId
NoSalesLine.RecIdNone
BrokerIDVendor account of the broker.String (20)
MCRBrokerVendAccount
NoVendTable.AccountNumNone
ContractIDBroker contract the commission belongs to.String (12)
MCRBrokerContractID
NoMCRBrokerContractTable.ContractIDNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
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 (3)

Relations (4)

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

  • MarkupTrans → MarkupTrans

    Join on MarkupTransRecID = MarkupTrans.RecId

    Zero or one MCRBrokerCommission record → exactly one MarkupTrans record

  • MCRBrokerContractTable → MCRBrokerContractTable

    Join on ContractID = MCRBrokerContractTable.ContractID

    Many MCRBrokerCommission records → exactly one MCRBrokerContractTable record

  • SalesLine → SalesLine

    Join on SalesLineRecID = SalesLine.RecId

    Many MCRBrokerCommission records → exactly one SalesLine record

  • VendTable → VendTable

    Join on BrokerID = VendTable.AccountNum

    Many MCRBrokerCommission records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk