Table
PdsRebateAgreement
Rebate agreements
Holds rebate agreement headers, identified by the rebate agreement ID. It sets who and what the agreement covers (customer and item selections), the validity dates, the payment type and the currency. It also holds approval and validation details. It links to a rebate program and optionally to a merchandising event or vendor.
- Table name
PdsRebateAgreement- Module
Sales and marketing- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
PdsRebate- Primary index
RecId- Replacement key
RebateAgreementIdIdx- Key fields
RebateAgreementId- Model
Foundation
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RebateAgreementIdUnique ID of the rebate agreement. | String (20)PdsRebateAgreementId | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntitySalesRebateAgreementLineEntityand 2 more | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdThe inventory dimension combination of the agreement. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
IsTaxableYes/no flag showing whether the agreement is taxable. | EnumNoYes (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
LedgerDimensionThe accrual account of the rebate program, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity |
NoteFree-text note on the agreement. | String (-1)Notes | No | SalesRebateAgreementHeaderV2Entity | |
OffsetLedgerDimensionThe expense account of the rebate program, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsApprovalRequiredYes/no flag showing whether approval is required. | EnumNoYes (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
PdsCumulateSalesByThe period over which sales are added up: invoice, week, month, year, custom period or lifetime. | EnumPdsCumulationPeriod (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
PdsCustRebateCodeSays whether the customer selection is one account, a group or all customers. | EnumPdsCustRebateCodeTableGroupAll (enum) | No | SalesRebateAgreementHeaderV2Entity | |
PdsCustRebateRelationThe customer, country/region or customer rebate group that the agreement applies to. | String (20)PdsCustRebateRelation | No | CustTable.AccountNumLogisticsAddressCountryRegion.CountryRegionIdPdsCustRebateGroup.PdsCustRebateGroupIdPdsRebateProgramTMATable.PdsRebateProgramTMAGroup | SalesRebateAgreementHeaderV2Entity |
pdsFindNextYes/no flag named "Find next". Its exact effect is not stated.low confidence | EnumNoYes (enum) | No | None | |
PdsItemRebateCodeSays whether the item selection is one item, a group, all items or a selection. | EnumPdsRebateItemCode (enum) | No | SalesRebateAgreementHeaderV2Entity | |
PdsItemRebateRelationThe item, freight group or item rebate group that the agreement applies to. | String (20)PdsItemRebateRelation | No | InventTable.ItemIdPdsFreightGroup.PdsFreightAllocationCodePdsItemRebateGroup.PdsItemRebateGroupId | SalesRebateAgreementHeaderV2Entity |
PdsPaymtTypeHow the rebate is paid, such as through accounts payable, customer deductions or freight. | EnumPdsPaymtType (enum) | Yes | SalesRebateAgreementHeaderV2Entity | |
PdsRebateLineBreakTypeSays whether the rebate line breaks are based on quantity or amount. | EnumPdsRebateLineBreakType (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
PdsRebateMinAmtThe minimum amount set on the agreement. | RealPdsRebateMinAmt | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
PdsRebateMinQtyThe minimum quantity set on the agreement. | IntegerPdsMinQty | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
PdsRebateProgramTypeThe kind of program: rebate, freight, TMA or bill back. | EnumPdsRebateProgramType (enum) | No | None | |
PdsRebateTakenFromSays whether the rebate is taken from the gross or the net value. | EnumPdsRebateTakenFrom (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntitySalesRebateAgreementLineEntity | |
PdsRebateTypeThe rebate program that the agreement uses. | StringPdsRebateType | Yes | PdsRebate.PdsRebateType | None |
PdsRebateUnitThe unit of measure used by the agreement. | StringUnitOfMeasureSymbol | Yes | UnitOfMeasure.Symbol | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity |
PdsUnitTypeSays whether the unit is the inventory unit or the catch weight unit. | EnumPdsUnitType (enum) | Yes | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
RebateCalcDateTypeThe order date used for the calculation: created, requested receipt or requested ship. | EnumPdsRebateCalcDateType (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
RebateCurrencyThe currency code of the agreement. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | SalesRebateAgreementHeaderV2Entity |
RebateCustomizedPeriodTypeThe project period used when sales are added up over a custom period. | StringPdsRebateCustomizedPeriodType | No | ProjPeriodTable.PeriodId | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity |
RebateGenericCurrencyYes/no flag for including a generic currency. | EnumPdsRebateGenericCurrencyNoYes (enum) | No | SalesRebateAgreementHeaderV2Entity | |
RebateUOMOptionWhether units are converted or must match exactly. | EnumPdsRebateUOMOption (enum) | No | SalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity | |
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 | |
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 | |
TAMCustRebateApprovalStatusThe workflow approval status: not submitted, in review, approved or rejected. | EnumTAMCustRebateApprovalStatus (enum) | No | SalesRebateAgreementHeaderV2Entity | |
TAMMerchandisingEventIDThe merchandising event linked to the agreement. | StringMCRMerchandisingEventID | No | TAMMerchandisingEvent.MerchandisingEventID | None |
TAMPaymentTypeHow the payment is made: accounts payable, customer deductions or invoice customer deductions. | EnumTAMPaymentType (enum) | No | None | |
TAMVendPayToThe vendor account linked to the agreement. | String (20)TAMVendPayTo | No | VendTable.AccountNum | TAMTradeAllowanceAgreementMerchandisingEventBillBackEntity |
ValidatedYes/no flag showing whether the agreement is validated. | EnumPdsRebateValidatedNoYes (enum) | No | SalesRebateAgreementHeaderV2EntitySalesRebateAgreementLineEntity | |
ValidFromThe start date of the agreement. | DateValidFromDate | No | SalesRebateAgreementHeaderV2Entity | |
ValidToThe expiry date of the agreement. | DateValidToDate | No | SalesRebateAgreementHeaderV2Entity | |
VerifierThe worker who validated the agreement. | Int64PdsRebateVerifier | No | HcmWorker.RecId | SalesRebateAgreementHeaderV2Entity |
Indexes (4)
PdsRebateAgreementSeqIdxValidFrom,ValidTo,PdsRebateType,PdsCustRebateCode,PdsCustRebateRelation,PdsItemRebateCode,PdsItemRebateRelation,PdsRebateUnit,PdsUnitType,RebateCurrency,InventDimId,TAMMerchandisingEventIDUnique, alternate key.
RebateAgreementIdxPdsCustRebateCode,PdsRebateProgramType,PdsCustRebateRelation,PdsItemRebateCode,PdsItemRebateRelationNot unique.
TamMerchandisingEventIdxTAMMerchandisingEventID,Validated,Verifier,PdsRebateProgramType,RecIdNot unique.
RebateAgreementIdIdxReplacement keyUnique, alternate key.
Relations (18)
Each relation joins PdsRebateAgreement to another table on the fields shown.
Currency→CurrencyJoin on
RebateCurrency = Currency.CurrencyCodeMany PdsRebateAgreement records → exactly one Currency record
CustomizedPeriodType→ProjPeriodTableJoin on
RebateCustomizedPeriodType = ProjPeriodTable.PeriodIdMany PdsRebateAgreement records → zero or one ProjPeriodTable record
CustTable→CustTableJoin on
PdsCustRebateCode = TableGroupAll::Table,PdsCustRebateRelation = CustTable.AccountNumMany PdsRebateAgreement records → zero or one CustTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimId,PdsItemRebateCode = PdsRebateItemCode::TableMany PdsRebateAgreement records → exactly one InventDim record
InventTable→InventTableJoin on
PdsItemRebateRelation = InventTable.ItemId,PdsItemRebateCode = PdsRebateItemCode::TableMany PdsRebateAgreement records → zero or one InventTable record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany PdsRebateAgreement records → exactly one DimensionAttributeValueCombination record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
PdsRebateProgramType = PdsRebateProgramType::Freight,PdsCustRebateCode = TableGroupAll::GroupId,PdsCustRebateRelation = LogisticsAddressCountryRegion.CountryRegionIdMany PdsRebateAgreement records → zero or one LogisticsAddressCountryRegion record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany PdsRebateAgreement records → exactly one DimensionAttributeValueCombination record
PdsCustomerTMAGroup→PdsRebateProgramTMATableJoin on
PdsCustRebateRelation = PdsRebateProgramTMATable.PdsRebateProgramTMAGroup,PdsCustRebateCode = TableGroupAll::GroupId,PdsRebateProgramType = PdsRebateProgramType::TMAMany PdsRebateAgreement records → zero or one PdsRebateProgramTMATable record
PdsCustRebateGroup→PdsCustRebateGroupJoin on
PdsRebateProgramType = PdsRebateProgramType::Rebate,PdsCustRebateRelation = PdsCustRebateGroup.PdsCustRebateGroupId,PdsCustRebateCode = TableGroupAll::GroupIdMany PdsRebateAgreement records → zero or one PdsCustRebateGroup record
PdsItemRebateGroupFreight→PdsFreightGroupJoin on
PdsRebateProgramType = PdsRebateProgramType::Freight,PdsItemRebateCode = PdsRebateItemCode::GroupId,PdsItemRebateRelation = PdsFreightGroup.PdsFreightAllocationCodeMany PdsRebateAgreement records → zero or one PdsFreightGroup record
PdsItemRebateGroupRebate→PdsItemRebateGroupJoin on
PdsRebateProgramType = PdsRebateProgramType::Rebate,PdsItemRebateCode = PdsRebateItemCode::GroupId,PdsItemRebateRelation = PdsItemRebateGroup.PdsItemRebateGroupIdMany PdsRebateAgreement records → zero or one PdsItemRebateGroup record
PdsItemRebateGroupTMA→PdsItemRebateGroupJoin on
PdsItemRebateRelation = PdsItemRebateGroup.PdsItemRebateGroupId,PdsRebateProgramType = PdsRebateProgramType::TMA,PdsItemRebateCode = PdsRebateItemCode::GroupIdMany PdsRebateAgreement records → zero or one PdsItemRebateGroup record
PdsRebate→PdsRebateJoin on
PdsRebateType = PdsRebate.PdsRebateTypeMany PdsRebateAgreement records → exactly one PdsRebate record
RebateUnitOfMeasure→UnitOfMeasureJoin on
PdsRebateUnit = UnitOfMeasure.SymbolMany PdsRebateAgreement records → exactly one UnitOfMeasure record
TAMMerchandisingEvent→TAMMerchandisingEventJoin on
TAMMerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventIDMany PdsRebateAgreement records → zero or one TAMMerchandisingEvent record
VendTable→VendTableJoin on
TAMVendPayTo = VendTable.AccountNumMany PdsRebateAgreement records → zero or one VendTable record
Verifier→HcmWorkerJoin on
Verifier = HcmWorker.RecIdMany PdsRebateAgreement records → zero or one HcmWorker record
Get this data out
Tables are not exposed directly. These public entities read from PdsRebateAgreement; use one of them in Power BI, Power Platform or a data management project.
SalesRebateAgreementHeaderV2Entity· 28 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity· 16 fields from this tableSalesRebateAgreementLineEntity· 3 fields from this tableSalesRebateEntity· 1 field from this tableTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity· 1 field from this table
Need help with PdsRebateAgreement in a report, an integration or a migration? Talk to Dr Dynamics.