(select sum(o.scan_qty) from outbound_label_scan o where o.Site = D.Site and o.del_notify_no = D.DelNotifyNo and o.del_notify_item_no = D.DelNotifyItemNo) as allNum
(select sum(o.scan_qty) from outbound_label_scan o where o.Site = D.Site and o.del_notify_no = D.DelNotifyNo and o.del_notify_item_no = D.DelNotifyItemNo) as allNum,
dbo.Get_Object_Properties_Value_Number(D.Site,'P',D.PartNo,1,'QTY/BAG') as mdsl,
dbo.Get_Object_Properties_Value_Number(D.Site,'P',D.PartNo,1,'BAG') as zxds,
dbo.Get_Object_Properties_Value_Number(D.Site,'P',D.PartNo,1,'QTY') as zxsl,
dbo.Get_Object_Properties_Value_Text(D.Site,'P',D.PartNo,1,'CARTON') as zxgg