Class InventoryEventPlannedServices
- java.lang.Object
-
- org.apache.ofbiz.manufacturing.mrp.InventoryEventPlannedServices
-
public class InventoryEventPlannedServices extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InventoryEventPlannedServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
createMrpEvent(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Create an MrpEvent.static void
createOrUpdateMrpEvent(java.util.Map<java.lang.String,java.lang.Object> mrpEventKeyMap, java.math.BigDecimal newQuantity, java.lang.String facilityId, java.lang.String eventName, boolean isLate, Delegator delegator)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
createMrpEvent
public static java.util.Map<java.lang.String,java.lang.Object> createMrpEvent(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Create an MrpEvent. Make an update if a record exist with same key, (adding the event quantity to the exiting record)- Parameters:
ctx
- the dispatch contextcontext
- a map containing the parameters used to create an MrpEvent- Returns:
- result a map with service status
-
createOrUpdateMrpEvent
public static void createOrUpdateMrpEvent(java.util.Map<java.lang.String,java.lang.Object> mrpEventKeyMap, java.math.BigDecimal newQuantity, java.lang.String facilityId, java.lang.String eventName, boolean isLate, Delegator delegator) throws GenericEntityException
- Throws:
GenericEntityException
-
-