|
|
|
@@ -67,12 +67,15 @@ interface StockInLineInfo { |
|
|
|
|
|
|
|
interface PutAwayLineForSil { |
|
|
|
val id: Long?; |
|
|
|
/** Stock qty (inventory lot line inQty) */ |
|
|
|
@get:Value("#{target.inQty}") |
|
|
|
/** |
|
|
|
* FP-MTMS Version Checklist | Functions Ref. No. 56 | v1.0.5 | 2026-09-18 |
|
|
|
* Origin putaway qty from inventory_lot.stockInLine (lot line → lot → SIL). |
|
|
|
* Do not use inventory_lot_line.inQty: later ADJ/TKE is added on the same line. |
|
|
|
*/ |
|
|
|
@get:Value("#{target.inventoryLot?.stockInLine?.acceptedQty}") |
|
|
|
val stockQty: BigDecimal?; |
|
|
|
@get:Value("#{target.inQty " + |
|
|
|
"* ((target.inventoryLot.item.itemUoms.^[stockUnit == true && deleted == false]?.ratioN / target.inventoryLot.item.itemUoms.^[stockUnit == true && deleted == false]?.ratioD))" + |
|
|
|
"/ ((target.inventoryLot.item.itemUoms.^[purchaseUnit == true && deleted == false]?.ratioN / target.inventoryLot.item.itemUoms.^[purchaseUnit == true && deleted == false]?.ratioD))}") |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 56 | v1.0.5 | 2026-09-18 */ |
|
|
|
@get:Value("#{target.inventoryLot?.stockInLine?.acceptedQtyM18 ?: target.inventoryLot?.stockInLine?.acceptedQty}") |
|
|
|
val qty: BigDecimal?; |
|
|
|
@get:Value("#{target.warehouse?.code} - #{target.warehouse?.name}") |
|
|
|
val warehouse: String?; |
|
|
|
|