Class InventoryServices
java.lang.Object
org.apache.ofbiz.product.inventory.InventoryServices
Inventory Services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancelInventoryTransfer
(DispatchContext dctx, Map<String, ? extends Object> context) checkInventoryAvailability
(DispatchContext dctx, Map<String, ? extends 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, etccompleteInventoryTransfer
(DispatchContext dctx, Map<String, ? extends Object> context) getProductInventoryAndFacilitySummary
(DispatchContext dctx, Map<String, ? extends Object> context) getProductInventoryAvailableFromAssocProducts
(DispatchContext dctx, Map<String, ? extends Object> context) Get Inventory Available for a Product based on the list of associated products.getProductInventorySummaryForItems
(DispatchContext dctx, Map<String, ? extends Object> context) prepareInventoryTransfer
(DispatchContext dctx, Map<String, ? extends Object> context)
-
Constructor Details
-
InventoryServices
public InventoryServices()
-
-
Method Details
-
prepareInventoryTransfer
-
completeInventoryTransfer
-
cancelInventoryTransfer
-
checkInventoryAvailability
public static Map<String,Object> checkInventoryAvailability(DispatchContext dctx, Map<String, ? extends 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 Map<String,Object> getProductInventoryAvailableFromAssocProducts(DispatchContext dctx, Map<String, ? extends 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
-
getProductInventoryAndFacilitySummary
-