| Line 74... |
Line 74... |
| 74 |
print ' Order updateWeight(i64 orderId, double weight)'
|
74 |
print ' Order updateWeight(i64 orderId, double weight)'
|
| 75 |
print ' Order changeItem(i64 orderId, i64 itemId)'
|
75 |
print ' Order changeItem(i64 orderId, i64 itemId)'
|
| 76 |
print ' Order shiftToWarehouse(i64 orderId, i64 warehouseId)'
|
76 |
print ' Order shiftToWarehouse(i64 orderId, i64 warehouseId)'
|
| 77 |
print ' bool addDelayReason(i64 orderId, DelayReason delayReason, i64 furtherDelay)'
|
77 |
print ' bool addDelayReason(i64 orderId, DelayReason delayReason, i64 furtherDelay)'
|
| 78 |
print ' reconcileCodCollection( collectedAmountMap, string xferBy, string xferTxnId, i64 xferDate)'
|
78 |
print ' reconcileCodCollection( collectedAmountMap, string xferBy, string xferTxnId, i64 xferDate)'
|
| - |
|
79 |
print ' getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category)'
|
| - |
|
80 |
print ' void markTransactionAsProcessed(i64 transactionId, ExtraTransactionProcessingType category)'
|
| 79 |
print ''
|
81 |
print ''
|
| 80 |
sys.exit(0)
|
82 |
sys.exit(0)
|
| 81 |
|
83 |
|
| 82 |
pp = pprint.PrettyPrinter(indent = 2)
|
84 |
pp = pprint.PrettyPrinter(indent = 2)
|
| 83 |
host = 'localhost'
|
85 |
host = 'localhost'
|
| Line 454... |
Line 456... |
| 454 |
if len(args) != 4:
|
456 |
if len(args) != 4:
|
| 455 |
print 'reconcileCodCollection requires 4 args'
|
457 |
print 'reconcileCodCollection requires 4 args'
|
| 456 |
sys.exit(1)
|
458 |
sys.exit(1)
|
| 457 |
pp.pprint(client.reconcileCodCollection(eval(args[0]),args[1],args[2],eval(args[3]),))
|
459 |
pp.pprint(client.reconcileCodCollection(eval(args[0]),args[1],args[2],eval(args[3]),))
|
| 458 |
|
460 |
|
| - |
|
461 |
elif cmd == 'getTransactionsRequiringExtraProcessing':
|
| - |
|
462 |
if len(args) != 1:
|
| - |
|
463 |
print 'getTransactionsRequiringExtraProcessing requires 1 args'
|
| - |
|
464 |
sys.exit(1)
|
| - |
|
465 |
pp.pprint(client.getTransactionsRequiringExtraProcessing(eval(args[0]),))
|
| - |
|
466 |
|
| - |
|
467 |
elif cmd == 'markTransactionAsProcessed':
|
| - |
|
468 |
if len(args) != 2:
|
| - |
|
469 |
print 'markTransactionAsProcessed requires 2 args'
|
| - |
|
470 |
sys.exit(1)
|
| - |
|
471 |
pp.pprint(client.markTransactionAsProcessed(eval(args[0]),eval(args[1]),))
|
| - |
|
472 |
|
| 459 |
else:
|
473 |
else:
|
| 460 |
print 'Unrecognized method %s' % cmd
|
474 |
print 'Unrecognized method %s' % cmd
|
| 461 |
sys.exit(1)
|
475 |
sys.exit(1)
|
| 462 |
|
476 |
|
| 463 |
transport.close()
|
477 |
transport.close()
|