Subversion Repositories SmartDukaan

Rev

Rev 9495 | Rev 10050 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9495 Rev 9665
Line 67... Line 67...
67
  print '  i32 getAllIgnoredInventoryupdateItemsCount()'
67
  print '  i32 getAllIgnoredInventoryupdateItemsCount()'
68
  print '   getIgnoredInventoryUpdateItemids(i32 offset, i32 limit)'
68
  print '   getIgnoredInventoryUpdateItemids(i32 offset, i32 limit)'
69
  print '  void updateItemStockPurchaseParams(i64 item_id, i32 numOfDaysStock, i64 minStockLevel)'
69
  print '  void updateItemStockPurchaseParams(i64 item_id, i32 numOfDaysStock, i64 minStockLevel)'
70
  print '  ItemStockPurchaseParams getItemStockPurchaseParams(i64 itemId)'
70
  print '  ItemStockPurchaseParams getItemStockPurchaseParams(i64 itemId)'
71
  print '  void addOosStatusForItem( oosStatusMap, i64 date)'
71
  print '  void addOosStatusForItem( oosStatusMap, i64 date)'
72
  print '   getOosStatusesForXDaysForItem(i64 itemId, i32 days)'
72
  print '   getOosStatusesForXDaysForItem(i64 itemId, i32 sourceId, i32 days)'
73
  print '   getNonZeroItemStockPurchaseParams()'
73
  print '   getNonZeroItemStockPurchaseParams()'
74
  print '   getBillableInventoryAndPendingOrders()'
74
  print '   getBillableInventoryAndPendingOrders()'
75
  print '  string getWarehouseName(i64 warehouse_id)'
75
  print '  string getWarehouseName(i64 warehouse_id)'
76
  print '  AmazonInventorySnapshot getAmazonInventoryForItem(i64 item_id)'
76
  print '  AmazonInventorySnapshot getAmazonInventoryForItem(i64 item_id)'
77
  print '   getAllAmazonInventory()'
77
  print '   getAllAmazonInventory()'
Line 84... Line 84...
84
  print '   getOursGoodWarehouseIdsForLocation(i64 state_id)'
84
  print '   getOursGoodWarehouseIdsForLocation(i64 state_id)'
85
  print '  i64 getHoldInventoryDetailForItemForWarehouseIdExceptSource(i64 id, i64 warehouse_id, i64 source)'
85
  print '  i64 getHoldInventoryDetailForItemForWarehouseIdExceptSource(i64 id, i64 warehouse_id, i64 source)'
86
  print '  SnapdealInventoryItem getSnapdealInventoryForItem(i64 item_id)'
86
  print '  SnapdealInventoryItem getSnapdealInventoryForItem(i64 item_id)'
87
  print '  void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem)'
87
  print '  void addOrUpdateSnapdealInventoryForItem(SnapdealInventoryItem snapdealinventoryitem)'
88
  print '  double getNlcForWarehouse(i64 warehouse_id, i64 item_id)'
88
  print '  double getNlcForWarehouse(i64 warehouse_id, i64 item_id)'
-
 
89
  print '   getHeldInventoryMapForItem(i64 item_id, i64 warehouse_id)'
89
  print '  void addOrUpdateAllAmazonFbaInventory( allamazonfbainventorysnapshot)'
90
  print '  void addOrUpdateAllAmazonFbaInventory( allamazonfbainventorysnapshot)'
90
  print '  void addOrUpdateAllSnapdealInventory( allsnapdealinventorysnapshot)'
91
  print '  void addOrUpdateAllSnapdealInventory( allsnapdealinventorysnapshot)'
91
  print '   getSnapdealInventorySnapshot()'
92
  print '   getSnapdealInventorySnapshot()'
92
  print ''
93
  print ''
93
  sys.exit(0)
94
  sys.exit(0)
Line 426... Line 427...
426
    print 'addOosStatusForItem requires 2 args'
427
    print 'addOosStatusForItem requires 2 args'
427
    sys.exit(1)
428
    sys.exit(1)
428
  pp.pprint(client.addOosStatusForItem(eval(args[0]),eval(args[1]),))
429
  pp.pprint(client.addOosStatusForItem(eval(args[0]),eval(args[1]),))
429
 
430
 
430
elif cmd == 'getOosStatusesForXDaysForItem':
431
elif cmd == 'getOosStatusesForXDaysForItem':
431
  if len(args) != 2:
432
  if len(args) != 3:
432
    print 'getOosStatusesForXDaysForItem requires 2 args'
433
    print 'getOosStatusesForXDaysForItem requires 3 args'
433
    sys.exit(1)
434
    sys.exit(1)
434
  pp.pprint(client.getOosStatusesForXDaysForItem(eval(args[0]),eval(args[1]),))
435
  pp.pprint(client.getOosStatusesForXDaysForItem(eval(args[0]),eval(args[1]),eval(args[2]),))
435
 
436
 
436
elif cmd == 'getNonZeroItemStockPurchaseParams':
437
elif cmd == 'getNonZeroItemStockPurchaseParams':
437
  if len(args) != 0:
438
  if len(args) != 0:
438
    print 'getNonZeroItemStockPurchaseParams requires 0 args'
439
    print 'getNonZeroItemStockPurchaseParams requires 0 args'
439
    sys.exit(1)
440
    sys.exit(1)
Line 527... Line 528...
527
  if len(args) != 2:
528
  if len(args) != 2:
528
    print 'getNlcForWarehouse requires 2 args'
529
    print 'getNlcForWarehouse requires 2 args'
529
    sys.exit(1)
530
    sys.exit(1)
530
  pp.pprint(client.getNlcForWarehouse(eval(args[0]),eval(args[1]),))
531
  pp.pprint(client.getNlcForWarehouse(eval(args[0]),eval(args[1]),))
531
 
532
 
-
 
533
elif cmd == 'getHeldInventoryMapForItem':
-
 
534
  if len(args) != 2:
-
 
535
    print 'getHeldInventoryMapForItem requires 2 args'
-
 
536
    sys.exit(1)
-
 
537
  pp.pprint(client.getHeldInventoryMapForItem(eval(args[0]),eval(args[1]),))
-
 
538
 
532
elif cmd == 'addOrUpdateAllAmazonFbaInventory':
539
elif cmd == 'addOrUpdateAllAmazonFbaInventory':
533
  if len(args) != 1:
540
  if len(args) != 1:
534
    print 'addOrUpdateAllAmazonFbaInventory requires 1 args'
541
    print 'addOrUpdateAllAmazonFbaInventory requires 1 args'
535
    sys.exit(1)
542
    sys.exit(1)
536
  pp.pprint(client.addOrUpdateAllAmazonFbaInventory(eval(args[0]),))
543
  pp.pprint(client.addOrUpdateAllAmazonFbaInventory(eval(args[0]),))