Преглед на файлове

qc detail putawayed qty fix

production
CANCERYS\kw093 преди 2 дни
родител
ревизия
263a7fefe1
променени са 1 файла, в които са добавени 8 реда и са изтрити 5 реда
  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 Целия файл

@@ -67,12 +67,15 @@ interface StockInLineInfo {


interface PutAwayLineForSil { interface PutAwayLineForSil {
val id: Long?; 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?; 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?; val qty: BigDecimal?;
@get:Value("#{target.warehouse?.code} - #{target.warehouse?.name}") @get:Value("#{target.warehouse?.code} - #{target.warehouse?.name}")
val warehouse: String?; val warehouse: String?;


Зареждане…
Отказ
Запис