Table
MarkupPeriodChargeRuleLine
Period charge rule line
Holds the lines of a period charge rule. The key is the rule and the line number. A line sets either a monetary or a quantity threshold, with the charge code, currency, unit and charge amount. It can also hold a revenue account and a description.
- Table name
MarkupPeriodChargeRuleLine- Module
Accounts receivable- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Markup- Primary index
RuleLineIdx- Replacement key
RuleLineIdx- Key fields
PeriodChargeRule, LineNum- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PeriodChargeRulePeriod charge rule that this line belongs to. Points to a rule record. | Int64MarkupPeriodChargeRuleRecId | Yes | MarkupPeriodChargeRule.RecId | None |
LineNumNumber of the line within the rule. | RealLineNum | No | MarkupPeriodChargeRuleLineCustomerEntity | |
AmountCurrencyCodeCurrency of the charge amount. Points to a currency record. | String (3)MarkupPeriodChargeRuleAmountCurrencyCode | No | Currency.CurrencyCode | MarkupPeriodChargeRuleLineCustomerEntity |
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 | MarkupPeriodChargeRuleLineCustomerEntity | |
ChargeCodeCharge code the line applies to, such as freight or handling. | StringMarkupPeriodChargeRuleChargeCode | No | MarkupPeriodChargeRuleLineCustomerEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CurrencyCodeCurrency of the monetary threshold. Points to a currency record. | String (3)MarkupPeriodChargeRuleCurrencyCode | No | Currency.CurrencyCode | MarkupPeriodChargeRuleLineCustomerEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitChargeAmountOnlyYes/No flag. When Yes, only debit charge amounts count towards the monetary threshold. | EnumMarkupPeriodChargeRuleDebitChargeAmountOnlyNoYes (enum) | No | MarkupPeriodChargeRuleLineCustomerEntity | |
DebitQuantityOnlyYes/No flag. When Yes, only debit quantities count towards the quantity threshold. | EnumMarkupPeriodChargeRuleDebitQuantityOnlyNoYes (enum) | No | MarkupPeriodChargeRuleLineCustomerEntity | |
DefaultRevenueAccountRevenue account placed on the free text invoice line that the rule line creates. It points to a dimension code combination. | Int64MarkupPeriodChargeRuleDefaultRevenueAccount | Yes | DimensionAttributeValueCombination.RecId | MarkupPeriodChargeRuleLineCustomerEntity |
DescriptionText placed on the free text invoice line that the rule line creates. | String (255)MarkupPeriodChargeRuleLineDescription | No | MarkupPeriodChargeRuleLineCustomerEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
MonetaryThresholdMonetary threshold at which the line applies. | RealMarkupPeriodChargeRuleMonetaryThreshold | No | MarkupPeriodChargeRuleLineCustomerEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuantityThresholdQuantity threshold at which the line applies. | RealMarkupPeriodChargeRuleQuantityThreshold | No | MarkupPeriodChargeRuleLineCustomerEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RuleLineTypeType of rule line, such as monetary threshold or quantity threshold. | EnumMarkupPeriodChargeRuleLineTypeIdMarkupPeriodChargeRuleLineType (enum) | Yes | MarkupPeriodChargeRuleLineCustomerEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitSymbolUnit of measure of the quantity threshold. Points to a unit record. | StringMarkupPeriodChargeRuleUnitSymbol | No | UnitOfMeasure.Symbol | MarkupPeriodChargeRuleLineCustomerEntity |
Indexes (1)
RuleLineIdxPrimary indexReplacement keyUnique, alternate key.
Relations (6)
Each relation joins MarkupPeriodChargeRuleLine to another table on the fields shown.
CustomerMarkupTable→MarkupTableJoin on
ChargeCode = MarkupTable.MarkupCode,MarkupTable.ModuleType = MarkupModuleType::CustMany MarkupPeriodChargeRuleLine records → zero or one MarkupTable record
PeriodChargeRule→MarkupPeriodChargeRuleJoin on
PeriodChargeRule = MarkupPeriodChargeRule.RecIdMany MarkupPeriodChargeRuleLine records → exactly one MarkupPeriodChargeRule record
DefaultRevenueAccount→DimensionAttributeValueCombinationJoin on
DefaultRevenueAccount = DimensionAttributeValueCombination.RecIdMany MarkupPeriodChargeRuleLine records → zero or one DimensionAttributeValueCombination record
CurrencyCode→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany MarkupPeriodChargeRuleLine records → exactly one Currency record
UnitOfMeasure→UnitOfMeasureJoin on
UnitSymbol = UnitOfMeasure.SymbolMany MarkupPeriodChargeRuleLine records → zero or one UnitOfMeasure record
AmountCurrencyCode→CurrencyJoin on
AmountCurrencyCode = Currency.CurrencyCodeMany MarkupPeriodChargeRuleLine records → zero or one Currency record
Get this data out
Tables are not exposed directly. These public entities read from MarkupPeriodChargeRuleLine; use one of them in Power BI, Power Platform or a data management project.
MarkupPeriodChargeRuleLineCustomerEntity· 13 fields from this table
Need help with MarkupPeriodChargeRuleLine in a report, an integration or a migration? Talk to Dr Dynamics.