Data entity
SalesRebateAgreementHeaderV2Entity
Customer rebate agreement headers, keyed by rebate agreement ID. Each record holds payment type, validity dates, currency, minimum amount or quantity, approval status and rebate program. It also links to accrual and expense accounts and inventory dimensions.
- Entity name
SalesRebateAgreementHeaderV2Entity- Public entity name
SalesRebateAgreementHeaderV2- OData collection
SalesRebateAgreementHeadersV2- Category
Not set- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
PdsRebate- Keys
RebateAgreementId- Staging table
SalesRebateAgreementHeaderV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesRebateAgreementHeadersV2- Dataverse virtual table
mserp_salesrebateagreementheaderv2entity. 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
PdsRebateAgreement· rootVerifier(tableHcmWorker) · OuterJoin toPdsRebateAgreement· read-onlyAccrualMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toPdsRebateAgreement· read-onlyExpenseMainAccountIdDAVC(tableDimensionCombinationEntity) · OuterJoin toPdsRebateAgreement· read-onlyPdsRebate· InnerJoin toPdsRebateAgreement· read-onlyInventDim· InnerJoin toPdsRebateAgreement· read-only
Fields (45)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
IsTaxableYes/no flag showing whether the agreement is taxable. | Enum
| No | Yes | PdsRebateAgreement.IsTaxable | |
AccrualMainAccountIdThe accrual account of the rebate program, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | PdsRebateAgreement.LedgerDimension |
NoteFree-text note on the agreement. | String (-1)Notes | No | Yes | PdsRebateAgreement.Note | |
ExpenseMainAccountIdThe expense account of the rebate program, held as a dimension combination. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | PdsRebateAgreement.OffsetLedgerDimension |
IsApprovalRequiredYes/no flag showing whether approval is required. | Enum
| No | Yes | PdsRebateAgreement.PdsApprovalRequired | |
SalesCumulationMethodThe period over which sales are added up: invoice, week, month, year, custom period or lifetime. | Enum
| No | Yes | PdsRebateAgreement.PdsCumulateSalesBy | |
PdsCustRebateCodeSays whether the customer selection is one account, a group or all customers. | EnumPdsCustRebateCode
| No | No (private) | PdsRebateAgreement.PdsCustRebateCode | |
PdsCustRebateRelationThe customer, country/region or customer rebate group that the agreement applies to. | String (20)PdsCustRebateRelation | No | No (private) | CustTable.AccountNumLogisticsAddressCountryRegion.CountryRegionIdPdsCustRebateGroup.PdsCustRebateGroupIdPdsRebateProgramTMATable.PdsRebateProgramTMAGroup | PdsRebateAgreement.PdsCustRebateRelation |
ItemCodeSays whether the item selection is one item, a group, all items or a selection. | Enum
| No | No (private) | PdsRebateAgreement.PdsItemRebateCode | |
ItemRelationThe item, freight group or item rebate group that the agreement applies to. | String (20)PdsItemRebateRelation | No | No (private) | InventTable.ItemIdPdsFreightGroup.PdsFreightAllocationCodePdsItemRebateGroup.PdsItemRebateGroupId | PdsRebateAgreement.PdsItemRebateRelation |
PaymentTypeHow the rebate is paid, such as through accounts payable, customer deductions or freight. | Enum
| Yes | Yes | PdsRebateAgreement.PdsPaymtType | |
RebateBreakBasisSays whether the rebate line breaks are based on quantity or amount. | Enum
| No | Yes | PdsRebateAgreement.PdsRebateLineBreakType | |
MinimumSalesAmountQualifyingRebateThe minimum amount set on the agreement. | RealPdsRebateMinAmt | No | Yes | PdsRebateAgreement.PdsRebateMinAmt | |
MinimumSalesQuantityQualifyingRebateThe minimum quantity set on the agreement. | IntegerPdsMinQty | No | Yes | PdsRebateAgreement.PdsRebateMinQty | |
LineAmountBasisSays whether the rebate is taken from the gross or the net value. | Enum
| No | Yes | PdsRebateAgreement.PdsRebateTakenFrom | |
ProductUnitSymbolThe unit of measure used by the agreement. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | PdsRebateAgreement.PdsRebateUnit |
ProductUnitSymbolTypeSays whether the unit is the inventory unit or the catch weight unit. | Enum
| Yes | Yes | PdsRebateAgreement.PdsUnitType | |
CalculationSearchDateTypeThe order date used for the calculation: created, requested receipt or requested ship. | Enum
| No | Yes | PdsRebateAgreement.RebateCalcDateType | |
CurrencyCodeThe currency code of the agreement. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PdsRebateAgreement.RebateCurrency |
SalesCumulationMethodCustomizedPeriodTypeThe project period used when sales are added up over a custom period. | StringPdsRebateCustomizedPeriodType | No | Yes | ProjPeriodTable.PeriodId | PdsRebateAgreement.RebateCustomizedPeriodType |
IsGenericCurrencySearchEnabledYes/no flag for including a generic currency. | EnumPdsRebateGenericCurrency
| No | Yes | PdsRebateAgreement.RebateGenericCurrency | |
ProductUnitSymbolOptionWhether units are converted or must match exactly. | Enum
| No | No (private) | PdsRebateAgreement.RebateUOMOption | |
ApprovalStatusThe workflow approval status: not submitted, in review, approved or rejected. | Enum
| No | Yes | PdsRebateAgreement.TAMCustRebateApprovalStatus | |
IsValidatedYes/no flag showing whether the agreement is validated. | EnumPdsRebateValidated
| No | Yes | PdsRebateAgreement.Validated | |
ValidFromThe start date of the agreement. | DateValidFromDate | No | Yes | PdsRebateAgreement.ValidFrom | |
ValidToThe expiry date of the agreement. | DateValidToDate | No | Yes | PdsRebateAgreement.ValidTo | |
ValidatedByThe worker who validated the agreement. | Int64PdsRebateVerifier | No | No (private) | HcmWorker.RecId | PdsRebateAgreement.Verifier |
ValidatingWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
AccrualMainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ExpenseMainAccountIdDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
RebateProgramIdUnique ID of the rebate program. | StringPdsRebateType | Yes | Yes | PdsRebate.PdsRebateType | |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
QualifyingSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
QualifyingWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ItemNumberItem that the rebate agreement applies to. | String (20)ItemId | No | Yes | computed | |
CustomerAccountNumberCustomer account that the rebate agreement applies to. | String (20)CustAccount | No | Yes | computed | |
SalesRebateProductGroupIdItem rebate group that the agreement applies to. | StringPdsItemRebateGroupId | No | Yes | computed | |
SalesRebateCustomerGroupIdCustomer rebate group that the agreement applies to. | String (20)PdsCustRebateGroupId | No | Yes | computed | |
IsProductUnitSymbolExactYes/no flag about the product unit symbol. Its exact meaning is not stated in the metadata.low confidence | EnumNoYesId
| No | Yes | computed | |
IsProductSelectionUsedYes/no flag about product selection. Its exact meaning is not stated in the metadata.low confidence | EnumNoYesId
| No | Yes | computed | |
RebateAgreementIdUnique ID of the rebate agreement. | String (20)PdsRebateAgreementId | No | Yes | PdsRebateAgreement.RebateAgreementId |
Foreign keys (20)
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.
AccrualMainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many PdsRebateAgreement records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
ExpenseMainAccountId→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many PdsRebateAgreement records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
PdsCustRebateRelation→CustTable.AccountNum(key of CustTable)Relation also requires PdsCustRebateCode = TableGroupAll::Table.
Many PdsRebateAgreement records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
PdsCustRebateRelation→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Relation also requires PdsRebateProgramType = PdsRebateProgramType::Freight, PdsCustRebateCode = TableGroupAll::GroupId.
Many PdsRebateAgreement records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
PdsCustRebateRelation→PdsCustRebateGroup.PdsCustRebateGroupId(key of PdsCustRebateGroup)Relation also requires PdsRebateProgramType = PdsRebateProgramType::Rebate, PdsCustRebateCode = TableGroupAll::GroupId.
Many PdsRebateAgreement records → zero or one PdsCustRebateGroup record
Not exposed by a public entity.
PdsCustRebateRelation→PdsRebateProgramTMATable.PdsRebateProgramTMAGroup(key of PdsRebateProgramTMATable)Relation also requires PdsCustRebateCode = TableGroupAll::GroupId, PdsRebateProgramType = PdsRebateProgramType::TMA.
Many PdsRebateAgreement records → zero or one PdsRebateProgramTMATable record
Not exposed by a public entity.
ItemRelation→InventTable.ItemId(key of InventTable)Relation also requires PdsItemRebateCode = PdsRebateItemCode::Table.
Many PdsRebateAgreement records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ItemRelation→PdsFreightGroup.PdsFreightAllocationCode(key of PdsFreightGroup)Relation also requires PdsRebateProgramType = PdsRebateProgramType::Freight, PdsItemRebateCode = PdsRebateItemCode::GroupId.
Many PdsRebateAgreement records → zero or one PdsFreightGroup record
Not exposed by a public entity.
ItemRelation→PdsItemRebateGroup.PdsItemRebateGroupId(key of PdsItemRebateGroup)Relation also requires PdsRebateProgramType = PdsRebateProgramType::Rebate, PdsItemRebateCode = PdsRebateItemCode::GroupId.
Many PdsRebateAgreement records → zero or one PdsItemRebateGroup record
Not exposed by a public entity.
ProductUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PdsRebateAgreement records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many PdsRebateAgreement records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
SalesCumulationMethodCustomizedPeriodType→ProjPeriodTable.PeriodId(key of ProjPeriodTable)Many PdsRebateAgreement records → zero or one ProjPeriodTable record
ProjPeriodTable details: see ProjPeriodEntity, ResResourceSetupDataEntity, ProjPeriodLineEntity
ValidatedBy→HcmWorker.RecId(key of HcmWorker)Many PdsRebateAgreement records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
QualifyingSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
QualifyingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
Need help with SalesRebateAgreementHeaderV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.