|
|
@@ -581,7 +581,7 @@ open class StockInLineService( |
|
|
this.stockInLine = stockInLine |
|
|
this.stockInLine = stockInLine |
|
|
this.failQty = it.failQty |
|
|
this.failQty = it.failQty |
|
|
this.qcPassed = it.qcPassed |
|
|
this.qcPassed = it.qcPassed |
|
|
this.type = "qc" // default as qc for now |
|
|
|
|
|
|
|
|
|
|
|
this.remarks = it.remarks |
|
|
this.remarks = it.remarks |
|
|
this.escalationLog = escalationLogService.find(escLogId).getOrNull() |
|
|
this.escalationLog = escalationLogService.find(escLogId).getOrNull() |
|
|
} |
|
|
} |
|
|
@@ -1079,7 +1079,7 @@ open class StockInLineService( |
|
|
if (putAwayStockQty >= requiredStockQty) { |
|
|
if (putAwayStockQty >= requiredStockQty) { |
|
|
val _tStatus = System.nanoTime() |
|
|
val _tStatus = System.nanoTime() |
|
|
stockInLine.apply { |
|
|
stockInLine.apply { |
|
|
val isWipJobOrder = stockInLine.jobOrder?.bom?.bomKind == "WIP" |
|
|
|
|
|
|
|
|
val isWipJobOrder = stockInLine.jobOrder?.bom?.description == "WIP" |
|
|
this.status = if (isWipJobOrder) { |
|
|
this.status = if (isWipJobOrder) { |
|
|
StockInLineStatus.COMPLETE.status |
|
|
StockInLineStatus.COMPLETE.status |
|
|
} else { |
|
|
} else { |
|
|
|