Table

CostEngineCostRuleSet

Cost rule set

Defines a cost rule set with an ID, description, active flag and activation date. It also stores the default tracking level, cost inflow and outflow policies, and GRNI variance settlement setting. It links to a cost element map and a category hierarchy.

Table name
CostEngineCostRuleSet
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
CostEngine

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivationDateDate from which the rule set is set to be active.Date
TransDate
NoNone
CostElementMappingThe cost element map used by this rule set, as a record ID in the cost element mapping table.Int64
CostEngineCostElementMappingRefRecId
NoCostEngineCostElementMapping.RecIdNone
CostRuleSetIdShort identifier of the cost rule set.String (20)
CostEngineCostRuleSetId
YesNone
DefaultCostObjectTrackingLevelDefault level at which cost objects are tracked, for example by product, site or warehouse.Enum
CostEngineCostObjectTrackingLevel (enum)
YesNone
DefaultInputPolicyDefault policy for cost inflow. The only value listed is actual cost.Enum
CostEngineInputPolicy (enum)
YesNone
DefaultOutputPolicyDefault policy for cost outflow, either moving average or FIFO.Enum
CostEngineOutputPolicy (enum)
YesNone
DescriptionFree-text description of the rule set.String (60)
Description
NoNone
EcoResCategoryHierarchyThe category hierarchy used by this rule set, as a record ID in the category hierarchies table.Int64
RefRecId
NoEcoResCategoryHierarchy.RecIdNone
GRNIVarianceSettlementSetting for when a GRNI variance is settled: immediately or on the full invoice.Enum
CostEngineGRNIVarianceSettlement (enum)
NoNone
IsActiveYes or No value showing whether the rule set is active.Enum
NoYes (enum)
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • CostEngineCostElementMapping → CostEngineCostElementMapping

    Join on CostElementMapping = CostEngineCostElementMapping.RecId

    Many CostEngineCostRuleSet records → zero or one CostEngineCostElementMapping record

  • EcoResCategoryHierarchy → EcoResCategoryHierarchy

    Join on EcoResCategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many CostEngineCostRuleSet records → zero or one EcoResCategoryHierarchy record

Get this data out

No public entity reads from CostEngineCostRuleSet. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk