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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RebateAgreementIdUnique ID of the rebate agreement.String (20)
PdsRebateAgreementId
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntitySalesRebateAgreementLineEntityand 2 more
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdThe inventory dimension combination of the agreement.String (20)
InventDimId
YesInventDim.inventDimIdNone
IsTaxableYes/no flag showing whether the agreement is taxable.Enum
NoYes (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
LedgerDimensionThe accrual account of the rebate program, held as a dimension combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
NoteFree-text note on the agreement.String (-1)
Notes
NoSalesRebateAgreementHeaderV2Entity
OffsetLedgerDimensionThe expense account of the rebate program, held as a dimension combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsApprovalRequiredYes/no flag showing whether approval is required.Enum
NoYes (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PdsCumulateSalesByThe period over which sales are added up: invoice, week, month, year, custom period or lifetime.Enum
PdsCumulationPeriod (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PdsCustRebateCodeSays whether the customer selection is one account, a group or all customers.Enum
PdsCustRebateCode
TableGroupAll (enum)
NoSalesRebateAgreementHeaderV2Entity
PdsCustRebateRelationThe customer, country/region or customer rebate group that the agreement applies to.String (20)
PdsCustRebateRelation
NoCustTable.AccountNumLogisticsAddressCountryRegion.CountryRegionIdPdsCustRebateGroup.PdsCustRebateGroupIdPdsRebateProgramTMATable.PdsRebateProgramTMAGroupSalesRebateAgreementHeaderV2Entity
pdsFindNextYes/no flag named "Find next". Its exact effect is not stated.low confidenceEnum
NoYes (enum)
NoNone
PdsItemRebateCodeSays whether the item selection is one item, a group, all items or a selection.Enum
PdsRebateItemCode (enum)
NoSalesRebateAgreementHeaderV2Entity
PdsItemRebateRelationThe item, freight group or item rebate group that the agreement applies to.String (20)
PdsItemRebateRelation
NoInventTable.ItemIdPdsFreightGroup.PdsFreightAllocationCodePdsItemRebateGroup.PdsItemRebateGroupIdSalesRebateAgreementHeaderV2Entity
PdsPaymtTypeHow the rebate is paid, such as through accounts payable, customer deductions or freight.Enum
PdsPaymtType (enum)
YesSalesRebateAgreementHeaderV2Entity
PdsRebateLineBreakTypeSays whether the rebate line breaks are based on quantity or amount.Enum
PdsRebateLineBreakType (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PdsRebateMinAmtThe minimum amount set on the agreement.Real
PdsRebateMinAmt
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PdsRebateMinQtyThe minimum quantity set on the agreement.Integer
PdsMinQty
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PdsRebateProgramTypeThe kind of program: rebate, freight, TMA or bill back.Enum
PdsRebateProgramType (enum)
NoNone
PdsRebateTakenFromSays whether the rebate is taken from the gross or the net value.Enum
PdsRebateTakenFrom (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntitySalesRebateAgreementLineEntity
PdsRebateTypeThe rebate program that the agreement uses.String
PdsRebateType
YesPdsRebate.PdsRebateTypeNone
PdsRebateUnitThe unit of measure used by the agreement.String
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
PdsUnitTypeSays whether the unit is the inventory unit or the catch weight unit.Enum
PdsUnitType (enum)
YesSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
RebateCalcDateTypeThe order date used for the calculation: created, requested receipt or requested ship.Enum
PdsRebateCalcDateType (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
RebateCurrencyThe currency code of the agreement.String (3)
CurrencyCode
YesCurrency.CurrencyCodeSalesRebateAgreementHeaderV2Entity
RebateCustomizedPeriodTypeThe project period used when sales are added up over a custom period.String
PdsRebateCustomizedPeriodType
NoProjPeriodTable.PeriodIdSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
RebateGenericCurrencyYes/no flag for including a generic currency.Enum
PdsRebateGenericCurrency
NoYes (enum)
NoSalesRebateAgreementHeaderV2Entity
RebateUOMOptionWhether units are converted or must match exactly.Enum
PdsRebateUOMOption (enum)
NoSalesRebateAgreementHeaderV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
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
TAMCustRebateApprovalStatusThe workflow approval status: not submitted, in review, approved or rejected.Enum
TAMCustRebateApprovalStatus (enum)
NoSalesRebateAgreementHeaderV2Entity
TAMMerchandisingEventIDThe merchandising event linked to the agreement.String
MCRMerchandisingEventID
NoTAMMerchandisingEvent.MerchandisingEventIDNone
TAMPaymentTypeHow the payment is made: accounts payable, customer deductions or invoice customer deductions.Enum
TAMPaymentType (enum)
NoNone
TAMVendPayToThe vendor account linked to the agreement.String (20)
TAMVendPayTo
NoVendTable.AccountNumTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
ValidatedYes/no flag showing whether the agreement is validated.Enum
PdsRebateValidated
NoYes (enum)
NoSalesRebateAgreementHeaderV2EntitySalesRebateAgreementLineEntity
ValidFromThe start date of the agreement.Date
ValidFromDate
NoSalesRebateAgreementHeaderV2Entity
ValidToThe expiry date of the agreement.Date
ValidToDate
NoSalesRebateAgreementHeaderV2Entity
VerifierThe worker who validated the agreement.Int64
PdsRebateVerifier
NoHcmWorker.RecIdSalesRebateAgreementHeaderV2Entity

Indexes (4)

Relations (18)

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

  • Currency → Currency

    Join on RebateCurrency = Currency.CurrencyCode

    Many PdsRebateAgreement records → exactly one Currency record

  • CustomizedPeriodType → ProjPeriodTable

    Join on RebateCustomizedPeriodType = ProjPeriodTable.PeriodId

    Many PdsRebateAgreement records → zero or one ProjPeriodTable record

  • CustTable → CustTable

    Join on PdsCustRebateCode = TableGroupAll::Table, PdsCustRebateRelation = CustTable.AccountNum

    Many PdsRebateAgreement records → zero or one CustTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId, PdsItemRebateCode = PdsRebateItemCode::Table

    Many PdsRebateAgreement records → exactly one InventDim record

  • InventTable → InventTable

    Join on PdsItemRebateRelation = InventTable.ItemId, PdsItemRebateCode = PdsRebateItemCode::Table

    Many PdsRebateAgreement records → zero or one InventTable record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many PdsRebateAgreement records → exactly one DimensionAttributeValueCombination record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on PdsRebateProgramType = PdsRebateProgramType::Freight, PdsCustRebateCode = TableGroupAll::GroupId, PdsCustRebateRelation = LogisticsAddressCountryRegion.CountryRegionId

    Many PdsRebateAgreement records → zero or one LogisticsAddressCountryRegion record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many PdsRebateAgreement records → exactly one DimensionAttributeValueCombination record

  • PdsCustomerTMAGroup → PdsRebateProgramTMATable

    Join on PdsCustRebateRelation = PdsRebateProgramTMATable.PdsRebateProgramTMAGroup, PdsCustRebateCode = TableGroupAll::GroupId, PdsRebateProgramType = PdsRebateProgramType::TMA

    Many PdsRebateAgreement records → zero or one PdsRebateProgramTMATable record

  • PdsCustRebateGroup → PdsCustRebateGroup

    Join on PdsRebateProgramType = PdsRebateProgramType::Rebate, PdsCustRebateRelation = PdsCustRebateGroup.PdsCustRebateGroupId, PdsCustRebateCode = TableGroupAll::GroupId

    Many PdsRebateAgreement records → zero or one PdsCustRebateGroup record

  • PdsItemRebateGroupFreight → PdsFreightGroup

    Join on PdsRebateProgramType = PdsRebateProgramType::Freight, PdsItemRebateCode = PdsRebateItemCode::GroupId, PdsItemRebateRelation = PdsFreightGroup.PdsFreightAllocationCode

    Many PdsRebateAgreement records → zero or one PdsFreightGroup record

  • PdsItemRebateGroupRebate → PdsItemRebateGroup

    Join on PdsRebateProgramType = PdsRebateProgramType::Rebate, PdsItemRebateCode = PdsRebateItemCode::GroupId, PdsItemRebateRelation = PdsItemRebateGroup.PdsItemRebateGroupId

    Many PdsRebateAgreement records → zero or one PdsItemRebateGroup record

  • PdsItemRebateGroupTMA → PdsItemRebateGroup

    Join on PdsItemRebateRelation = PdsItemRebateGroup.PdsItemRebateGroupId, PdsRebateProgramType = PdsRebateProgramType::TMA, PdsItemRebateCode = PdsRebateItemCode::GroupId

    Many PdsRebateAgreement records → zero or one PdsItemRebateGroup record

  • PdsRebate → PdsRebate

    Join on PdsRebateType = PdsRebate.PdsRebateType

    Many PdsRebateAgreement records → exactly one PdsRebate record

  • RebateUnitOfMeasure → UnitOfMeasure

    Join on PdsRebateUnit = UnitOfMeasure.Symbol

    Many PdsRebateAgreement records → exactly one UnitOfMeasure record

  • TAMMerchandisingEvent → TAMMerchandisingEvent

    Join on TAMMerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventID

    Many PdsRebateAgreement records → zero or one TAMMerchandisingEvent record

  • VendTable → VendTable

    Join on TAMVendPayTo = VendTable.AccountNum

    Many PdsRebateAgreement records → zero or one VendTable record

  • Verifier → HcmWorker

    Join on Verifier = HcmWorker.RecId

    Many 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.

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

Email sales@drdynamics.co.uk