|
|
@ -82,7 +82,9 @@ |
|
|
qd.else_cost, |
|
|
qd.else_cost, |
|
|
qd.adjust_else_cost, |
|
|
qd.adjust_else_cost, |
|
|
qd.current_quote_detail_item_no, |
|
|
qd.current_quote_detail_item_no, |
|
|
pp.ifs_part_no |
|
|
|
|
|
|
|
|
pp.ifs_part_no, |
|
|
|
|
|
convert(decimal(20,6),(case when exchange_rate2 = 0 or exchange_rate2 is null then 0 else unit_price/exchange_rate2 end)) as unitPriceRate |
|
|
|
|
|
|
|
|
from plm_quote_group_detail qd |
|
|
from plm_quote_group_detail qd |
|
|
left join plm_quote q on qd.quote_id = q.id |
|
|
left join plm_quote q on qd.quote_id = q.id |
|
|
left join part pp |
|
|
left join part pp |
|
|
@ -299,7 +301,9 @@ |
|
|
qd.adjust_test_cost, |
|
|
qd.adjust_test_cost, |
|
|
qd.else_cost, |
|
|
qd.else_cost, |
|
|
qd.adjust_else_cost, |
|
|
qd.adjust_else_cost, |
|
|
pp.ifs_part_no |
|
|
|
|
|
|
|
|
pp.ifs_part_no, |
|
|
|
|
|
convert(decimal(20,6),(case when exchange_rate2 = 0 or exchange_rate2 is null then 0 else unit_price/exchange_rate2 end)) as unitPriceRate |
|
|
|
|
|
|
|
|
from plm_quote q |
|
|
from plm_quote q |
|
|
left join plm_quote_detail qd on qd.quote_id = q.id |
|
|
left join plm_quote_detail qd on qd.quote_id = q.id |
|
|
left join part pp |
|
|
left join part pp |
|
|
|