|
|
|
@ -12,6 +12,7 @@ |
|
|
|
a.part_no, |
|
|
|
a.part_desc, |
|
|
|
a.unit, |
|
|
|
c.umName, |
|
|
|
a.required_qty, |
|
|
|
a.out_warehouse, |
|
|
|
b.WareHouseName as outWarehouseName, |
|
|
|
@ -26,6 +27,7 @@ |
|
|
|
a.actual_out_qty as actualStockOutQty |
|
|
|
FROM outbound_notification_detail as a |
|
|
|
left join WareHouse as b on a.site = b.site and a.bu_no = b.bu_no and a.out_warehouse = b.WareHouseID |
|
|
|
left join um as c on a.site = c.site and a.unit = c.UMID |
|
|
|
<where> |
|
|
|
a.site = #{site} and a.bu_no = #{buNo} and a.order_no = #{orderNo} |
|
|
|
<if test = "partNo != null and partNo != ''"> |
|
|
|
|