Class InventoryServices
- java.lang.Object
-
- org.apache.ofbiz.product.inventory.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
-
Constructor Summary
Constructors Constructor Description InventoryServices()
-
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, etcstatic 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)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
generalRounding
public static final java.math.MathContext generalRounding
-
-
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)
-
-