Subversion Repositories SmartDukaan

Rev

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

Rev 14491 Rev 15045
Line 85... Line 85...
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 '   getAllDoaOutInventoryItems()'
-
 
90
  print '   getAllUnCompletedStockShipments(string source)'
-
 
91
  print '  RemovalStockShipmentReference getRemovalStockShipmentReferenceById(i64 id)'
-
 
92
  print '  i64 createRemovalStockShipmentReference(RemovalStockShipmentReference removalStockShipmentReference)'
-
 
93
  print '  void updateShipmentReferenceTransferLot(i64 transferLotId, i64 shipmentReferenceId)'
90
  print ''
94
  print ''
91
  sys.exit(0)
95
  sys.exit(0)
92
 
96
 
93
pp = pprint.PrettyPrinter(indent = 2)
97
pp = pprint.PrettyPrinter(indent = 2)
94
host = 'localhost'
98
host = 'localhost'
Line 531... Line 535...
531
  if len(args) != 0:
535
  if len(args) != 0:
532
    print 'getAllDoaOutInventoryItems requires 0 args'
536
    print 'getAllDoaOutInventoryItems requires 0 args'
533
    sys.exit(1)
537
    sys.exit(1)
534
  pp.pprint(client.getAllDoaOutInventoryItems())
538
  pp.pprint(client.getAllDoaOutInventoryItems())
535
 
539
 
-
 
540
elif cmd == 'getAllUnCompletedStockShipments':
-
 
541
  if len(args) != 1:
-
 
542
    print 'getAllUnCompletedStockShipments requires 1 args'
-
 
543
    sys.exit(1)
-
 
544
  pp.pprint(client.getAllUnCompletedStockShipments(args[0],))
-
 
545
 
-
 
546
elif cmd == 'getRemovalStockShipmentReferenceById':
-
 
547
  if len(args) != 1:
-
 
548
    print 'getRemovalStockShipmentReferenceById requires 1 args'
-
 
549
    sys.exit(1)
-
 
550
  pp.pprint(client.getRemovalStockShipmentReferenceById(eval(args[0]),))
-
 
551
 
-
 
552
elif cmd == 'createRemovalStockShipmentReference':
-
 
553
  if len(args) != 1:
-
 
554
    print 'createRemovalStockShipmentReference requires 1 args'
-
 
555
    sys.exit(1)
-
 
556
  pp.pprint(client.createRemovalStockShipmentReference(eval(args[0]),))
-
 
557
 
-
 
558
elif cmd == 'updateShipmentReferenceTransferLot':
-
 
559
  if len(args) != 2:
-
 
560
    print 'updateShipmentReferenceTransferLot requires 2 args'
-
 
561
    sys.exit(1)
-
 
562
  pp.pprint(client.updateShipmentReferenceTransferLot(eval(args[0]),eval(args[1]),))
-
 
563
 
536
else:
564
else:
537
  print 'Unrecognized method %s' % cmd
565
  print 'Unrecognized method %s' % cmd
538
  sys.exit(1)
566
  sys.exit(1)
539
 
567
 
540
transport.close()
568
transport.close()