Table

PdsRebateAgreementLine

Rebate agreement lines

Holds the lines of a rebate agreement. Each line is identified by the agreement and a line number. It sets a quantity or amount range, a rebate value and how that value is expressed. It also stores a currency and unit.

Table name
PdsRebateAgreementLine
Module
Sales and marketing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
PdsRebate
Primary index
None
Replacement key
PdsRebateAgreementIdx
Key fields
RebateAgreementRefRecId, LineNum
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RebateAgreementRefRecIdThe rebate agreement that the line belongs to.Int64
PdsRebateAgreementRefRecId
YesPdsRebateAgreement.RecIdSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
LineNumNumber that orders the lines within an agreement.Real
LineNum
YesSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyThe currency code of the line.String (3)
CurrencyCode
YesCurrency.CurrencyCodeSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventdimIdThe inventory dimension combination of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RebateAmtTypeHow the rebate value is expressed: amount per unit, fixed amount or percentage.Enum
PdsRebateAmtType (enum)
NoSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
RebateFromAmountThe lower end of the amount range.Real
PDSRebateFromAmount
NoSalesRebateAgreementLineEntity
RebateFromQtyThe lower end of the quantity range.Real
PdsRebateFromQty
NoSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
RebateToAmountThe upper end of the amount range.Real
PDSRebateToAmount
NoSalesRebateAgreementLineEntity
RebateToQtyThe upper end of the quantity range.Real
PdsRebateToQty
NoSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
RebateUnitThe unit of measure of the line.String
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
RebateValueThe rebate value, read with the amount type.Real
PdsRebateValue
YesSalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
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

Indexes (3)

Relations (4)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many PdsRebateAgreementLine records → exactly one Currency record

  • InventDim → InventDim

    Join on InventdimId = InventDim.inventDimId

    Many PdsRebateAgreementLine records → exactly one InventDim record

  • PdsRebateAgreement → PdsRebateAgreement

    Join on RebateAgreementRefRecId = PdsRebateAgreement.RecId

    Many PdsRebateAgreementLine records → exactly one PdsRebateAgreement record

  • RebateUnit → UnitOfMeasure

    Join on RebateUnit = UnitOfMeasure.Symbol

    Many PdsRebateAgreementLine records → exactly one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk