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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PdsRebateIdUnique ID of the rebate.String (12)
PdsRebateId
YesSalesRebateEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeThe currency code of the rebate.String (3)
CurrencyCode
YesCurrency.CurrencyCodeSalesRebateEntity
CustAccountThe customer account of the rebate.String (20)
CustAccount
YesCustTable.AccountNumSalesRebateEntity
custInvoiceTransRefRecIdThe customer invoice line linked to the rebate.Int64
PdsCustInvoiceTransRefRecId
NoCustInvoiceTrans.RecIdSalesRebateEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionThe default financial dimensions of the rebate.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdSalesRebateEntity
InventTransIdThe lot ID that links to the inventory transaction.String (20)
InventTransId
NoInventTransOrigin.InventTransIdSalesRebateEntity
ItemIdThe item that the rebate relates to.String (20)
ItemId
NoInventTable.ItemIdSalesRebateEntity
LedgerDimensionThe default accrual account, held as a dimension combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdSalesRebateEntity
OffsetDefaultDimensionThe financial dimensions for the offset side.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdSalesRebateEntity
OffsetLedgerDimensionThe default expense account, held as a dimension combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdSalesRebateEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCorrectedRebateAmtThe corrected rebate amount.Real
PdsCorrectedRebateAmt
NoSalesRebateEntity
PdsCustInvoiceJourRefRecIdThe customer invoice journal record linked to the rebate.Int64
PdsCustInvoiceJourRefRecId
NoCustInvoiceJour.RecIdSalesRebateEntity
PdsCustomerRefThe customer's own reference.String (30)
PdsCustomerRef
NoSalesRebateEntity
PdsCustRebateGroupIdThe customer rebate group of the rebate.String (20)
PdsCustRebateGroupId
NoPdsCustRebateGroup.PdsCustRebateGroupIdSalesRebateEntity
PdsCWSalesInvoicedQtyThe invoiced quantity in the catch weight unit.Real
PdsCWInventQty
NoSalesRebateEntity
PdsItemRebateGroupIdThe item rebate group of the rebate.String
PdsItemRebateGroupId
NoPdsItemRebateGroup.PdsItemRebateGroupIdSalesRebateEntity
PdsMarkForCreditYes/no flag that marks the rebate for credit.Enum
NoYes (enum)
NoSalesRebateEntity
PdsPaymtTypeHow the rebate is paid, such as through accounts payable, customer deductions or freight.Enum
PdsPaymtType (enum)
NoSalesRebateEntity
PdsProcessDateThe date when the rebate was processed.Date
PdsProcessDate
NoSalesRebateEntity
PdsRebateAdjustmentDateThe date of the rebate adjustment.Date
PdsRebateAdjustmentDate
NoSalesRebateEntity
PdsRebateAgreementRefRecIdThe rebate agreement that the rebate comes from.Int64
PdsRebateAgreementRefRecId
NoPdsRebateAgreement.RecIdSalesRebateEntity
PdsRebateAmtThe consumed rebate amount; currency not stated in the metadata.Real
PdsRebateAmt
NoNone
PdsRebateAmtTypeHow the rebate value is expressed: amount per unit, fixed amount or percentage.Enum
PdsRebateAmtType (enum)
NoSalesRebateEntity
PdsRebateBalanceThe balance amount of the rebate; currency not stated in the metadata.Real
PdsRebateBalance
NoSalesRebateEntity
PdsRebateJournalRefNumThe reference of the posting journal.String
PdsJournalRefNum
NoSalesRebateEntity
PdsRebatePayToThe vendor account that the rebate is paid to.String (20)
PdsRebatePayTo
NoVendTable.AccountNumSalesRebateEntity
PdsRebateStatusThe stage of the rebate, such as to be calculated, calculated, approved, completed or cancelled.Enum
PdsRebateStatus (enum)
NoSalesRebateEntity
PdsRebateTypeThe rebate program that the rebate uses.String
PdsRebateType
NoPdsRebate.PdsRebateTypeSalesRebateEntity
PdsRebateValueThe rebate value, read with the amount type.Real
PdsRebateValue
NoNone
PdsStartingRebateAmtThe starting rebate amount; currency not stated in the metadata.Real
PdsStartingRebateAmt
NoSalesRebateEntity
RebateAgreementLineRefRecIdThe rebate agreement line that the rebate comes from.Int64
PdsRebateAgreementRefRecId
NoPdsRebateAgreementLine.RecIdSalesRebateEntity
RebateCalcDateThe date used for the rebate calculation.Date
PdsRebateCalcDate
NoSalesRebateEntity
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
SalesAmountThe sales amount the rebate is based on; currency not stated in the metadata.Real
SalesAmount
NoSalesRebateEntity
SalesIdThe sales order that the rebate relates to.String (20)
SalesId
NoSalesTable.SalesIdSalesRebateEntity
SalesInvoiceDateThe date of the invoice.Date
InvoiceDate
NoSalesRebateEntity
SalesInvoicedQtyThe invoiced quantity.Real
SalesInvoicedQty
NoSalesRebateEntity
SalesInvoiceIdThe invoice that the rebate relates to.String (20)
SalesInvoiceId
NoSalesRebateEntity
SalesLineRefRecIdThe sales order line that the rebate relates to.Int64
PdsSalesLineRefRecId
NoSalesLine.RecIdSalesRebateEntity
SalesNetExtendedPriceThe net extended price of the sales line.Real
PdsSalesNetExtdPrice
NoSalesRebateEntity
SalesPriceUnitThe price unit of the sales line.Real
PriceUnit
NoSalesRebateEntity
SalesTableRefRecIdThe sales order record that the rebate relates to.Int64
PdsSalesTableRefRecId
NoSalesTable.RecIdSalesRebateEntity
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
TAMMerchandisingEventIDThe merchandising event linked to the rebate.String
MCRMerchandisingEventID
NoTAMMerchandisingEvent.MerchandisingEventIDSalesRebateEntity
TaxGroupThe sales tax group of the rebate.String
TaxGroup
NoTaxGroupHeading.TaxGroupSalesRebateEntity
TaxItemGroupThe item sales tax group of the rebate.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupSalesRebateEntity

Indexes (4)

Relations (24)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PdsRebateTable records → exactly one Currency record

  • CustInvoiceJour → CustInvoiceJour

    Join on PdsCustInvoiceJourRefRecId = CustInvoiceJour.RecId

    Many PdsRebateTable records → zero or one CustInvoiceJour record

  • CustInvoiceJourInvoiceId → CustInvoiceJour

    Join on SalesInvoiceId = CustInvoiceJour.InvoiceId

    Many PdsRebateTable records → zero or one CustInvoiceJour record

  • CustInvoiceJourRef → CustInvoiceJour

    Join on PdsCustInvoiceJourRefRecId = CustInvoiceJour.RecId

    Many PdsRebateTable records → zero or one CustInvoiceJour record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on custInvoiceTransRefRecId = CustInvoiceTrans.RecId

    Many PdsRebateTable records → zero or one CustInvoiceTrans record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PdsRebateTable records → zero or one DimensionAttributeValueSet record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PdsRebateTable records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many PdsRebateTable records → exactly one InventTransOrigin record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many PdsRebateTable records → exactly one DimensionAttributeValueCombination record

  • OffsetDefaultDimension → DimensionAttributeValueSet

    Join on OffsetDefaultDimension = DimensionAttributeValueSet.RecId

    Many PdsRebateTable records → zero or one DimensionAttributeValueSet record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many PdsRebateTable records → exactly one DimensionAttributeValueCombination record

  • PdsCustRebateGroup → PdsCustRebateGroup

    Join on PdsCustRebateGroupId = PdsCustRebateGroup.PdsCustRebateGroupId

    Many PdsRebateTable records → zero or one PdsCustRebateGroup record

  • PdsItemRebateGroup → PdsItemRebateGroup

    Join on PdsItemRebateGroupId = PdsItemRebateGroup.PdsItemRebateGroupId

    Many PdsRebateTable records → zero or one PdsItemRebateGroup record

  • PdsRebate → PdsRebate

    Join on PdsRebateType = PdsRebate.PdsRebateType

    Many PdsRebateTable records → exactly one PdsRebate record

  • PdsRebateAgreement → PdsRebateAgreement

    Join on PdsRebateAgreementRefRecId = PdsRebateAgreement.RecId

    Many PdsRebateTable records → zero or one PdsRebateAgreement record

  • PdsRebateAgreementLine → PdsRebateAgreementLine

    Join on RebateAgreementLineRefRecId = PdsRebateAgreementLine.RecId

    Many PdsRebateTable records → zero or one PdsRebateAgreementLine record

  • SalesLineRef → SalesLine

    Join on SalesLineRefRecId = SalesLine.RecId

    Exactly one PdsRebateTable record → zero or one SalesLine record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many PdsRebateTable records → zero or one SalesTable record

  • SalesTableRef → SalesTable

    Join on SalesTableRefRecId = SalesTable.RecId

    Many PdsRebateTable records → zero or one SalesTable record

  • TAMMerchandisingEvent → TAMMerchandisingEvent

    Join on TAMMerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventID

    Many PdsRebateTable records → zero or one TAMMerchandisingEvent record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many PdsRebateTable records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many PdsRebateTable records → zero or one TaxItemGroupHeading record

  • Vendtable → VendTable

    Join on PdsRebatePayTo = VendTable.AccountNum

    Zero or one PdsRebateTable record → zero or one VendTable record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

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

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

Email sales@drdynamics.co.uk