|
|
@@ -452,7 +452,7 @@
|
|
|
,tppi.from_item_id as "fromItemId"
|
|
|
,tpo.order_no as "orderNo"
|
|
|
,tpp.pur_no as "purNo"
|
|
|
- ,(select ul.decimal_places from dkic_b.t_mst_unit ul where dkic_b.t_psi_purchase_item.unit_id = ul.unit_id) as "decimalPlaces"
|
|
|
+ ,(select ul.decimal_places from dkic_b.t_mst_unit ul where tppi.unit_id = ul.unit_id) as "decimalPlaces"
|
|
|
FROM dkic_b.t_psi_purchase_item tppi
|
|
|
left join dkic_b.t_psi_order tpo on tpo.order_id = tppi.from_id
|
|
|
left join dkic_b.t_psi_purchase tpp on tpp.pur_id = tppi.pur_id
|