Production Event Quantity

The base quantity for a production event is stored in the Initial_Dimension_X field in the Event_Details table. Initial_Dimension_X represents the quantity of the production event when it is created while Final_Dimension_X represents the quantity of the production event after it has been consumed. The standard reports and web parts will all reference the Initial_Dimenson_X

Generally, the Final_Dimension_X field should be decremented by the quantity in the Dimension_X of each attached Event_Component record until the Final_Dimension_X field is 0.

For example,

Event_Details.Final_Dimension_X = Event_Details.Initial_Dimension_X - ∑ (Event_Components.Dimension_X) - ∑

(Waste_Event_Details.Amount)

The following diagram illustrates the relationship between parent production events (A) and child production events (B,C and D) and what the quantities should be:



There is no standard functionality within Plant Applications to execute this quantity calculation. As such, the recommended way of implementing this calculation is to use a set of calculations that are triggered by the production events, event components and waste events. Refer to the “Consumption Calculation Best Practice” document for more details on how to implement these calculations.