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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ContractIDUnique ID of the broker contract. | String (12)MCRBrokerContractID | Yes | MCRBrokerContractHeaderEntity | |
BrokerIDThe vendor account of the broker in the contract. | String (20)MCRBrokerVendAccount | Yes | VendTable.AccountNum | MCRBrokerContractHeaderEntityMCRBrokerContractLineEntity |
CurrencyThe currency code used for the charges. | String (3)MarkupCurrencyCode | Yes | Currency.CurrencyCode | MCRBrokerContractHeaderEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the contract. | String (60)Description | No | MCRBrokerContractHeaderEntity | |
FromDateThe date from which the contract is valid. | DateFromDate | No | MCRBrokerContractHeaderEntity | |
MiscChargeCodeThe charges code used on the contract. | StringMarkupCode | No | MCRBrokerContractHeaderEntity | |
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 | |
StatusThe stage of the contract: planning, approved, cancelled or closed. | EnumMCRBrokerContractStatus (enum) | No | MCRBrokerContractHeaderEntity | |
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 | |
ToDateThe date up to which the contract is valid. | DateToDate | No | MCRBrokerContractHeaderEntity | |
ValueThe charges value of the contract, either an amount or a percentage. | RealMCRAmountorPercent | No | MCRBrokerContractHeaderEntity | |
ValueTypeSays how the charges value is expressed: per piece, as a percentage or as a fixed amount. | EnumMCRBrokerValueType (enum) | No | MCRBrokerContractHeaderEntity |
Indexes (2)
Relations (3)
Each relation joins MCRBrokerContractTable to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany MCRBrokerContractTable records → exactly one Currency record
MarkupTable→MarkupTableJoin on
MarkupTable.ModuleType = MarkupModuleType::Cust,MiscChargeCode = MarkupTable.MarkupCodeMany MCRBrokerContractTable records → zero or one MarkupTable record
VendTable→VendTableJoin on
BrokerID = VendTable.AccountNumOne 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.
MCRBrokerContractHeaderEntity· 10 fields from this tableMCRBrokerContractLineEntity· 1 field from this table
Need help with MCRBrokerContractTable in a report, an integration or a migration? Talk to Dr Dynamics.