| Line 567... |
Line 567... |
| 567 |
if(sku!=0){
|
567 |
if(sku!=0){
|
| 568 |
try{
|
568 |
try{
|
| 569 |
System.out.println("Fetching created orders");
|
569 |
System.out.println("Fetching created orders");
|
| 570 |
System.out.println("Last Updated on Time is " + lastUpdatedInventoryTime);
|
570 |
System.out.println("Last Updated on Time is " + lastUpdatedInventoryTime);
|
| 571 |
if(lastUpdatedInventoryTime > 0){
|
571 |
if(lastUpdatedInventoryTime > 0){
|
| 572 |
System.out.println("Fetching created orders for " + sku);
|
- |
|
| 573 |
created_orders = transactionClient.getOrdersCreatedAfterTimestampForSource(lastUpdatedInventoryTime, 7, sku);
|
572 |
created_orders = transactionClient.getOrdersCreatedAfterTimestampForSource(lastUpdatedInventoryTime, 7, sku);
|
| - |
|
573 |
System.out.println("Created orders for " + sku +" " + created_orders);
|
| 574 |
}
|
574 |
}
|
| 575 |
}
|
575 |
}
|
| 576 |
catch(TTransportException e){
|
576 |
catch(TTransportException e){
|
| 577 |
if(lastUpdatedInventoryTime > 0){
|
577 |
if(lastUpdatedInventoryTime > 0){
|
| 578 |
transactionClient = new TransactionClient("support_transaction_service_server_host","transaction_service_server_port").getClient();
|
578 |
transactionClient = new TransactionClient("support_transaction_service_server_host","transaction_service_server_port").getClient();
|