| Line 94... |
Line 94... |
| 94 |
public long getItemAvailibilityAtWarehouse(long warehouse_id, long item_id) throws InventoryServiceException, TException;
|
94 |
public long getItemAvailibilityAtWarehouse(long warehouse_id, long item_id) throws InventoryServiceException, TException;
|
| 95 |
|
95 |
|
| 96 |
public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws InventoryServiceException, TException;
|
96 |
public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws InventoryServiceException, TException;
|
| 97 |
|
97 |
|
| 98 |
/**
|
98 |
/**
|
| 99 |
* Returns the id of the warehouse with the largest inventory of the item and the inventory size in the given locations.
|
99 |
* Determines the warehouse that should be used to fulfil an order for the given item.
|
| - |
|
100 |
* It first checks all the warehouses which are in the logistics location given by the
|
| - |
|
101 |
* warehouse_loc parameter. If none of the warehouses there have any inventory, then the
|
| - |
|
102 |
* preferred warehouse for the item is used.
|
| - |
|
103 |
*
|
| - |
|
104 |
* Returns an ordered list of size 4 with following elements in the given order:
|
| - |
|
105 |
* 1. Logistics location of the warehouse which was finally picked up to ship the order.
|
| - |
|
106 |
* 2. Id of the warehouse which was finally picked up.
|
| 100 |
* The size of list will always be 2.
|
107 |
* 3. Inventory size in the selected warehouse.
|
| - |
|
108 |
* 4. Expected delay added by the category manager.
|
| 101 |
*
|
109 |
*
|
| 102 |
* @param warehouse_loc
|
110 |
* @param warehouse_loc
|
| 103 |
* @param item_id
|
111 |
* @param item_id
|
| 104 |
*/
|
112 |
*/
|
| 105 |
public List<Long> getItemAvailabilityAtLocation(long warehouse_loc, long item_id) throws InventoryServiceException, TException;
|
113 |
public List<Long> getItemAvailabilityAtLocation(long warehouse_loc, long item_id) throws InventoryServiceException, TException;
|