| Line 37... |
Line 37... |
| 37 |
get_holdinventorydetail_forItem_forWarehouseId_exceptsource, get_snapdeal_inventory_for_item, \
|
37 |
get_holdinventorydetail_forItem_forWarehouseId_exceptsource, get_snapdeal_inventory_for_item, \
|
| 38 |
add_or_update_snapdeal_inventor_for_item, get_nlc_for_warehouse,get_snapdeal_inventory_snapshot, \
|
38 |
add_or_update_snapdeal_inventor_for_item, get_nlc_for_warehouse,get_snapdeal_inventory_snapshot, \
|
| 39 |
get_held_inventory_map_for_item, get_hold_inventory_details, add_or_update_flipkart_inventory_snapshot, \
|
39 |
get_held_inventory_map_for_item, get_hold_inventory_details, add_or_update_flipkart_inventory_snapshot, \
|
| 40 |
get_flipkart_inventory_snapshot, get_flipkart_inventory_for_Item, get_oos_statuses_for_x_days, \
|
40 |
get_flipkart_inventory_snapshot, get_flipkart_inventory_for_Item, get_oos_statuses_for_x_days, \
|
| 41 |
get_all_vendor_item_pricing, get_state_master, update_snapdeal_stock_at_eod, update_flipkart_stock_at_eod, \
|
41 |
get_all_vendor_item_pricing, get_state_master, update_snapdeal_stock_at_eod, update_flipkart_stock_at_eod, \
|
| 42 |
get_wanlc_for_source, get_all_available_amazon_inventory, _task_update_item_availability_cache
|
42 |
get_wanlc_for_source, get_all_available_amazon_inventory, _task_update_item_availability_cache, \
|
| - |
|
43 |
add_vendor_item_pricing_in_bulk, add_inventory_in_bulk
|
| 43 |
|
44 |
|
| 44 |
from shop2020.model.v1.inventory.impl.DataService import Warehouse, \
|
45 |
from shop2020.model.v1.inventory.impl.DataService import Warehouse, \
|
| 45 |
MissedInventoryUpdate, VendorItemMapping
|
46 |
MissedInventoryUpdate, VendorItemMapping
|
| 46 |
from shop2020.thriftpy.model.v1.inventory.ttypes import \
|
47 |
from shop2020.thriftpy.model.v1.inventory.ttypes import \
|
| 47 |
InventoryServiceException, WarehouseType, InventoryType, \
|
48 |
InventoryServiceException, WarehouseType, InventoryType, \
|
| Line 958... |
Line 959... |
| 958 |
except:
|
959 |
except:
|
| 959 |
return False
|
960 |
return False
|
| 960 |
finally:
|
961 |
finally:
|
| 961 |
close_session()
|
962 |
close_session()
|
| 962 |
|
963 |
|
| - |
|
964 |
def addVendorItemPricingInBulk(self,vendorItemPricingList):
|
| - |
|
965 |
try:
|
| - |
|
966 |
return add_vendor_item_pricing_in_bulk(vendorItemPricingList)
|
| - |
|
967 |
finally:
|
| - |
|
968 |
close_session()
|
| 963 |
|
969 |
|
| - |
|
970 |
def addInventoryInBulk(self, bulkInventoryList):
|
| - |
|
971 |
try:
|
| - |
|
972 |
add_inventory_in_bulk(bulkInventoryList)
|
| 964 |
|
973 |
finally:
|
| - |
|
974 |
close_session()
|
| 965 |
|
975 |
|
| 966 |
|
976 |
|