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· rootPeriodChargeRule(tableMarkupPeriodChargeRule) · InnerJoin toMarkupPeriodChargeRuleLine· read-onlyDefaultRevenueAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toMarkupPeriodChargeRuleLine· read-only
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RuleNameName of the period charge rule. | String (20)MarkupPeriodChargeRuleName | Yes | Yes | MarkupPeriodChargeRule.RuleName | |
RuleLineTypeType of rule line, such as monetary threshold or quantity threshold. | EnumMarkupPeriodChargeRuleLineTypeId
| Yes | Yes | MarkupPeriodChargeRuleLine.RuleLineType | |
RuleLineDescriptionText placed on the free text invoice line that the rule line creates. | String (255)MarkupPeriodChargeRuleLineDescription | No | Yes | MarkupPeriodChargeRuleLine.Description | |
LineNumberNumber of the line within the rule. | RealLineNum | No | Yes | MarkupPeriodChargeRuleLine.LineNum | |
MonetaryThresholdMonetary threshold at which the line applies. | RealMarkupPeriodChargeRuleMonetaryThreshold | No | Yes | MarkupPeriodChargeRuleLine.MonetaryThreshold | |
SalesCurrencyCodeCurrency of the monetary threshold. Points to a currency record. | String (3)MarkupPeriodChargeRuleCurrencyCode | No | Yes | Currency.CurrencyCode | MarkupPeriodChargeRuleLine.CurrencyCode |
SalesChargeCodeCharge code the line applies to, such as freight or handling. | StringMarkupPeriodChargeRuleChargeCode | No | Yes | MarkupPeriodChargeRuleLine.ChargeCode | |
DebitChargeAmountOnlyYes/No flag. When Yes, only debit charge amounts count towards the monetary threshold. | EnumMarkupPeriodChargeRuleDebitChargeAmountOnly
| No | Yes | MarkupPeriodChargeRuleLine.DebitChargeAmountOnly | |
QuantityThresholdQuantity threshold at which the line applies. | RealMarkupPeriodChargeRuleQuantityThreshold | No | Yes | MarkupPeriodChargeRuleLine.QuantityThreshold | |
UnitSymbolUnit of measure of the quantity threshold. Points to a unit record. | StringMarkupPeriodChargeRuleUnitSymbol | No | Yes | UnitOfMeasure.Symbol | MarkupPeriodChargeRuleLine.UnitSymbol |
DebitQuantityOnlyYes/No flag. When Yes, only debit quantities count towards the quantity threshold. | EnumMarkupPeriodChargeRuleDebitQuantityOnly
| No | Yes | MarkupPeriodChargeRuleLine.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 confidence | RealMarkupPeriodChargeRuleChargeAmount | No | Yes | MarkupPeriodChargeRuleLine.ChargeAmount | |
ChargeAmountCurrencyCodeCurrency of the charge amount. Points to a currency record. | String (3)MarkupPeriodChargeRuleAmountCurrencyCode | No | Yes | Currency.CurrencyCode | MarkupPeriodChargeRuleLine.AmountCurrencyCode |
DefaultRevenueAccountRevenue account placed on the free text invoice line that the rule line creates. It points to a dimension code combination. | Int64MarkupPeriodChargeRuleDefaultRevenueAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | MarkupPeriodChargeRuleLine.DefaultRevenueAccount |
DefaultRevenueAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
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.
SalesCurrencyCode→Currency.CurrencyCode(key of Currency)Many MarkupPeriodChargeRuleLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
UnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many MarkupPeriodChargeRuleLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ChargeAmountCurrencyCode→Currency.CurrencyCode(key of Currency)Many MarkupPeriodChargeRuleLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DefaultRevenueAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many MarkupPeriodChargeRuleLine records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with MarkupPeriodChargeRuleLineCustomerEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.