Data entity
MarkupPeriodChargeRuleCustomerEntity
Holds period charge rules, keyed by rule name and valid-from date. Each rule has a description and an invoice date range. It also holds the account code and relation, site and warehouse that the rule applies to.
- Entity name
MarkupPeriodChargeRuleCustomerEntity- Public entity name
PeriodChargeRuleCustomer- OData collection
PeriodChargeRuleCustomers- Category
Not set- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
Markup- Keys
RuleName, ValidFrom- Staging table
MarkupPeriodChargeCustomerRuleStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PeriodChargeRuleCustomers- Dataverse virtual table
mserp_markupperiodchargerulecustomerentity. 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
MarkupPeriodChargeRule· root
Fields (9)
| 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 | |
RuleDescriptionShort description of the rule. | String (255)MarkupPeriodChargeRuleDescription | No | Yes | MarkupPeriodChargeRule.Description | |
ValidFromFirst invoice date on which the rule is valid. | DateMarkupPeriodChargeRuleValidFrom | No | Yes | MarkupPeriodChargeRule.ValidFrom | |
ValidToLast invoice date on which the rule is valid. | DateMarkupPeriodChargeRuleValidTo | No | Yes | MarkupPeriodChargeRule.ValidTo | |
CustomerAccountCodeScope of customers for the rule: all customers, or one customer. | EnumMarkupPeriodChargeRuleAccountCode
| No | Yes | MarkupPeriodChargeRule.AccountCode | |
ChargingCustomerAccountNumberCustomer account the rule applies to when the scope is a single customer. Points to a customer record. | String (20)MarkupPeriodChargeRuleAccountRelation | No | Yes | CustTable.AccountNum | MarkupPeriodChargeRule.AccountRelation |
SiteIdSite the rule is limited to. If blank, it applies to all sites. | StringMarkupPeriodChargeRuleInventSiteId | No | Yes | InventSite.SiteId | MarkupPeriodChargeRule.InventSiteId |
WarehouseIdWarehouse the rule is limited to. If blank, it applies to all warehouses. | StringMarkupPeriodChargeRuleInventLocationId | No | Yes | InventLocation.InventLocationId | MarkupPeriodChargeRule.InventLocationId |
RuleRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | MarkupPeriodChargeRule.RecId |
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.
ChargingCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Relation also requires AccountCode = null.
Many MarkupPeriodChargeRule records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
SiteId→InventSite.SiteId(key of InventSite)Many MarkupPeriodChargeRule records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
WarehouseId→InventLocation.InventLocationId(key of InventLocation)Many MarkupPeriodChargeRule records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
Need help with MarkupPeriodChargeRuleCustomerEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.