Bläddra i källkod

qc detail putawayed qty fix

production
CANCERYS\kw093 2 dagar sedan
förälder
incheckning
263a7fefe1
1 ändrade filer med 8 tillägg och 5 borttagningar
  1. +8
    -5
      src/main/java/com/ffii/fpsms/modules/stock/entity/projection/StockInLineInfo.kt

+ 8
- 5
src/main/java/com/ffii/fpsms/modules/stock/entity/projection/StockInLineInfo.kt Visa fil

@@ -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?;


Laddar…
Avbryt
Spara