Data entity

MCRBrokerContractLineEntity

Read-only list of broker contract lines, keyed by broker contract ID and line number. Each line can be limited to a customer, customer group, item or item group. It holds the charges code, sales tax group, break quantity and amount, and the broker fee as a per-unit amount, fixed amount or percentage.

Entity name
MCRBrokerContractLineEntity
Public entity name
BrokerContractLine
OData collection
BrokerContractLines
Category
Document
Module
Sales and marketing
Read-only
Yes
Data management enabled
Yes
Configuration key
TradeBroker
Keys
BrokerContractId, LineNumber
Staging table
MCRBrokerContractLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/BrokerContractLines
Dataverse virtual table
mserp_mcrbrokercontractlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • MCRBrokerContractLine · root
  • MCRBrokerContractTable · InnerJoin to MCRBrokerContractLine · read-only

Fields (22)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountCodeSays whether the customer selection is a single account, a group or all customers.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)MCRBrokerContractLine.AccountCode
AccountRelationThe customer account or customer group that the line applies to, depending on the party code type.String (20)
PriceDiscAccountRelation
NoNo (private)CustGroup.CustGroupCustTable.AccountNumMCRBrokerContractLine.AccountRelation
BrokerFeeBreakValueThe break value of the line, read together with the break type.Real
AmountQty
NoNo (private)MCRBrokerContractLine.Amount
BrokerFeeBreakBasisSays whether the break is based on a quantity or an amount.Enum
MCRAmountQty
  • Qty 0
  • Amount 1
NoNo (private)MCRBrokerContractLine.AmountType
BrokerContractIdThe broker contract header that this line belongs to.String (12)
MCRBrokerContractID
YesYesMCRBrokerContractTable.ContractIDMCRBrokerContractLine.ContractID
ItemCodeSays whether the item selection is a single item, an item group or all items.Enum
PriceDiscProductCode
PriceDiscProductCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)MCRBrokerContractLine.ItemCode
ItemRelationThe item or item group that the line applies to, depending on the product code type.String (20)
ItemRelation
NoNo (private)InventTable.ItemIdMCRBrokerContractLine.ItemRelation
BrokerSalesChargeCodeThe charges code linked to the line.String
MarkupCode
YesYesMCRBrokerContractLine.MiscChargeCode
SalesTaxGroupCodeThe sales tax group set on the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupMCRBrokerContractLine.TaxGroup
BrokerFeeValueThe charges value of the line, either an amount or a percentage.Real
MCRAmountorPercent
NoNo (private)MCRBrokerContractLine.Value
BrokerFeeValueTypeSays how the charges value is expressed: per piece, as a percentage or as a fixed amount.Enum
MCRBrokerValueType
  • Pcs 0
  • Percent 1
  • Fixed 2
NoNo (private)MCRBrokerContractLine.ValueType
LineNumberA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
YesYesMCRBrokerContractLine.RecId
CustomerAccountNumberCustomer account the contract line applies to.String (20)
CustAccount
NoYescomputed
CustomerGroupIdCustomer group the contract line applies to.String (20)
PdsCustRebateGroupId
NoYescomputed
ItemNumberItem the contract line applies to.String (20)
ItemId
NoYescomputed
ProductGroupIdItem group the contract line applies to.String
PdsItemRebateGroupId
NoYescomputed
BrokerVendorAccountNumberThe vendor account of the broker in the contract.String (20)
MCRBrokerVendAccount
NoYesVendTable.AccountNumMCRBrokerContractTable.BrokerID
BrokerFeeBreakQuantityQuantity at which the broker fee on this line starts to apply.Real
AmountQty
NoYescomputed
BrokerFeeBreakAmountAmount at which the broker fee on this line starts to apply.Real
AmountQty
NoYescomputed
BrokerFeeAmountPerProductUnitSoldBroker fee as an amount for each product unit sold.Real
MCRAmountorPercent
NoYescomputed
BrokerFeeChargeAmountFixed broker fee amount for this line.Real
MCRAmountorPercent
NoYescomputed
BrokerFeePercentageBroker fee on this line, given as a percentage.Real
MCRAmountorPercent
NoYescomputed

Foreign keys (6)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with MCRBrokerContractLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk