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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RebateAgreementRefRecIdThe rebate agreement that the line belongs to. | Int64PdsRebateAgreementRefRecId | Yes | PdsRebateAgreement.RecId | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity |
LineNumNumber that orders the lines within an agreement. | RealLineNum | Yes | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyThe currency code of the line. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventdimIdThe inventory dimension combination of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RebateAmtTypeHow the rebate value is expressed: amount per unit, fixed amount or percentage. | EnumPdsRebateAmtType (enum) | No | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity | |
RebateFromAmountThe lower end of the amount range. | RealPDSRebateFromAmount | No | SalesRebateAgreementLineEntity | |
RebateFromQtyThe lower end of the quantity range. | RealPdsRebateFromQty | No | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity | |
RebateToAmountThe upper end of the amount range. | RealPDSRebateToAmount | No | SalesRebateAgreementLineEntity | |
RebateToQtyThe upper end of the quantity range. | RealPdsRebateToQty | No | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity | |
RebateUnitThe unit of measure of the line. | StringUnitOfMeasureSymbol | Yes | UnitOfMeasure.Symbol | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity |
RebateValueThe rebate value, read with the amount type. | RealPdsRebateValue | Yes | SalesRebateAgreementLineEntityTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity | |
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 |
Indexes (3)
CurrencyIdxNot unique.
PdsRebateAgreementIdxReplacement keyRebateAgreementRefRecId,LineNumUnique, alternate key.
UnitOfMeasureIdxNot unique.
Relations (4)
Each relation joins PdsRebateAgreementLine to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany PdsRebateAgreementLine records → exactly one Currency record
InventDim→InventDimJoin on
InventdimId = InventDim.inventDimIdMany PdsRebateAgreementLine records → exactly one InventDim record
PdsRebateAgreement→PdsRebateAgreementJoin on
RebateAgreementRefRecId = PdsRebateAgreement.RecIdMany PdsRebateAgreementLine records → exactly one PdsRebateAgreement record
RebateUnit→UnitOfMeasureJoin on
RebateUnit = UnitOfMeasure.SymbolMany 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.
SalesRebateAgreementLineEntity· 10 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity· 8 fields from this tableSalesRebateEntity· 0 fields from this table
Need help with PdsRebateAgreementLine in a report, an integration or a migration? Talk to Dr Dynamics.