Table
PdsRebateTable
Rebate
Holds individual rebate records, identified by the rebate ID. Each links to a rebate agreement, a rebate program, a customer, an item and the sales order and invoice lines it relates to. It stores amounts, dates, a status and ledger accounts.
- Table name
PdsRebateTable- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
PdsRebate- Primary index
PdsRebateIdx- Replacement key
PdsRebateIdx- Key fields
PdsRebateId- Model
Foundation
Fields (51)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PdsRebateIdUnique ID of the rebate. | String (12)PdsRebateId | Yes | SalesRebateEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeThe currency code of the rebate. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | SalesRebateEntity |
CustAccountThe customer account of the rebate. | String (20)CustAccount | Yes | CustTable.AccountNum | SalesRebateEntity |
custInvoiceTransRefRecIdThe customer invoice line linked to the rebate. | Int64PdsCustInvoiceTransRefRecId | No | CustInvoiceTrans.RecId | SalesRebateEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionThe default financial dimensions of the rebate. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | SalesRebateEntity |
InventTransIdThe lot ID that links to the inventory transaction. | String (20)InventTransId | No | InventTransOrigin.InventTransId | SalesRebateEntity |
ItemIdThe item that the rebate relates to. | String (20)ItemId | No | InventTable.ItemId | SalesRebateEntity |
LedgerDimensionThe default accrual account, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | SalesRebateEntity |
OffsetDefaultDimensionThe financial dimensions for the offset side. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | SalesRebateEntity |
OffsetLedgerDimensionThe default expense account, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | SalesRebateEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCorrectedRebateAmtThe corrected rebate amount. | RealPdsCorrectedRebateAmt | No | SalesRebateEntity | |
PdsCustInvoiceJourRefRecIdThe customer invoice journal record linked to the rebate. | Int64PdsCustInvoiceJourRefRecId | No | CustInvoiceJour.RecId | SalesRebateEntity |
PdsCustomerRefThe customer's own reference. | String (30)PdsCustomerRef | No | SalesRebateEntity | |
PdsCustRebateGroupIdThe customer rebate group of the rebate. | String (20)PdsCustRebateGroupId | No | PdsCustRebateGroup.PdsCustRebateGroupId | SalesRebateEntity |
PdsCWSalesInvoicedQtyThe invoiced quantity in the catch weight unit. | RealPdsCWInventQty | No | SalesRebateEntity | |
PdsItemRebateGroupIdThe item rebate group of the rebate. | StringPdsItemRebateGroupId | No | PdsItemRebateGroup.PdsItemRebateGroupId | SalesRebateEntity |
PdsMarkForCreditYes/no flag that marks the rebate for credit. | EnumNoYes (enum) | No | SalesRebateEntity | |
PdsPaymtTypeHow the rebate is paid, such as through accounts payable, customer deductions or freight. | EnumPdsPaymtType (enum) | No | SalesRebateEntity | |
PdsProcessDateThe date when the rebate was processed. | DatePdsProcessDate | No | SalesRebateEntity | |
PdsRebateAdjustmentDateThe date of the rebate adjustment. | DatePdsRebateAdjustmentDate | No | SalesRebateEntity | |
PdsRebateAgreementRefRecIdThe rebate agreement that the rebate comes from. | Int64PdsRebateAgreementRefRecId | No | PdsRebateAgreement.RecId | SalesRebateEntity |
PdsRebateAmtThe consumed rebate amount; currency not stated in the metadata. | RealPdsRebateAmt | No | None | |
PdsRebateAmtTypeHow the rebate value is expressed: amount per unit, fixed amount or percentage. | EnumPdsRebateAmtType (enum) | No | SalesRebateEntity | |
PdsRebateBalanceThe balance amount of the rebate; currency not stated in the metadata. | RealPdsRebateBalance | No | SalesRebateEntity | |
PdsRebateJournalRefNumThe reference of the posting journal. | StringPdsJournalRefNum | No | SalesRebateEntity | |
PdsRebatePayToThe vendor account that the rebate is paid to. | String (20)PdsRebatePayTo | No | VendTable.AccountNum | SalesRebateEntity |
PdsRebateStatusThe stage of the rebate, such as to be calculated, calculated, approved, completed or cancelled. | EnumPdsRebateStatus (enum) | No | SalesRebateEntity | |
PdsRebateTypeThe rebate program that the rebate uses. | StringPdsRebateType | No | PdsRebate.PdsRebateType | SalesRebateEntity |
PdsRebateValueThe rebate value, read with the amount type. | RealPdsRebateValue | No | None | |
PdsStartingRebateAmtThe starting rebate amount; currency not stated in the metadata. | RealPdsStartingRebateAmt | No | SalesRebateEntity | |
RebateAgreementLineRefRecIdThe rebate agreement line that the rebate comes from. | Int64PdsRebateAgreementRefRecId | No | PdsRebateAgreementLine.RecId | SalesRebateEntity |
RebateCalcDateThe date used for the rebate calculation. | DatePdsRebateCalcDate | No | SalesRebateEntity | |
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 | |
SalesAmountThe sales amount the rebate is based on; currency not stated in the metadata. | RealSalesAmount | No | SalesRebateEntity | |
SalesIdThe sales order that the rebate relates to. | String (20)SalesId | No | SalesTable.SalesId | SalesRebateEntity |
SalesInvoiceDateThe date of the invoice. | DateInvoiceDate | No | SalesRebateEntity | |
SalesInvoicedQtyThe invoiced quantity. | RealSalesInvoicedQty | No | SalesRebateEntity | |
SalesInvoiceIdThe invoice that the rebate relates to. | String (20)SalesInvoiceId | No | SalesRebateEntity | |
SalesLineRefRecIdThe sales order line that the rebate relates to. | Int64PdsSalesLineRefRecId | No | SalesLine.RecId | SalesRebateEntity |
SalesNetExtendedPriceThe net extended price of the sales line. | RealPdsSalesNetExtdPrice | No | SalesRebateEntity | |
SalesPriceUnitThe price unit of the sales line. | RealPriceUnit | No | SalesRebateEntity | |
SalesTableRefRecIdThe sales order record that the rebate relates to. | Int64PdsSalesTableRefRecId | No | SalesTable.RecId | SalesRebateEntity |
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 | |
TAMMerchandisingEventIDThe merchandising event linked to the rebate. | StringMCRMerchandisingEventID | No | TAMMerchandisingEvent.MerchandisingEventID | SalesRebateEntity |
TaxGroupThe sales tax group of the rebate. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | SalesRebateEntity |
TaxItemGroupThe item sales tax group of the rebate. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | SalesRebateEntity |
Indexes (4)
InventTransIdIdxNot unique.
PdsRebateIdxPrimary indexReplacement keyUnique, alternate key.
PdsRebateAgreementRefRecIdxCustAccount,ItemId,PdsRebateAgreementRefRecId,SalesInvoiceDateNot unique.
InvoiceTransRebateAgreementIdxcustInvoiceTransRefRecId,PdsRebateAgreementRefRecIdNot unique.
Relations (24)
Each relation joins PdsRebateTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PdsRebateTable records → exactly one Currency record
CustInvoiceJour→CustInvoiceJourJoin on
PdsCustInvoiceJourRefRecId = CustInvoiceJour.RecIdMany PdsRebateTable records → zero or one CustInvoiceJour record
CustInvoiceJourInvoiceId→CustInvoiceJourJoin on
SalesInvoiceId = CustInvoiceJour.InvoiceIdMany PdsRebateTable records → zero or one CustInvoiceJour record
CustInvoiceJourRef→CustInvoiceJourJoin on
PdsCustInvoiceJourRefRecId = CustInvoiceJour.RecIdMany PdsRebateTable records → zero or one CustInvoiceJour record
CustInvoiceTrans→CustInvoiceTransJoin on
custInvoiceTransRefRecId = CustInvoiceTrans.RecIdMany PdsRebateTable records → zero or one CustInvoiceTrans record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany PdsRebateTable records → zero or one DimensionAttributeValueSet record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany PdsRebateTable records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany PdsRebateTable records → exactly one InventTransOrigin record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany PdsRebateTable records → exactly one DimensionAttributeValueCombination record
OffsetDefaultDimension→DimensionAttributeValueSetJoin on
OffsetDefaultDimension = DimensionAttributeValueSet.RecIdMany PdsRebateTable records → zero or one DimensionAttributeValueSet record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany PdsRebateTable records → exactly one DimensionAttributeValueCombination record
PdsCustRebateGroup→PdsCustRebateGroupJoin on
PdsCustRebateGroupId = PdsCustRebateGroup.PdsCustRebateGroupIdMany PdsRebateTable records → zero or one PdsCustRebateGroup record
PdsItemRebateGroup→PdsItemRebateGroupJoin on
PdsItemRebateGroupId = PdsItemRebateGroup.PdsItemRebateGroupIdMany PdsRebateTable records → zero or one PdsItemRebateGroup record
PdsRebate→PdsRebateJoin on
PdsRebateType = PdsRebate.PdsRebateTypeMany PdsRebateTable records → exactly one PdsRebate record
PdsRebateAgreement→PdsRebateAgreementJoin on
PdsRebateAgreementRefRecId = PdsRebateAgreement.RecIdMany PdsRebateTable records → zero or one PdsRebateAgreement record
PdsRebateAgreementLine→PdsRebateAgreementLineJoin on
RebateAgreementLineRefRecId = PdsRebateAgreementLine.RecIdMany PdsRebateTable records → zero or one PdsRebateAgreementLine record
SalesLineRef→SalesLineJoin on
SalesLineRefRecId = SalesLine.RecIdExactly one PdsRebateTable record → zero or one SalesLine record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany PdsRebateTable records → zero or one SalesTable record
SalesTableRef→SalesTableJoin on
SalesTableRefRecId = SalesTable.RecIdMany PdsRebateTable records → zero or one SalesTable record
TAMMerchandisingEvent→TAMMerchandisingEventJoin on
TAMMerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventIDMany PdsRebateTable records → zero or one TAMMerchandisingEvent record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany PdsRebateTable records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany PdsRebateTable records → zero or one TaxItemGroupHeading record
Vendtable→VendTableJoin on
PdsRebatePayTo = VendTable.AccountNumZero or one PdsRebateTable record → zero or one VendTable record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany PdsRebateTable records → exactly one CustTable record
Get this data out
Tables are not exposed directly. These public entities read from PdsRebateTable; use one of them in Power BI, Power Platform or a data management project.
SalesRebateEntity· 42 fields from this table
Need help with PdsRebateTable in a report, an integration or a migration? Talk to Dr Dynamics.