Table

CostEngineCostRuleSetInventoryPolicies

Conditional policies

Conditional inventory policies for a cost rule set, set per product category. Each record gives a tracking level, a cost inflow policy and a cost outflow policy for one category. It links to the cost rule set and to the category.

Table name
CostEngineCostRuleSetInventoryPolicies
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 (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostObjectTrackingLevelLevel at which cost objects are tracked for this category, such as product, site or warehouse.Enum
CostEngineCostObjectTrackingLevel (enum)
YesNone
CostRuleSetThe cost rule set these policies belong to, as a record ID.Int64
CostEngineCostRuleSetRefRecId
YesCostEngineCostRuleSet.RecIdNone
InputPolicyCost inflow policy for the category. The only value listed is actual cost.Enum
CostEngineInputPolicy (enum)
NoNone
OutputPolicyCost outflow policy for the category, either moving average or FIFO.Enum
CostEngineOutputPolicy (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductCategoryThe product category the policies apply to, as a record ID in the category table.Int64
EcoResCategoryId
YesEcoResCategory.RecIdNone
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 (1)

Relations (2)

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

  • CostEngineCostRuleSet → CostEngineCostRuleSet

    Join on CostRuleSet = CostEngineCostRuleSet.RecId

    Many CostEngineCostRuleSetInventoryPolicies records → exactly one CostEngineCostRuleSet record

  • EcoResCategory → EcoResCategory

    Join on ProductCategory = EcoResCategory.RecId

    Many CostEngineCostRuleSetInventoryPolicies records → exactly one EcoResCategory record

Get this data out

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

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

Email sales@drdynamics.co.uk