| Line 42... |
Line 42... |
| 42 |
print ' void scanForLostItem( lostItems, i64 vendorId)'
|
42 |
print ' void scanForLostItem( lostItems, i64 vendorId)'
|
| 43 |
print ' getCurrentSerializedInventoryByScans()'
|
43 |
print ' getCurrentSerializedInventoryByScans()'
|
| 44 |
print ' getCurrentNonSerializedInventoryByScans()'
|
44 |
print ' getCurrentNonSerializedInventoryByScans()'
|
| 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, 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)'
|
| 50 |
print ' getMovementSerializedInventoryByScans(i64 startDate, i64 endDate)'
|
50 |
print ' getMovementSerializedInventoryByScans(i64 startDate, i64 endDate)'
|
| 51 |
print ' getCompleteMovementSerializedInventoryByScans(i64 startDate, i64 endDate)'
|
51 |
print ' getCompleteMovementSerializedInventoryByScans(i64 startDate, i64 endDate)'
|
| 52 |
print ' getCompleteMovementNonSerializedInventoryByScans(i64 startDate, i64 endDate)'
|
52 |
print ' getCompleteMovementNonSerializedInventoryByScans(i64 startDate, i64 endDate)'
|
| Line 59... |
Line 59... |
| 59 |
print ' getTransferLotsByDate(i64 fromDate, i64 toDate)'
|
59 |
print ' getTransferLotsByDate(i64 fromDate, i64 toDate)'
|
| 60 |
print ' getAllowedDestinationWarehousesForTransfer(i64 warehouseId)'
|
60 |
print ' getAllowedDestinationWarehousesForTransfer(i64 warehouseId)'
|
| 61 |
print ' getItemsInTransferLot(i64 transferLotId)'
|
61 |
print ' getItemsInTransferLot(i64 transferLotId)'
|
| 62 |
print ' void markItemsAsReceivedForTransferLot(i64 id)'
|
62 |
print ' void markItemsAsReceivedForTransferLot(i64 id)'
|
| 63 |
print ' TransferLotStatus updateTransferLotAfterItemReceive(i64 id)'
|
63 |
print ' TransferLotStatus updateTransferLotAfterItemReceive(i64 id)'
|
| - |
|
64 |
print ' void scanForTransferOut( inventoryItems, ScanType type, i64 transferLotId)'
|
| 64 |
print ' void scanForTransfer( inventoryItems, ScanType type, i64 transferLotId)'
|
65 |
print ' void scanForTransferIn( inventoryItems, ScanType type, i64 transferLotId)'
|
| - |
|
66 |
print ' void scanForOursThirdPartyReceive( inventoryItems, i64 id)'
|
| - |
|
67 |
print ' i64 getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(i64 itemId, i64 physicalWarehouseId)'
|
| - |
|
68 |
print ' getInTransitInventory(i64 originWarehouseId)'
|
| 65 |
print ''
|
69 |
print ''
|
| 66 |
sys.exit(0)
|
70 |
sys.exit(0)
|
| 67 |
|
71 |
|
| 68 |
pp = pprint.PrettyPrinter(indent = 2)
|
72 |
pp = pprint.PrettyPrinter(indent = 2)
|
| 69 |
host = 'localhost'
|
73 |
host = 'localhost'
|
| Line 249... |
Line 253... |
| 249 |
print 'getHistoricNonSerializedInventoryByScans requires 1 args'
|
253 |
print 'getHistoricNonSerializedInventoryByScans requires 1 args'
|
| 250 |
sys.exit(1)
|
254 |
sys.exit(1)
|
| 251 |
pp.pprint(client.getHistoricNonSerializedInventoryByScans(eval(args[0]),))
|
255 |
pp.pprint(client.getHistoricNonSerializedInventoryByScans(eval(args[0]),))
|
| 252 |
|
256 |
|
| 253 |
elif cmd == 'scanForOursExternalSale':
|
257 |
elif cmd == 'scanForOursExternalSale':
|
| 254 |
if len(args) != 7:
|
258 |
if len(args) != 8:
|
| 255 |
print 'scanForOursExternalSale requires 7 args'
|
259 |
print 'scanForOursExternalSale requires 8 args'
|
| 256 |
sys.exit(1)
|
260 |
sys.exit(1)
|
| 257 |
pp.pprint(client.scanForOursExternalSale(eval(args[0]),args[1],args[2],args[3],eval(args[4]),eval(args[5]),eval(args[6]),))
|
261 |
pp.pprint(client.scanForOursExternalSale(eval(args[0]),args[1],args[2],args[3],eval(args[4]),eval(args[5]),eval(args[6]),eval(args[7]),))
|
| 258 |
|
262 |
|
| 259 |
elif cmd == 'scanForOursExternalSaleReturn':
|
263 |
elif cmd == 'scanForOursExternalSaleReturn':
|
| 260 |
if len(args) != 2:
|
264 |
if len(args) != 2:
|
| 261 |
print 'scanForOursExternalSaleReturn requires 2 args'
|
265 |
print 'scanForOursExternalSaleReturn requires 2 args'
|
| 262 |
sys.exit(1)
|
266 |
sys.exit(1)
|
| Line 350... |
Line 354... |
| 350 |
if len(args) != 1:
|
354 |
if len(args) != 1:
|
| 351 |
print 'updateTransferLotAfterItemReceive requires 1 args'
|
355 |
print 'updateTransferLotAfterItemReceive requires 1 args'
|
| 352 |
sys.exit(1)
|
356 |
sys.exit(1)
|
| 353 |
pp.pprint(client.updateTransferLotAfterItemReceive(eval(args[0]),))
|
357 |
pp.pprint(client.updateTransferLotAfterItemReceive(eval(args[0]),))
|
| 354 |
|
358 |
|
| 355 |
elif cmd == 'scanForTransfer':
|
359 |
elif cmd == 'scanForTransferOut':
|
| 356 |
if len(args) != 3:
|
360 |
if len(args) != 3:
|
| 357 |
print 'scanForTransfer requires 3 args'
|
361 |
print 'scanForTransferOut requires 3 args'
|
| 358 |
sys.exit(1)
|
362 |
sys.exit(1)
|
| - |
|
363 |
pp.pprint(client.scanForTransferOut(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| - |
|
364 |
|
| - |
|
365 |
elif cmd == 'scanForTransferIn':
|
| - |
|
366 |
if len(args) != 3:
|
| - |
|
367 |
print 'scanForTransferIn requires 3 args'
|
| - |
|
368 |
sys.exit(1)
|
| 359 |
pp.pprint(client.scanForTransfer(eval(args[0]),eval(args[1]),eval(args[2]),))
|
369 |
pp.pprint(client.scanForTransferIn(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| - |
|
370 |
|
| - |
|
371 |
elif cmd == 'scanForOursThirdPartyReceive':
|
| - |
|
372 |
if len(args) != 2:
|
| - |
|
373 |
print 'scanForOursThirdPartyReceive requires 2 args'
|
| - |
|
374 |
sys.exit(1)
|
| - |
|
375 |
pp.pprint(client.scanForOursThirdPartyReceive(eval(args[0]),eval(args[1]),))
|
| - |
|
376 |
|
| - |
|
377 |
elif cmd == 'getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse':
|
| - |
|
378 |
if len(args) != 2:
|
| - |
|
379 |
print 'getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse requires 2 args'
|
| - |
|
380 |
sys.exit(1)
|
| - |
|
381 |
pp.pprint(client.getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(eval(args[0]),eval(args[1]),))
|
| - |
|
382 |
|
| - |
|
383 |
elif cmd == 'getInTransitInventory':
|
| - |
|
384 |
if len(args) != 1:
|
| - |
|
385 |
print 'getInTransitInventory requires 1 args'
|
| - |
|
386 |
sys.exit(1)
|
| - |
|
387 |
pp.pprint(client.getInTransitInventory(eval(args[0]),))
|
| 360 |
|
388 |
|
| 361 |
else:
|
389 |
else:
|
| 362 |
print 'Unrecognized method %s' % cmd
|
390 |
print 'Unrecognized method %s' % cmd
|
| 363 |
sys.exit(1)
|
391 |
sys.exit(1)
|
| 364 |
|
392 |
|