Data entity

MarkupPeriodChargeRuleLineCustomerEntity

Lines of a period charge rule, keyed by rule name and line number. Each line holds a monetary threshold with its currency, a quantity threshold with its unit, a charge code and a charge amount with its own currency. It also holds a dimension combination display value. The linked rule header supplies the rule name, type and description.

Entity name
MarkupPeriodChargeRuleLineCustomerEntity
Public entity name
PeriodChargeRuleLineCustomer
OData collection
PeriodChargeRuleLineCustomers
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
Markup
Keys
RuleName, LineNumber
Staging table
MarkupPeriodChargeRuleLineCustomerStaging

Use it in Power BI and Power Platform

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

  • MarkupPeriodChargeRuleLine · root
  • PeriodChargeRule (table MarkupPeriodChargeRule) · InnerJoin to MarkupPeriodChargeRuleLine · read-only
  • DefaultRevenueAccountDAVC (table DimensionCombinationEntity) · OuterJoin to MarkupPeriodChargeRuleLine · read-only

Fields (15)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RuleNameName of the period charge rule.String (20)
MarkupPeriodChargeRuleName
YesYesMarkupPeriodChargeRule.RuleName
RuleLineTypeType of rule line, such as monetary threshold or quantity threshold.Enum
MarkupPeriodChargeRuleLineTypeId
MarkupPeriodChargeRuleLineType
  • MonetaryThreshold 0
  • QuantityThreshold 1
  • QuantityThresholdMinAmount 2
YesYesMarkupPeriodChargeRuleLine.RuleLineType
RuleLineDescriptionText placed on the free text invoice line that the rule line creates.String (255)
MarkupPeriodChargeRuleLineDescription
NoYesMarkupPeriodChargeRuleLine.Description
LineNumberNumber of the line within the rule.Real
LineNum
NoYesMarkupPeriodChargeRuleLine.LineNum
MonetaryThresholdMonetary threshold at which the line applies.Real
MarkupPeriodChargeRuleMonetaryThreshold
NoYesMarkupPeriodChargeRuleLine.MonetaryThreshold
SalesCurrencyCodeCurrency of the monetary threshold. Points to a currency record.String (3)
MarkupPeriodChargeRuleCurrencyCode
NoYesCurrency.CurrencyCodeMarkupPeriodChargeRuleLine.CurrencyCode
SalesChargeCodeCharge code the line applies to, such as freight or handling.String
MarkupPeriodChargeRuleChargeCode
NoYesMarkupPeriodChargeRuleLine.ChargeCode
DebitChargeAmountOnlyYes/No flag. When Yes, only debit charge amounts count towards the monetary threshold.Enum
MarkupPeriodChargeRuleDebitChargeAmountOnly
NoYes

Platform enum: values not in the metadata extract.

NoYesMarkupPeriodChargeRuleLine.DebitChargeAmountOnly
QuantityThresholdQuantity threshold at which the line applies.Real
MarkupPeriodChargeRuleQuantityThreshold
NoYesMarkupPeriodChargeRuleLine.QuantityThreshold
UnitSymbolUnit of measure of the quantity threshold. Points to a unit record.String
MarkupPeriodChargeRuleUnitSymbol
NoYesUnitOfMeasure.SymbolMarkupPeriodChargeRuleLine.UnitSymbol
DebitQuantityOnlyYes/No flag. When Yes, only debit quantities count towards the quantity threshold.Enum
MarkupPeriodChargeRuleDebitQuantityOnly
NoYes

Platform enum: values not in the metadata extract.

NoYesMarkupPeriodChargeRuleLine.DebitQuantityOnly
ChargeAmountFixed fee charged to the customer for a period in which the rule line's quantity threshold is missed. It appears on the customer's free text invoice line.low confidenceReal
MarkupPeriodChargeRuleChargeAmount
NoYesMarkupPeriodChargeRuleLine.ChargeAmount
ChargeAmountCurrencyCodeCurrency of the charge amount. Points to a currency record.String (3)
MarkupPeriodChargeRuleAmountCurrencyCode
NoYesCurrency.CurrencyCodeMarkupPeriodChargeRuleLine.AmountCurrencyCode
DefaultRevenueAccountRevenue account placed on the free text invoice line that the rule line creates. It points to a dimension code combination.Int64
MarkupPeriodChargeRuleDefaultRevenueAccount
YesNo (private)DimensionAttributeValueCombination.RecIdMarkupPeriodChargeRuleLine.DefaultRevenueAccount
DefaultRevenueAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

Foreign keys (4)

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 MarkupPeriodChargeRuleLineCustomerEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk