| Line 31... |
Line 31... |
| 31 |
get_billable_inventory_and_pending_orders,get_warehouse_name,get_amazon_inventory_for_item,get_all_amazon_inventory, \
|
31 |
get_billable_inventory_and_pending_orders,get_warehouse_name,get_amazon_inventory_for_item,get_all_amazon_inventory, \
|
| 32 |
add_or_update_amazon_inventory_for_item, update_reservation_for_order, \
|
32 |
add_or_update_amazon_inventory_for_item, update_reservation_for_order, \
|
| 33 |
get_last_n_day_sale_for_item, add_or_update_amazon_fba_inventory, add_update_hold_inventory,\
|
33 |
get_last_n_day_sale_for_item, add_or_update_amazon_fba_inventory, add_update_hold_inventory,\
|
| 34 |
get_amazon_fba_inventory,get_all_amazon_fba_inventory, get_oursgood_warehouseids_for_location, \
|
34 |
get_amazon_fba_inventory,get_all_amazon_fba_inventory, get_oursgood_warehouseids_for_location, \
|
| 35 |
get_holdinventorydetail_forItem_forWarehouseId_exceptsource, get_snapdeal_inventory_for_item, \
|
35 |
get_holdinventorydetail_forItem_forWarehouseId_exceptsource, get_snapdeal_inventory_for_item, \
|
| 36 |
add_or_update_snapdeal_inventor_for_item, get_nlc_for_warehouse,get_snapdeal_inventory_snapshot
|
36 |
add_or_update_snapdeal_inventor_for_item, get_nlc_for_warehouse,get_snapdeal_inventory_snapshot, \
|
| - |
|
37 |
get_held_inventory_map_for_item
|
| 37 |
|
38 |
|
| 38 |
from shop2020.model.v1.inventory.impl.DataService import Warehouse, \
|
39 |
from shop2020.model.v1.inventory.impl.DataService import Warehouse, \
|
| 39 |
MissedInventoryUpdate, VendorItemMapping
|
40 |
MissedInventoryUpdate, VendorItemMapping
|
| 40 |
from shop2020.thriftpy.model.v1.inventory.ttypes import \
|
41 |
from shop2020.thriftpy.model.v1.inventory.ttypes import \
|
| 41 |
InventoryServiceException, WarehouseType, InventoryType, \
|
42 |
InventoryServiceException, WarehouseType, InventoryType, \
|
| Line 838... |
Line 839... |
| 838 |
for inventorysnapshot in get_snapdeal_inventory_snapshot():
|
839 |
for inventorysnapshot in get_snapdeal_inventory_snapshot():
|
| 839 |
allsnapdealinventorysnapshot.append(to_t_snapdeal_inventory_snapshot(inventorysnapshot))
|
840 |
allsnapdealinventorysnapshot.append(to_t_snapdeal_inventory_snapshot(inventorysnapshot))
|
| 840 |
return allsnapdealinventorysnapshot
|
841 |
return allsnapdealinventorysnapshot
|
| 841 |
finally:
|
842 |
finally:
|
| 842 |
close_session()
|
843 |
close_session()
|
| - |
|
844 |
|
| - |
|
845 |
def getHeldInventoryMapForItem(self, itemId, warehouseId):
|
| - |
|
846 |
try:
|
| - |
|
847 |
return get_held_inventory_map_for_item(itemId, warehouseId)
|
| - |
|
848 |
finally:
|
| - |
|
849 |
close_session()
|
| - |
|
850 |
|
| 843 |
|
851 |
|
| 844 |
|
852 |
|