Table

MCRBrokerContractTable

Broker contract header

Holds the header of a broker contract, identified by the contract ID. It links to the broker vendor account, a charges code and a charges currency. It also stores the validity dates and a status. The lines are held in the broker contract line table.

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

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContractIDUnique ID of the broker contract.String (12)
MCRBrokerContractID
YesMCRBrokerContractHeaderEntity
BrokerIDThe vendor account of the broker in the contract.String (20)
MCRBrokerVendAccount
YesVendTable.AccountNumMCRBrokerContractHeaderEntityMCRBrokerContractLineEntity
CurrencyThe currency code used for the charges.String (3)
MarkupCurrencyCode
YesCurrency.CurrencyCodeMCRBrokerContractHeaderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the contract.String (60)
Description
NoMCRBrokerContractHeaderEntity
FromDateThe date from which the contract is valid.Date
FromDate
NoMCRBrokerContractHeaderEntity
MiscChargeCodeThe charges code used on the contract.String
MarkupCode
NoMCRBrokerContractHeaderEntity
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
StatusThe stage of the contract: planning, approved, cancelled or closed.Enum
MCRBrokerContractStatus (enum)
NoMCRBrokerContractHeaderEntity
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
ToDateThe date up to which the contract is valid.Date
ToDate
NoMCRBrokerContractHeaderEntity
ValueThe charges value of the contract, either an amount or a percentage.Real
MCRAmountorPercent
NoMCRBrokerContractHeaderEntity
ValueTypeSays how the charges value is expressed: per piece, as a percentage or as a fixed amount.Enum
MCRBrokerValueType (enum)
NoMCRBrokerContractHeaderEntity

Indexes (2)

Relations (3)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many MCRBrokerContractTable records → exactly one Currency record

  • MarkupTable → MarkupTable

    Join on MarkupTable.ModuleType = MarkupModuleType::Cust, MiscChargeCode = MarkupTable.MarkupCode

    Many MCRBrokerContractTable records → zero or one MarkupTable record

  • VendTable → VendTable

    Join on BrokerID = VendTable.AccountNum

    One or more MCRBrokerContractTable records → exactly one VendTable record

Get this data out

Tables are not exposed directly. These public entities read from MCRBrokerContractTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk