|
|
|
@ -392,10 +392,11 @@
|
|
|
|
|
ldrp.reservation_id = lds.reservation_id |
|
|
|
|
) goodsAllocation, |
|
|
|
|
ldrs.stock_article_status stockArticleState, |
|
|
|
|
( select sum(loaded_nub) FROM |
|
|
|
|
( select IFNULL(sum( loaded_nub ) ,0) FROM |
|
|
|
|
logpm_distribution_loadscan AS ldl |
|
|
|
|
WHERE ldl.order_id=ldrs.stock_article_id |
|
|
|
|
and ldl.scan_status != 1 |
|
|
|
|
AND ldl.is_deleted = 0 |
|
|
|
|
and ldl.reservation_id = lds.reservation_id |
|
|
|
|
) AS loadingNumber, |
|
|
|
|
( select count(*) FROM |
|
|
|
|