Data entity

SalesRebateAgreementLineEntity

Customer rebate agreement lines, keyed by rebate agreement ID and line number. Each line holds quantity and amount ranges, a unit and rebate values. The values can be a rate per unit, a fixed amount or a percentage.

Entity name
SalesRebateAgreementLineEntity
Public entity name
SalesRebateAgreementLine
OData collection
SalesRebateAgreementLines
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
PdsRebate
Keys
RebateAgreementId, LineNumber
Staging table
SalesRebateAgreementLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesRebateAgreementLines
Dataverse virtual table
mserp_salesrebateagreementlineentity. 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

  • PdsRebateAgreementLine · root
  • PdsRebateAgreement · InnerJoin to PdsRebateAgreementLine · read-only
  • Verifier (table HcmWorker) · OuterJoin to PdsRebateAgreement · read-only

Fields (21)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CurrencyCodeThe currency code of the line.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePdsRebateAgreementLine.Currency
LineNumberNumber that orders the lines within an agreement.Real
LineNum
YesYesPdsRebateAgreementLine.LineNum
RebateAgreementRefRecIdThe rebate agreement that the line belongs to.Int64
PdsRebateAgreementRefRecId
YesNo (private)PdsRebateAgreement.RecIdPdsRebateAgreementLine.RebateAgreementRefRecId
ValueTypeHow the rebate value is expressed: amount per unit, fixed amount or percentage.Enum
PdsRebateAmtType
  • AmountPerUnit 0
  • FixedAmount 1
  • Percentage 2
NoNo (private)PdsRebateAgreementLine.RebateAmtType
FromAmountThe lower end of the amount range.Real
PDSRebateFromAmount
NoNo (private)PdsRebateAgreementLine.RebateFromAmount
FromSalesQuantityThe lower end of the quantity range.Real
PdsRebateFromQty
NoYesPdsRebateAgreementLine.RebateFromQty
ToAmountThe upper end of the amount range.Real
PDSRebateToAmount
NoNo (private)PdsRebateAgreementLine.RebateToAmount
ToSalesQuantityThe upper end of the quantity range.Real
PdsRebateToQty
NoYesPdsRebateAgreementLine.RebateToQty
ProductUnitSymbolThe unit of measure of the line.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolPdsRebateAgreementLine.RebateUnit
ValueThe rebate value, read with the amount type.Real
PdsRebateValue
YesNo (private)PdsRebateAgreementLine.RebateValue
RebateAmountPerProductUnitSoldRebate value given for each product unit sold.Real
PdsRebateValue
NoYescomputed
FixedRebateAmountFixed rebate value for the line.Real
PdsRebateValue
NoYescomputed
RebatePercentageRebate expressed as a percentage.Real
PdsRebateValue
NoYescomputed
RebateAgreementIdUnique ID of the rebate agreement.String (20)
PdsRebateAgreementId
NoYesPdsRebateAgreement.RebateAgreementId
AmountTakenFromSays whether the rebate is taken from the gross or the net value.Enum
PdsRebateTakenFrom
  • Gross 0
  • Net 1
NoNo (private)PdsRebateAgreement.PdsRebateTakenFrom
FromNetSalesAmountLower limit of the net sales amount range for this line.Real
PDSRebateFromAmount
NoYescomputed
FromGrossSalesAmountLower limit of the gross sales amount range for this line.Real
PDSRebateFromAmount
NoYescomputed
ToNetSalesAmountUpper limit of the net sales amount range for this line.Real
PDSRebateToAmount
NoYescomputed
ToGrossSalesAmountUpper limit of the gross sales amount range for this line.Real
PDSRebateToAmount
NoYescomputed
IsValidatedYes/no flag showing whether the agreement is validated.Enum
PdsRebateValidated
NoYes

Platform enum: values not in the metadata extract.

NoYesPdsRebateAgreement.Validated
ValidatingWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber

Foreign keys (3)

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.

Need help with SalesRebateAgreementLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk