| Line 8163... |
Line 8163... |
| 8163 |
sritem = catalog_client.getItem(invItem[1])
|
8163 |
sritem = catalog_client.getItem(invItem[1])
|
| 8164 |
scanItemString = " ".join([str(sritem.brand), str(sritem.modelName), str(sritem.modelNumber), str(sritem.color)])
|
8164 |
scanItemString = " ".join([str(sritem.brand), str(sritem.modelName), str(sritem.modelNumber), str(sritem.color)])
|
| 8165 |
lineItemString = " ".join([str(lineitem.brand), str(lineitem.model_name), str(lineitem.model_number), str(lineitem.color)])
|
8165 |
lineItemString = " ".join([str(lineitem.brand), str(lineitem.model_name), str(lineitem.model_number), str(lineitem.color)])
|
| 8166 |
if warehouseDbConnection.open:
|
8166 |
if warehouseDbConnection.open:
|
| 8167 |
warehouseDbConnection.close()
|
8167 |
warehouseDbConnection.close()
|
| 8168 |
raise TransactionServiceException(310, "Trying to scan " + scanItemString + " instead of " + lineItemString+" Order Id- "+order.id)
|
8168 |
raise TransactionServiceException(310, "Trying to scan " + scanItemString + " instead of " + lineItemString+" Order Id- "+str(order.id))
|
| 8169 |
if order.warehouse_id!= invItem[11]:
|
8169 |
if order.warehouse_id!= invItem[11]:
|
| 8170 |
if warehouseDbConnection.open:
|
8170 |
if warehouseDbConnection.open:
|
| 8171 |
warehouseDbConnection.close()
|
8171 |
warehouseDbConnection.close()
|
| 8172 |
raise TransactionServiceException(311, "No Item residing in Billing Warehouse with this serial number " + serialNumber+" and Order Id:- "+str(order.id))
|
8172 |
raise TransactionServiceException(311, "No Item residing in Billing Warehouse with this serial number " + serialNumber+" and Order Id:- "+str(order.id))
|
| 8173 |
if warehouse.id!= invItem[8]:
|
8173 |
if warehouse.id!= invItem[8]:
|