|
@@ -597,18 +597,18 @@ sys.f_remove_zero(out_qty) as out_qty, out_amt, sys.f_remove_zero(return_qty) as
|
|
|
t.outing_amt + t.out_amt as outing_amt,
|
|
t.outing_amt + t.out_amt as outing_amt,
|
|
|
t.non_std_code,
|
|
t.non_std_code,
|
|
|
t.remarks
|
|
t.remarks
|
|
|
- ,tmgu.decimal_places as "decimalPlaces"
|
|
|
|
|
- ,tmgus.unit_name as "subUnitName"
|
|
|
|
|
- ,tmgu.unit_name as "unitName"
|
|
|
|
|
- ,t.pack_box
|
|
|
|
|
- ,tmgs.flg_sub_unit as "flgSubUnit"
|
|
|
|
|
- ,t.outing_box
|
|
|
|
|
- ,t.outing_piece
|
|
|
|
|
- ,t.out_box
|
|
|
|
|
- ,t.out_piece
|
|
|
|
|
- ,t.out_status
|
|
|
|
|
- ,t.cost_price
|
|
|
|
|
- ,t.cost_amt
|
|
|
|
|
|
|
+ tmgu.decimal_places as "decimalPlaces",
|
|
|
|
|
+ tmgus.unit_name as "subUnitName",
|
|
|
|
|
+ tmgu.unit_name as "unitName" ,
|
|
|
|
|
+ t.pack_box ,
|
|
|
|
|
+ tmgs.flg_sub_unit as "flgSubUnit" ,
|
|
|
|
|
+ t.outing_box ,
|
|
|
|
|
+ t.outing_piece ,
|
|
|
|
|
+ t.out_box ,
|
|
|
|
|
+ t.out_piece ,
|
|
|
|
|
+ t.out_status ,
|
|
|
|
|
+ t.cost_price ,
|
|
|
|
|
+ t.cost_amt
|
|
|
FROM dkic_b.t_psi_outbound_item as t
|
|
FROM dkic_b.t_psi_outbound_item as t
|
|
|
left join dkic_b.t_mst_warehouse tmw on tmw.wh_id = t.wh_id
|
|
left join dkic_b.t_mst_warehouse tmw on tmw.wh_id = t.wh_id
|
|
|
left join dkic_b.t_mst_unit as tmgu on t.unit_id = tmgu.unit_id
|
|
left join dkic_b.t_mst_unit as tmgu on t.unit_id = tmgu.unit_id
|