Parcourir la source

qc detail putawayed qty fix

production
CANCERYS\kw093 il y a 2 jours
Parent
révision
263a7fefe1
1 fichiers modifiés avec 8 ajouts et 5 suppressions
  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 Voir le fichier

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


Chargement…
Annuler
Enregistrer