Table

TAMMerchEventPricing

Pricing

Holds pricing lines for a merchandising event. Each line can carry a discount (amount, percentage or fixed) with a quantity range, or a lump sum with its approval status and payout. It also stores payment details such as pay-to account and method of payment.

Table name
TAMMerchEventPricing
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BillBackDiscountBill back discount value. It is an amount or a percentage, depending on the bill back discount type.Real
MCRAmountorPercent
NoNone
BillBackDiscountTypeType of bill back discount, with the values None, A, B or C. The metadata does not explain what A, B and C mean.low confidenceEnum
ABC (enum)
NoNone
CostingLevelYes/no flag labelled "Use for analytics".Enum
NoYesId
NoYes (enum)
NoTAMTradeAllowanceAgreementMerchandisingEventDiscountEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustInvoiceAccountCustomer invoice account for this pricing line.String (20)
CustInvoiceAccount
NoCustTable.AccountNumNone
CustPaymModeCustomer method of payment for this line.String
CustPaymMode
NoCustPaymModeTable.PaymModeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductionNoYesYes/no flag showing whether this is a deduction.Enum
TAMDeductionNoYes
NoYes (enum)
NoNone
DiscountAmtDiscount given as an amount per unit.Real
UnitDiscountAmountCur
NoTAMTradeAllowanceAgreementMerchandisingEventDiscountEntity
DiscountFixedAmtFixed discount amount.Real
MCRFixedAmountCur
NoNone
DiscountPercentDiscount given as a percentage.Real
DiscPct
NoTAMTradeAllowanceAgreementMerchandisingEventDiscountEntity
DiscountTypeWhether the discount is an amount, a percentage or a fixed value.Enum
MCRAmountPercentFixed (enum)
NoNone
LSOffsetLedgerDimensionExpense account for the lump sum, pointing to a dimension code combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LumpSumAmountLump sum amount.Real
AmountCur
NoTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity
LumpSumApprovedAmountAmount to be paid out for the lump sum.Real
AmountCur
NoNone
LumpSumDetailsFree text details about the lump sum.String (3999)
MCRNotes
NoTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity
LumpSumRebateIdRebate that the lump sum refers to.String (12)
PdsRebateId
NoPdsRebateTable.PdsRebateIdNone
LumpSumStatusApproval status of the lump sum: open, declined or authorized.Enum
MCRLumpSumStatus (enum)
NoNone
LumpSumStatusDetailsFree text notes about the lump sum status.String (3999)
MCRNotes
NoNone
MerchandisingEventIDMerchandising event that this pricing line belongs to.String
MCRMerchandisingEventID
NoTAMMerchandisingEvent.MerchandisingEventIDNone
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
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
OneTimeLumpSumYes/no flag showing whether the lump sum is a one-time payment.Enum
NoYesId
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QuantityStart of the quantity range for the line.Real
AmountQty
NoTAMTradeAllowanceAgreementMerchandisingEventDiscountEntity
QuantityToEnd of the quantity range for the line.Real
AmountQty
NoTAMTradeAllowanceAgreementMerchandisingEventDiscountEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTAMTradeAllowanceAgreementMerchandisingEventDiscountEntityTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity
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
TFClaimPayTypePayment type: pay using accounts payable, customer deductions or invoice customer deductions.Enum
TAMPaymentType (enum)
NoTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity
TFPayToAccount to pay, which can be a customer or a vendor account.String (20)
AccountNum
NoCustTable.AccountNumVendTable.AccountNumNone
VendPaymModeVendor method of payment for this line.String
VendPaymMode
NoVendPaymModeTable.PaymModeNone

Indexes (1)

Relations (9)

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

  • CustPaymModeTable → CustPaymModeTable

    Join on CustPaymMode = CustPaymModeTable.PaymMode

    Many TAMMerchEventPricing records → exactly one CustPaymModeTable record

  • CustTable → CustTable

    Join on CustInvoiceAccount = CustTable.AccountNum

    Many TAMMerchEventPricing records → exactly one CustTable record

  • LSLiabilityOffsetLedgerDimension → DimensionAttributeValueCombination

    Join on LSOffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TAMMerchEventPricing records → exactly one DimensionAttributeValueCombination record

  • MerchandisingEvent → TAMMerchandisingEvent

    Join on MerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventID

    Many TAMMerchEventPricing records → zero or one TAMMerchandisingEvent record

  • PdsRebateTable → PdsRebateTable

    Join on LumpSumRebateId = PdsRebateTable.PdsRebateId

    Many TAMMerchEventPricing records → zero or one PdsRebateTable record

  • VendPaymModeTable → VendPaymModeTable

    Join on VendPaymMode = VendPaymModeTable.PaymMode

    Many TAMMerchEventPricing records → zero or one VendPaymModeTable record

  • TFPayTo_VendTableForCheque → VendTable

    Join on TFClaimPayType = TAMPaymentType::Cheque, TFPayTo = VendTable.AccountNum

    Many TAMMerchEventPricing records → zero or one VendTable record

  • TFPayTo_CustTableForCustomerDeduction → CustTable

    Join on TFClaimPayType = TAMPaymentType::CustomerDeduction, TFPayTo = CustTable.AccountNum

    Many TAMMerchEventPricing records → zero or one CustTable record

  • TFPayTo_CustTableForInvoiceCustomerDeduction → CustTable

    Join on TFClaimPayType = TAMPaymentType::InvoiceCustomerDeduction, TFPayTo = CustTable.AccountNum

    Many TAMMerchEventPricing records → zero or one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk