| Line 181... |
Line 181... |
| 181 |
String tinNo = "";
|
181 |
String tinNo = "";
|
| 182 |
String shippingAddress = "";
|
182 |
String shippingAddress = "";
|
| 183 |
try {
|
183 |
try {
|
| 184 |
in.shop2020.model.v1.order.TransactionService.Client tClient = new TransactionClient().getClient();
|
184 |
in.shop2020.model.v1.order.TransactionService.Client tClient = new TransactionClient().getClient();
|
| 185 |
binfo = tClient.getBuyerByWarehouse(purchaseOrder.getWarehouseId());
|
185 |
binfo = tClient.getBuyerByWarehouse(purchaseOrder.getWarehouseId());
|
| 186 |
WarehouseAddress addr = tClient.getWarehouseAddress(purchaseOrder.getShippingWarehouseAddressId());
|
186 |
WarehouseAddress addr = tClient.getWarehouseAddress(purchaseOrder.getWarehouseAddressId());
|
| 187 |
tinNo = binfo.getTin();
|
187 |
tinNo = binfo.getTin();
|
| 188 |
address = binfo.getOrganisationName() + "\n" + addr.getAddress() + "\n" + "-" + addr.getPin();
|
188 |
address = binfo.getOrganisationName() + "\n" + addr.getAddress() + "\n" + "-" + addr.getPin();
|
| 189 |
} catch (Exception e) {
|
189 |
} catch (Exception e) {
|
| 190 |
logger.error("This should not happen", e);
|
190 |
logger.error("This should not happen", e);
|
| 191 |
}
|
191 |
}
|