Subversion Repositories SmartDukaan

Rev

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

Rev 13529 Rev 14491
Line 84... Line 84...
84
  print '   getItemsInPurchaseReturn(i64 purchaseReturnId, ScanType type, string returnTime)'
84
  print '   getItemsInPurchaseReturn(i64 purchaseReturnId, ScanType type, string returnTime)'
85
  print '   getScansForInventoryItem(i64 inventoryItemId, ScanType type)'
85
  print '   getScansForInventoryItem(i64 inventoryItemId, ScanType type)'
86
  print '   checkGrnImeiStatus( imeiNos)'
86
  print '   checkGrnImeiStatus( imeiNos)'
87
  print '   getInventoryAgeConsideredItems(i64 itemId)'
87
  print '   getInventoryAgeConsideredItems(i64 itemId)'
88
  print '   getCompleteMovementForThirdPartyWarehouse(i64 startDate, i64 endDate)'
88
  print '   getCompleteMovementForThirdPartyWarehouse(i64 startDate, i64 endDate)'
-
 
89
  print '   getAllDoaOutInventoryItems()'
89
  print ''
90
  print ''
90
  sys.exit(0)
91
  sys.exit(0)
91
 
92
 
92
pp = pprint.PrettyPrinter(indent = 2)
93
pp = pprint.PrettyPrinter(indent = 2)
93
host = 'localhost'
94
host = 'localhost'
Line 524... Line 525...
524
  if len(args) != 2:
525
  if len(args) != 2:
525
    print 'getCompleteMovementForThirdPartyWarehouse requires 2 args'
526
    print 'getCompleteMovementForThirdPartyWarehouse requires 2 args'
526
    sys.exit(1)
527
    sys.exit(1)
527
  pp.pprint(client.getCompleteMovementForThirdPartyWarehouse(eval(args[0]),eval(args[1]),))
528
  pp.pprint(client.getCompleteMovementForThirdPartyWarehouse(eval(args[0]),eval(args[1]),))
528
 
529
 
-
 
530
elif cmd == 'getAllDoaOutInventoryItems':
-
 
531
  if len(args) != 0:
-
 
532
    print 'getAllDoaOutInventoryItems requires 0 args'
-
 
533
    sys.exit(1)
-
 
534
  pp.pprint(client.getAllDoaOutInventoryItems())
-
 
535
 
529
else:
536
else:
530
  print 'Unrecognized method %s' % cmd
537
  print 'Unrecognized method %s' % cmd
531
  sys.exit(1)
538
  sys.exit(1)
532
 
539
 
533
transport.close()
540
transport.close()