| Line 8350... |
Line 8350... |
| 8350 |
sritem = catalog_client.getItem(invItem[1])
|
8350 |
sritem = catalog_client.getItem(invItem[1])
|
| 8351 |
scanItemString = " ".join([str(sritem.brand), str(sritem.modelName), str(sritem.modelNumber), str(sritem.color)])
|
8351 |
scanItemString = " ".join([str(sritem.brand), str(sritem.modelName), str(sritem.modelNumber), str(sritem.color)])
|
| 8352 |
lineItemString = " ".join([str(lineitem.brand), str(lineitem.model_name), str(lineitem.model_number), str(lineitem.color)])
|
8352 |
lineItemString = " ".join([str(lineitem.brand), str(lineitem.model_name), str(lineitem.model_number), str(lineitem.color)])
|
| 8353 |
if warehouseDbConnection.open:
|
8353 |
if warehouseDbConnection.open:
|
| 8354 |
warehouseDbConnection.close()
|
8354 |
warehouseDbConnection.close()
|
| 8355 |
raise TransactionServiceException(110, "Trying to scan " + scanItemString + " instead of " + lineItemString+" Order Id- "+order.id)
|
8355 |
raise TransactionServiceException(110, "Trying to scan " + scanItemString + " instead of " + lineItemString+" Order Id- "+str(order.id))
|
| 8356 |
if order.warehouse_id!= invItem[11]:
|
8356 |
if order.warehouse_id!= invItem[11]:
|
| 8357 |
if warehouseDbConnection.open:
|
8357 |
if warehouseDbConnection.open:
|
| 8358 |
warehouseDbConnection.close()
|
8358 |
warehouseDbConnection.close()
|
| 8359 |
raise TransactionServiceException(110, "No Item residing in Billing Warehouse with this serial number " + serialNumber+" and Order Id:- "+str(order.id))
|
8359 |
raise TransactionServiceException(110, "No Item residing in Billing Warehouse with this serial number " + serialNumber+" and Order Id:- "+str(order.id))
|
| 8360 |
if order.fulfilmentWarehouseId!= invItem[8]:
|
8360 |
if order.fulfilmentWarehouseId!= invItem[8]:
|