Table

MarkupPeriodChargeRule

Period charge rule

Defines a period charge rule, identified by its name. It has a validity range by invoice date. It applies to all customers or one customer, and can be limited to a site or warehouse. Rule lines are held in a separate table.

Table name
MarkupPeriodChargeRule
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Markup
Primary index
PeriodChargeRuleIdx
Replacement key
RuleNameIdx
Key fields
RuleName
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleNameName of the period charge rule.String (20)
MarkupPeriodChargeRuleName
YesMarkupPeriodChargeRuleCustomerEntityMarkupPeriodChargeRuleLineCustomerEntity
AccountCodeScope of customers for the rule: all customers, or one customer.Enum
MarkupPeriodChargeRuleAccountCode
TableAll (enum)
NoMarkupPeriodChargeRuleCustomerEntity
AccountRelationCustomer account the rule applies to when the scope is a single customer. Points to a customer record.String (20)
MarkupPeriodChargeRuleAccountRelation
NoCustTable.AccountNumMarkupPeriodChargeRuleCustomerEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the rule.String (255)
MarkupPeriodChargeRuleDescription
NoMarkupPeriodChargeRuleCustomerEntity
InventLocationIdWarehouse the rule is limited to. If blank, it applies to all warehouses.String
MarkupPeriodChargeRuleInventLocationId
NoInventLocation.InventLocationIdMarkupPeriodChargeRuleCustomerEntity
InventSiteIdSite the rule is limited to. If blank, it applies to all sites.String
MarkupPeriodChargeRuleInventSiteId
NoInventSite.SiteIdMarkupPeriodChargeRuleCustomerEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoMarkupPeriodChargeRuleCustomerEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValidFromFirst invoice date on which the rule is valid.Date
MarkupPeriodChargeRuleValidFrom
NoMarkupPeriodChargeRuleCustomerEntity
ValidToLast invoice date on which the rule is valid.Date
MarkupPeriodChargeRuleValidTo
NoMarkupPeriodChargeRuleCustomerEntity

Indexes (2)

Relations (3)

Each relation joins MarkupPeriodChargeRule to another table on the fields shown.

  • CustTable → CustTable

    Join on AccountCode = null, AccountRelation = CustTable.AccountNum

    Many MarkupPeriodChargeRule records → zero or one CustTable record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many MarkupPeriodChargeRule records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many MarkupPeriodChargeRule records → zero or one InventSite record

Get this data out

Tables are not exposed directly. These public entities read from MarkupPeriodChargeRule; use one of them in Power BI, Power Platform or a data management project.

Need help with MarkupPeriodChargeRule in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk