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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BillBackDiscountBill back discount value. It is an amount or a percentage, depending on the bill back discount type. | RealMCRAmountorPercent | No | None | |
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 confidence | EnumABC (enum) | No | None | |
CostingLevelYes/no flag labelled "Use for analytics". | EnumNoYesIdNoYes (enum) | No | TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustInvoiceAccountCustomer invoice account for this pricing line. | String (20)CustInvoiceAccount | No | CustTable.AccountNum | None |
CustPaymModeCustomer method of payment for this line. | StringCustPaymMode | No | CustPaymModeTable.PaymMode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductionNoYesYes/no flag showing whether this is a deduction. | EnumTAMDeductionNoYesNoYes (enum) | No | None | |
DiscountAmtDiscount given as an amount per unit. | RealUnitDiscountAmountCur | No | TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity | |
DiscountFixedAmtFixed discount amount. | RealMCRFixedAmountCur | No | None | |
DiscountPercentDiscount given as a percentage. | RealDiscPct | No | TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity | |
DiscountTypeWhether the discount is an amount, a percentage or a fixed value. | EnumMCRAmountPercentFixed (enum) | No | None | |
LSOffsetLedgerDimensionExpense account for the lump sum, pointing to a dimension code combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LumpSumAmountLump sum amount. | RealAmountCur | No | TAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity | |
LumpSumApprovedAmountAmount to be paid out for the lump sum. | RealAmountCur | No | None | |
LumpSumDetailsFree text details about the lump sum. | String (3999)MCRNotes | No | TAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity | |
LumpSumRebateIdRebate that the lump sum refers to. | String (12)PdsRebateId | No | PdsRebateTable.PdsRebateId | None |
LumpSumStatusApproval status of the lump sum: open, declined or authorized. | EnumMCRLumpSumStatus (enum) | No | None | |
LumpSumStatusDetailsFree text notes about the lump sum status. | String (3999)MCRNotes | No | None | |
MerchandisingEventIDMerchandising event that this pricing line belongs to. | StringMCRMerchandisingEventID | No | TAMMerchandisingEvent.MerchandisingEventID | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
OneTimeLumpSumYes/no flag showing whether the lump sum is a one-time payment. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuantityStart of the quantity range for the line. | RealAmountQty | No | TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity | |
QuantityToEnd of the quantity range for the line. | RealAmountQty | No | TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | TAMTradeAllowanceAgreementMerchandisingEventDiscountEntityTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
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 | |
TFClaimPayTypePayment type: pay using accounts payable, customer deductions or invoice customer deductions. | EnumTAMPaymentType (enum) | No | TAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity | |
TFPayToAccount to pay, which can be a customer or a vendor account. | String (20)AccountNum | No | CustTable.AccountNumVendTable.AccountNum | None |
VendPaymModeVendor method of payment for this line. | StringVendPaymMode | No | VendPaymModeTable.PaymMode | None |
Indexes (1)
EventIDCostingLevelMerchandisingEventID,CostingLevelNot unique.
Relations (9)
Each relation joins TAMMerchEventPricing to another table on the fields shown.
CustPaymModeTable→CustPaymModeTableJoin on
CustPaymMode = CustPaymModeTable.PaymModeMany TAMMerchEventPricing records → exactly one CustPaymModeTable record
CustTable→CustTableJoin on
CustInvoiceAccount = CustTable.AccountNumMany TAMMerchEventPricing records → exactly one CustTable record
LSLiabilityOffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
LSOffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany TAMMerchEventPricing records → exactly one DimensionAttributeValueCombination record
MerchandisingEvent→TAMMerchandisingEventJoin on
MerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventIDMany TAMMerchEventPricing records → zero or one TAMMerchandisingEvent record
PdsRebateTable→PdsRebateTableJoin on
LumpSumRebateId = PdsRebateTable.PdsRebateIdMany TAMMerchEventPricing records → zero or one PdsRebateTable record
VendPaymModeTable→VendPaymModeTableJoin on
VendPaymMode = VendPaymModeTable.PaymModeMany TAMMerchEventPricing records → zero or one VendPaymModeTable record
TFPayTo_VendTableForCheque→VendTableJoin on
TFClaimPayType = TAMPaymentType::Cheque,TFPayTo = VendTable.AccountNumMany TAMMerchEventPricing records → zero or one VendTable record
TFPayTo_CustTableForCustomerDeduction→CustTableJoin on
TFClaimPayType = TAMPaymentType::CustomerDeduction,TFPayTo = CustTable.AccountNumMany TAMMerchEventPricing records → zero or one CustTable record
TFPayTo_CustTableForInvoiceCustomerDeduction→CustTableJoin on
TFClaimPayType = TAMPaymentType::InvoiceCustomerDeduction,TFPayTo = CustTable.AccountNumMany 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.
TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity· 6 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity· 4 fields from this table
Need help with TAMMerchEventPricing in a report, an integration or a migration? Talk to Dr Dynamics.