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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActivationDateDate from which the rule set is set to be active. | DateTransDate | No | None | |
CostElementMappingThe cost element map used by this rule set, as a record ID in the cost element mapping table. | Int64CostEngineCostElementMappingRefRecId | No | CostEngineCostElementMapping.RecId | None |
CostRuleSetIdShort identifier of the cost rule set. | String (20)CostEngineCostRuleSetId | Yes | None | |
DefaultCostObjectTrackingLevelDefault level at which cost objects are tracked, for example by product, site or warehouse. | EnumCostEngineCostObjectTrackingLevel (enum) | Yes | None | |
DefaultInputPolicyDefault policy for cost inflow. The only value listed is actual cost. | EnumCostEngineInputPolicy (enum) | Yes | None | |
DefaultOutputPolicyDefault policy for cost outflow, either moving average or FIFO. | EnumCostEngineOutputPolicy (enum) | Yes | None | |
DescriptionFree-text description of the rule set. | String (60)Description | No | None | |
EcoResCategoryHierarchyThe category hierarchy used by this rule set, as a record ID in the category hierarchies table. | Int64RefRecId | No | EcoResCategoryHierarchy.RecId | None |
GRNIVarianceSettlementSetting for when a GRNI variance is settled: immediately or on the full invoice. | EnumCostEngineGRNIVarianceSettlement (enum) | No | None | |
IsActiveYes or No value showing whether the rule set is active. | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
CostElementMappingIdxNot unique.
CostRuleSetIdIdxUnique, alternate key.
Relations (2)
Each relation joins CostEngineCostRuleSet to another table on the fields shown.
CostEngineCostElementMapping→CostEngineCostElementMappingJoin on
CostElementMapping = CostEngineCostElementMapping.RecIdMany CostEngineCostRuleSet records → zero or one CostEngineCostElementMapping record
EcoResCategoryHierarchy→EcoResCategoryHierarchyJoin on
EcoResCategoryHierarchy = EcoResCategoryHierarchy.RecIdMany 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.