Class InventoryEventPlannedServices


  • public class InventoryEventPlannedServices
    extends java.lang.Object
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InventoryEventPlannedServices

        public InventoryEventPlannedServices()
    • 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 context
        context - 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