| Line 55... |
Line 55... |
| 55 |
print ' getAllVendorItemMappings()'
|
55 |
print ' getAllVendorItemMappings()'
|
| 56 |
print ' getInventorySnapshot(i64 warehouseId)'
|
56 |
print ' getInventorySnapshot(i64 warehouseId)'
|
| 57 |
print ' void clearItemAvailabilityCache()'
|
57 |
print ' void clearItemAvailabilityCache()'
|
| 58 |
print ' void updateVendorString(i64 warehouseId, string vendorString)'
|
58 |
print ' void updateVendorString(i64 warehouseId, string vendorString)'
|
| 59 |
print ' void clearItemAvailabilityCacheForItem(i64 item_id)'
|
59 |
print ' void clearItemAvailabilityCacheForItem(i64 item_id)'
|
| 60 |
print ' i64 getOurWarehouseIdForVendor(i64 vendorId)'
|
60 |
print ' i64 getOurWarehouseIdForVendor(i64 vendorId, i64 billingWarehouseId)'
|
| 61 |
print ' getItemAvailabilitiesAtOurWarehouses( item_ids)'
|
61 |
print ' getItemAvailabilitiesAtOurWarehouses( item_ids)'
|
| 62 |
print ' getMonitoredWarehouseForVendors( vendorIds)'
|
62 |
print ' getMonitoredWarehouseForVendors( vendorIds)'
|
| 63 |
print ' getIgnoredWarehouseidsAndItemids()'
|
63 |
print ' getIgnoredWarehouseidsAndItemids()'
|
| 64 |
print ' bool insertItemtoIgnoreInventoryUpdatelist(i64 item_id, i64 warehouse_id)'
|
64 |
print ' bool insertItemtoIgnoreInventoryUpdatelist(i64 item_id, i64 warehouse_id)'
|
| 65 |
print ' bool deleteItemFromIgnoredInventoryUpdateList(i64 item_id, i64 warehouse_id)'
|
65 |
print ' bool deleteItemFromIgnoredInventoryUpdateList(i64 item_id, i64 warehouse_id)'
|
| Line 340... |
Line 340... |
| 340 |
print 'clearItemAvailabilityCacheForItem requires 1 args'
|
340 |
print 'clearItemAvailabilityCacheForItem requires 1 args'
|
| 341 |
sys.exit(1)
|
341 |
sys.exit(1)
|
| 342 |
pp.pprint(client.clearItemAvailabilityCacheForItem(eval(args[0]),))
|
342 |
pp.pprint(client.clearItemAvailabilityCacheForItem(eval(args[0]),))
|
| 343 |
|
343 |
|
| 344 |
elif cmd == 'getOurWarehouseIdForVendor':
|
344 |
elif cmd == 'getOurWarehouseIdForVendor':
|
| 345 |
if len(args) != 1:
|
345 |
if len(args) != 2:
|
| 346 |
print 'getOurWarehouseIdForVendor requires 1 args'
|
346 |
print 'getOurWarehouseIdForVendor requires 2 args'
|
| 347 |
sys.exit(1)
|
347 |
sys.exit(1)
|
| 348 |
pp.pprint(client.getOurWarehouseIdForVendor(eval(args[0]),))
|
348 |
pp.pprint(client.getOurWarehouseIdForVendor(eval(args[0]),eval(args[1]),))
|
| 349 |
|
349 |
|
| 350 |
elif cmd == 'getItemAvailabilitiesAtOurWarehouses':
|
350 |
elif cmd == 'getItemAvailabilitiesAtOurWarehouses':
|
| 351 |
if len(args) != 1:
|
351 |
if len(args) != 1:
|
| 352 |
print 'getItemAvailabilitiesAtOurWarehouses requires 1 args'
|
352 |
print 'getItemAvailabilitiesAtOurWarehouses requires 1 args'
|
| 353 |
sys.exit(1)
|
353 |
sys.exit(1)
|