Class InventoryServices


  • public class InventoryServices
    extends java.lang.Object
    Inventory Services
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.math.MathContext generalRounding  
      static java.lang.String module  
      static java.lang.String resource  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> cancelInventoryTransfer​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> checkInventoryAvailability​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      In spite of the generic name this does the very specific task of checking availability of all back-ordered items and sends notices, etc
      static java.util.Map<java.lang.String,​java.lang.Object> completeInventoryTransfer​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> getProductInventoryAndFacilitySummary​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> getProductInventoryAvailableFromAssocProducts​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Get Inventory Available for a Product based on the list of associated products.
      static java.util.Map<java.lang.String,​java.lang.Object> getProductInventorySummaryForItems​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> prepareInventoryTransfer​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)  
      • Methods inherited from class java.lang.Object

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

      • module

        public static final java.lang.String module
      • generalRounding

        public static final java.math.MathContext generalRounding
    • Constructor Detail

      • InventoryServices

        public InventoryServices()
    • Method Detail

      • prepareInventoryTransfer

        public static java.util.Map<java.lang.String,​java.lang.Object> prepareInventoryTransfer​(DispatchContext dctx,
                                                                                                      java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      • completeInventoryTransfer

        public static java.util.Map<java.lang.String,​java.lang.Object> completeInventoryTransfer​(DispatchContext dctx,
                                                                                                       java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      • cancelInventoryTransfer

        public static java.util.Map<java.lang.String,​java.lang.Object> cancelInventoryTransfer​(DispatchContext dctx,
                                                                                                     java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      • checkInventoryAvailability

        public static java.util.Map<java.lang.String,​java.lang.Object> checkInventoryAvailability​(DispatchContext dctx,
                                                                                                        java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        In spite of the generic name this does the very specific task of checking availability of all back-ordered items and sends notices, etc
      • getProductInventoryAvailableFromAssocProducts

        public static java.util.Map<java.lang.String,​java.lang.Object> getProductInventoryAvailableFromAssocProducts​(DispatchContext dctx,
                                                                                                                           java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Get Inventory Available for a Product based on the list of associated products. The final ATP and QOH will be the minimum of all the associated products' inventory divided by their ProductAssoc.quantity
      • getProductInventorySummaryForItems

        public static java.util.Map<java.lang.String,​java.lang.Object> getProductInventorySummaryForItems​(DispatchContext dctx,
                                                                                                                java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      • getProductInventoryAndFacilitySummary

        public static java.util.Map<java.lang.String,​java.lang.Object> getProductInventoryAndFacilitySummary​(DispatchContext dctx,
                                                                                                                   java.util.Map<java.lang.String,​? extends java.lang.Object> context)