Data entity
SalesRebateEntity
Read-only customer rebate records, keyed by rebate ID. Each record shows customer, item, sales order, invoice date, quantity, sales amount and rebate balance. It also holds accrual and expense accounts, status and the link to the agreement.
- Entity name
SalesRebateEntity- Public entity name
CustomerRebate- OData collection
CustomerRebates- Category
Transaction- Module
Sales and marketing- Read-only
Yes- Data management enabled
Yes- Configuration key
PdsRebate- Keys
RebateId- Staging table
SalesRebateStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CustomerRebates- Dataverse virtual table
mserp_salesrebateentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PdsRebateTable· rootCustInvoiceTrans· OuterJoin toPdsRebateTable· read-onlyPdsRebateAgreement· OuterJoin toPdsRebateTable· read-onlyPdsRebateAgreementLine· OuterJoin toPdsRebateAgreement· read-onlySalesLineRef(tableSalesLine) · OuterJoin toPdsRebateTable· read-onlySalesTableRef(tableSalesTable) · OuterJoin toPdsRebateTable· read-onlyAccrualDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toPdsRebateTable· read-onlyAccrualMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toPdsRebateTable· read-onlyExpenseDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toPdsRebateTable· read-onlyExpenseMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toPdsRebateTable· read-only
Fields (51)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CurrencyCodeThe currency code of the rebate. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | PdsRebateTable.CurrencyCode |
CustomerAccountNumberThe customer account of the rebate. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | PdsRebateTable.CustAccount |
SalesInvoiceLineRecIdThe customer invoice line linked to the rebate. | Int64PdsCustInvoiceTransRefRecId | No | No (private) | CustInvoiceTrans.RecId | PdsRebateTable.custInvoiceTransRefRecId |
SalesInvoiceLineCreationSequenceNumberNumber showing the order in which lines were created. | IntegerCustInvoiceLineCreationSequenceNumber | No | Yes | CustInvoiceTrans.LineCreationSequenceNumber | |
DefaultAccrualLedgerDimensionThe default financial dimensions of the rebate. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | PdsRebateTable.DefaultDimension |
DefaultAccrualLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
SalesOrderLineInventoryLotIdThe lot ID that links to the inventory transaction. | String (20)InventTransId | No | Yes | InventTransOrigin.InventTransId | PdsRebateTable.InventTransId |
ItemNumberThe item that the rebate relates to. | String (20)ItemId | No | Yes | InventTable.ItemId | PdsRebateTable.ItemId |
DefaultAccrualMainAccountIdThe default accrual account, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | PdsRebateTable.LedgerDimension |
DefaultAccrualMainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DefaultExpenseLedgerDimensionThe financial dimensions for the offset side. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | PdsRebateTable.OffsetDefaultDimension |
DefaultExpenseLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DefaultExpenseMainAccountIdThe default expense account, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | PdsRebateTable.OffsetLedgerDimension |
DefaultExpenseMainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
CorrectedRebateAmountThe corrected rebate amount. | RealPdsCorrectedRebateAmt | No | Yes | PdsRebateTable.PdsCorrectedRebateAmt | |
SalesInvoiceRecIdThe customer invoice journal record linked to the rebate. | Int64PdsCustInvoiceJourRefRecId | No | No (private) | CustInvoiceJour.RecId | PdsRebateTable.PdsCustInvoiceJourRefRecId |
CustomersOrderReferenceThe customer's own reference. | String (30)PdsCustomerRef | No | Yes | PdsRebateTable.PdsCustomerRef | |
SalesRebateCustomerGroupIdThe customer rebate group of the rebate. | String (20)PdsCustRebateGroupId | No | Yes | PdsCustRebateGroup.PdsCustRebateGroupId | PdsRebateTable.PdsCustRebateGroupId |
InvoicedCatchWeightQuantityThe invoiced quantity in the catch weight unit. | RealPdsCWInventQty | No | Yes | PdsRebateTable.PdsCWSalesInvoicedQty | |
SalesRebateProductGroupIdThe item rebate group of the rebate. | StringPdsItemRebateGroupId | No | Yes | PdsItemRebateGroup.PdsItemRebateGroupId | PdsRebateTable.PdsItemRebateGroupId |
IsCreditRebateYes/no flag that marks the rebate for credit. | Enum
| No | Yes | PdsRebateTable.PdsMarkForCredit | |
PaymentTypeHow the rebate is paid, such as through accounts payable, customer deductions or freight. | Enum
| No | Yes | PdsRebateTable.PdsPaymtType | |
AccountingDateThe date when the rebate was processed. | DatePdsProcessDate | No | Yes | PdsRebateTable.PdsProcessDate | |
RebateAdjustmentDateThe date of the rebate adjustment. | DatePdsRebateAdjustmentDate | No | Yes | PdsRebateTable.PdsRebateAdjustmentDate | |
RebateAgreementRefRecIdThe rebate agreement that the rebate comes from. | Int64PdsRebateAgreementRefRecId | No | No (private) | PdsRebateAgreement.RecId | PdsRebateTable.PdsRebateAgreementRefRecId |
ValueTypeHow the rebate value is expressed: amount per unit, fixed amount or percentage. | Enum
| No | No (private) | PdsRebateTable.PdsRebateAmtType | |
RebateBalanceAmountThe balance amount of the rebate; currency not stated in the metadata. | RealPdsRebateBalance | No | Yes | PdsRebateTable.PdsRebateBalance | |
RebateIdUnique ID of the rebate. | String (12)PdsRebateId | No | Yes | PdsRebateTable.PdsRebateId | |
VoucherNumberThe reference of the posting journal. | StringPdsJournalRefNum | No | Yes | PdsRebateTable.PdsRebateJournalRefNum | |
VendorAccountNumberThe vendor account that the rebate is paid to. | String (20)PdsRebatePayTo | No | Yes | VendTable.AccountNum | PdsRebateTable.PdsRebatePayTo |
RebateStatusThe stage of the rebate, such as to be calculated, calculated, approved, completed or cancelled. | Enum
| No | Yes | PdsRebateTable.PdsRebateStatus | |
SalesRebateProgramTypeIdThe rebate program that the rebate uses. | StringPdsRebateType | No | Yes | PdsRebate.PdsRebateType | PdsRebateTable.PdsRebateType |
StartingRebateAmountThe starting rebate amount; currency not stated in the metadata. | RealPdsStartingRebateAmt | No | Yes | PdsRebateTable.PdsStartingRebateAmt | |
RebateCalculationDateThe date used for the rebate calculation. | DatePdsRebateCalcDate | No | Yes | PdsRebateTable.RebateCalcDate | |
RebateAgreementLineRefRecIdThe rebate agreement line that the rebate comes from. | Int64PdsRebateAgreementRefRecId | No | No (private) | PdsRebateAgreementLine.RecId | PdsRebateTable.RebateAgreementLineRefRecId |
RebateSalesAmountThe sales amount the rebate is based on; currency not stated in the metadata. | RealSalesAmount | No | Yes | PdsRebateTable.SalesAmount | |
SalesOrderNumberThe sales order that the rebate relates to. | String (20)SalesId | No | Yes | SalesTable.SalesId | PdsRebateTable.SalesId |
SalesInvoiceDateThe date of the invoice. | DateInvoiceDate | No | Yes | PdsRebateTable.SalesInvoiceDate | |
InvoicedSalesQuantityThe invoiced quantity. | RealSalesInvoicedQty | No | Yes | PdsRebateTable.SalesInvoicedQty | |
SalesInvoiceNumberThe invoice that the rebate relates to. | String (20)SalesInvoiceId | No | Yes | PdsRebateTable.SalesInvoiceId | |
SalesLineRecIdThe sales order line that the rebate relates to. | Int64PdsSalesLineRefRecId | No | No (private) | SalesLine.RecId | PdsRebateTable.SalesLineRefRecId |
SalesLineAmountThe net extended price of the sales line. | RealPdsSalesNetExtdPrice | No | Yes | PdsRebateTable.SalesNetExtendedPrice | |
SalesPriceQuantityThe price unit of the sales line. | RealPriceUnit | No | Yes | PdsRebateTable.SalesPriceUnit | |
SalesTableRefRecIdThe sales order record that the rebate relates to. | Int64PdsSalesTableRefRecId | No | No (private) | SalesTable.RecId | PdsRebateTable.SalesTableRefRecId |
TradeAllowanceAgreementMerchandisingEventIdThe merchandising event linked to the rebate. | StringMCRMerchandisingEventID | No | Yes | TAMMerchandisingEvent.MerchandisingEventID | PdsRebateTable.TAMMerchandisingEventID |
SalesTaxGroupCodeThe sales tax group of the rebate. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | PdsRebateTable.TaxGroup |
SalesTaxItemGroupCodeThe item sales tax group of the rebate. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | PdsRebateTable.TaxItemGroup |
RebateAmountPerProductUnitSoldRebate value given for each product unit sold. | RealPdsRebateValue | No | Yes | computed | |
FixedRebateAmountFixed rebate value. | RealPdsRebateValue | No | Yes | computed | |
RebatePercentageRebate expressed as a percentage. | RealPdsRebateValue | No | Yes | computed | |
SalesRebateAgreementIdUnique ID of the rebate agreement. | String (20)PdsRebateAgreementId | No | Yes | PdsRebateAgreement.RebateAgreementId |
Foreign keys (22)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many PdsRebateTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
CustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many PdsRebateTable records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
SalesInvoiceLineRecId→CustInvoiceTrans.RecId(key of CustInvoiceTrans)Many PdsRebateTable records → zero or one CustInvoiceTrans record
CustInvoiceTrans details: see BusinessDocumentSalesInvoiceLineItemEntity, BusinessDocumentInvoicedPackingSlipLineV3Entity, BusinessDocumentNonStockedPackingSlipLineV3Entity
DefaultAccrualLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many PdsRebateTable records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
SalesOrderLineInventoryLotId→InventTransOrigin.InventTransId(key of InventTransOrigin)Many PdsRebateTable records → exactly one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
ItemNumber→InventTable.ItemId(key of InventTable)Many PdsRebateTable records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
DefaultAccrualMainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many PdsRebateTable records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
DefaultExpenseLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many PdsRebateTable records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
DefaultExpenseMainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many PdsRebateTable records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
SalesInvoiceRecId→CustInvoiceJour.RecId(key of CustInvoiceJour)Many PdsRebateTable records → zero or one CustInvoiceJour record
CustInvoiceJour details: see BusinessDocumentSalesInvoiceBaseEntity, ReturnInvoiceHeaderCDSEntity, SalesInvoiceHeaderV4Entity
SalesRebateCustomerGroupId→PdsCustRebateGroup.PdsCustRebateGroupId(key of PdsCustRebateGroup)Many PdsRebateTable records → zero or one PdsCustRebateGroup record
Not exposed by a public entity.
SalesRebateProductGroupId→PdsItemRebateGroup.PdsItemRebateGroupId(key of PdsItemRebateGroup)Many PdsRebateTable records → zero or one PdsItemRebateGroup record
Not exposed by a public entity.
RebateAgreementRefRecId→PdsRebateAgreement.RecId(key of PdsRebateAgreement)Many PdsRebateTable records → zero or one PdsRebateAgreement record
PdsRebateAgreement details: see SalesRebateAgreementHeaderV2Entity, TAMTradeAllowanceAgreementMerchandisingEventBillBackEntity, SalesRebateAgreementLineEntity
VendorAccountNumber→VendTable.AccountNum(key of VendTable)Zero or one PdsRebateTable record → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
SalesRebateProgramTypeId→PdsRebate.PdsRebateType(key of PdsRebate)Many PdsRebateTable records → exactly one PdsRebate record
PdsRebate details: see SalesRebateAgreementHeaderV2Entity, TAMTradeAllowanceAgreementMerchandisingEventBillBackEntity
RebateAgreementLineRefRecId→PdsRebateAgreementLine.RecId(key of PdsRebateAgreementLine)Many PdsRebateTable records → zero or one PdsRebateAgreementLine record
PdsRebateAgreementLine details: see SalesRebateAgreementLineEntity, TAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
SalesOrderNumber→SalesTable.SalesId(key of SalesTable)Many PdsRebateTable records → zero or one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
SalesLineRecId→SalesLine.RecId(key of SalesLine)Exactly one PdsRebateTable record → zero or one SalesLine record
SalesLine details: see SalesOrderLineV2Entity, SalesOrderLineV3Entity, ProjSalesItemRequirementEntity
SalesTableRefRecId→SalesTable.RecId(key of SalesTable)Many PdsRebateTable records → zero or one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
TradeAllowanceAgreementMerchandisingEventId→TAMMerchandisingEvent.MerchandisingEventID(key of TAMMerchandisingEvent)Many PdsRebateTable records → zero or one TAMMerchandisingEvent record
TAMMerchandisingEvent details: see TAMTradeAllowanceAgreementMerchandisingEventEntity, TAMTradeAllowanceAgreementMerchandisingEventBillBackEntity, TAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many PdsRebateTable records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
SalesTaxItemGroupCode→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many PdsRebateTable records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
Need help with SalesRebateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.