Subversion Repositories SmartDukaan

Rev

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

Rev 7672 Rev 7715
Line 38... Line 38...
38
  print '   getInventoryAge()'
38
  print '   getInventoryAge()'
39
  print '   getInventoryScansForItem(i64 itemId, i64 fromDate, i64 toDate)'
39
  print '   getInventoryScansForItem(i64 itemId, i64 fromDate, i64 toDate)'
40
  print '   getScanRecordsForSerialNumber(string serialNumber)'
40
  print '   getScanRecordsForSerialNumber(string serialNumber)'
41
  print '  void scanForPurchaseReturn( saleReturnItems, i64 vendorId)'
41
  print '  void scanForPurchaseReturn( saleReturnItems, i64 vendorId)'
42
  print '  void scanForLostItem( lostItems, i64 vendorId)'
42
  print '  void scanForLostItem( lostItems, i64 vendorId)'
43
  print '   getCurrentSerializedInventoryByScans()'
43
  print '   getCurrentSerializedInventoryByScans(i64 physicalWarehouseId)'
44
  print '   getCurrentNonSerializedInventoryByScans()'
44
  print '   getCurrentNonSerializedInventoryByScans(i64 physicalWarehouseId)'
45
  print '   getHistoricSerializedInventoryByScans(i64 date)'
45
  print '   getHistoricSerializedInventoryByScans(i64 date)'
46
  print '   getHistoricNonSerializedInventoryByScans(i64 date)'
46
  print '   getHistoricNonSerializedInventoryByScans(i64 date)'
47
  print '  InventoryItem scanForOursExternalSale(i64 itemId, string serialNumber, string itemNumber, string invoiceNumber, i64 warehouseId, double unitPrice, double nlc, i64 orderId)'
47
  print '  InventoryItem scanForOursExternalSale(i64 itemId, string serialNumber, string itemNumber, string invoiceNumber, i64 warehouseId, double unitPrice, double nlc, i64 orderId)'
48
  print '  void scanForOursExternalSaleReturn(i64 orderId, double unitPrice)'
48
  print '  void scanForOursExternalSaleReturn(i64 orderId, double unitPrice)'
49
  print '   getMovementNonSerializedInventoryByScans(i64 startDate, i64 endDate)'
49
  print '   getMovementNonSerializedInventoryByScans(i64 startDate, i64 endDate)'
Line 229... Line 229...
229
    print 'scanForLostItem requires 2 args'
229
    print 'scanForLostItem requires 2 args'
230
    sys.exit(1)
230
    sys.exit(1)
231
  pp.pprint(client.scanForLostItem(eval(args[0]),eval(args[1]),))
231
  pp.pprint(client.scanForLostItem(eval(args[0]),eval(args[1]),))
232
 
232
 
233
elif cmd == 'getCurrentSerializedInventoryByScans':
233
elif cmd == 'getCurrentSerializedInventoryByScans':
234
  if len(args) != 0:
234
  if len(args) != 1:
235
    print 'getCurrentSerializedInventoryByScans requires 0 args'
235
    print 'getCurrentSerializedInventoryByScans requires 1 args'
236
    sys.exit(1)
236
    sys.exit(1)
237
  pp.pprint(client.getCurrentSerializedInventoryByScans())
237
  pp.pprint(client.getCurrentSerializedInventoryByScans(eval(args[0]),))
238
 
238
 
239
elif cmd == 'getCurrentNonSerializedInventoryByScans':
239
elif cmd == 'getCurrentNonSerializedInventoryByScans':
240
  if len(args) != 0:
240
  if len(args) != 1:
241
    print 'getCurrentNonSerializedInventoryByScans requires 0 args'
241
    print 'getCurrentNonSerializedInventoryByScans requires 1 args'
242
    sys.exit(1)
242
    sys.exit(1)
243
  pp.pprint(client.getCurrentNonSerializedInventoryByScans())
243
  pp.pprint(client.getCurrentNonSerializedInventoryByScans(eval(args[0]),))
244
 
244
 
245
elif cmd == 'getHistoricSerializedInventoryByScans':
245
elif cmd == 'getHistoricSerializedInventoryByScans':
246
  if len(args) != 1:
246
  if len(args) != 1:
247
    print 'getHistoricSerializedInventoryByScans requires 1 args'
247
    print 'getHistoricSerializedInventoryByScans requires 1 args'
248
    sys.exit(1)
248
    sys.exit(1)