Subversion Repositories SmartDukaan

Rev

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

Rev 15045 Rev 16264
Line 89... Line 89...
89
  print '   getAllDoaOutInventoryItems()'
89
  print '   getAllDoaOutInventoryItems()'
90
  print '   getAllUnCompletedStockShipments(string source)'
90
  print '   getAllUnCompletedStockShipments(string source)'
91
  print '  RemovalStockShipmentReference getRemovalStockShipmentReferenceById(i64 id)'
91
  print '  RemovalStockShipmentReference getRemovalStockShipmentReferenceById(i64 id)'
92
  print '  i64 createRemovalStockShipmentReference(RemovalStockShipmentReference removalStockShipmentReference)'
92
  print '  i64 createRemovalStockShipmentReference(RemovalStockShipmentReference removalStockShipmentReference)'
93
  print '  void updateShipmentReferenceTransferLot(i64 transferLotId, i64 shipmentReferenceId)'
93
  print '  void updateShipmentReferenceTransferLot(i64 transferLotId, i64 shipmentReferenceId)'
-
 
94
  print '   fetchScansPerTransferInvoiceNumber(i64 date)'
94
  print ''
95
  print ''
95
  sys.exit(0)
96
  sys.exit(0)
96
 
97
 
97
pp = pprint.PrettyPrinter(indent = 2)
98
pp = pprint.PrettyPrinter(indent = 2)
98
host = 'localhost'
99
host = 'localhost'
Line 559... Line 560...
559
  if len(args) != 2:
560
  if len(args) != 2:
560
    print 'updateShipmentReferenceTransferLot requires 2 args'
561
    print 'updateShipmentReferenceTransferLot requires 2 args'
561
    sys.exit(1)
562
    sys.exit(1)
562
  pp.pprint(client.updateShipmentReferenceTransferLot(eval(args[0]),eval(args[1]),))
563
  pp.pprint(client.updateShipmentReferenceTransferLot(eval(args[0]),eval(args[1]),))
563
 
564
 
-
 
565
elif cmd == 'fetchScansPerTransferInvoiceNumber':
-
 
566
  if len(args) != 1:
-
 
567
    print 'fetchScansPerTransferInvoiceNumber requires 1 args'
-
 
568
    sys.exit(1)
-
 
569
  pp.pprint(client.fetchScansPerTransferInvoiceNumber(eval(args[0]),))
-
 
570
 
564
else:
571
else:
565
  print 'Unrecognized method %s' % cmd
572
  print 'Unrecognized method %s' % cmd
566
  sys.exit(1)
573
  sys.exit(1)
567
 
574
 
568
transport.close()
575
transport.close()