Package org.openbravo.erpCommon.utility
Class InventoryStatusUtils
- java.lang.Object
-
- org.openbravo.erpCommon.utility.InventoryStatusUtils
-
public class InventoryStatusUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description InventoryStatusUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
changeStatusOfStorageBin(String storageBinID, String inventoryStatusID)
Changes the Inventory Status of the given Storage Binstatic void
changeStatusOfStorageBin(Locator storageBin, String inventoryStatusID)
Changes the Inventory Status of the given Storage Binstatic int
getNumberOfActiveVirtualBins(Locator storageBin)
Returns the Number of Virtual Bins created for the given Storage Bin that are active = 'Y'static int
getNumberOfTotalVirtualBins(Locator storageBin)
Returns the Total number of Virtual Bins created for the given Storage Bin
-
-
-
Method Detail
-
changeStatusOfStorageBin
public static void changeStatusOfStorageBin(String storageBinID, String inventoryStatusID)
Changes the Inventory Status of the given Storage Bin- Parameters:
storageBinID
- ID of the Storage Bin that is going to change it's Inventory StatusinventoryStatusID
- ID of the new Inventory Status that is going to be set to the Storage Bin
-
changeStatusOfStorageBin
public static void changeStatusOfStorageBin(Locator storageBin, String inventoryStatusID)
Changes the Inventory Status of the given Storage Bin- Parameters:
storageBin
- Storage Bin that is going to change it's Inventory StatusinventoryStatusID
- ID of the new Inventory Status that is going to be set to the Storage Bin
-
getNumberOfTotalVirtualBins
public static int getNumberOfTotalVirtualBins(Locator storageBin)
Returns the Total number of Virtual Bins created for the given Storage Bin
-
getNumberOfActiveVirtualBins
public static int getNumberOfActiveVirtualBins(Locator storageBin)
Returns the Number of Virtual Bins created for the given Storage Bin that are active = 'Y'
-
-