dbo.plm_get_customer_desc(a.site, customer_no) as customerDesc,
@ -69,7 +69,8 @@
project_id,
dbo.plm_get_project_name(a.site, project_id) as projectName,
dbo.plm_get_project_final_customer_id(a.site, project_id) as finalCustomerId,
dbo.plm_get_customer_desc(a.site, dbo.plm_get_project_final_customer_id(a.site, project_id)) as finalCustomerName,
dbo.plm_get_customer_desc(a.site,
dbo.plm_get_project_final_customer_id(a.site, project_id)) as finalCustomerName,
tracker,
dbo.plm_get_user_display(a.site, tracker) as trackerName,
quoter,
@ -106,13 +107,15 @@
dbo.plm_get_dictDataLabel('delivery_terms', delivery_terms, a.site) as deliveryTermsLabel,
quotation_amount,
customer_quote_no,
sourcing,
a.step_id,
a.reject_flag,
a.reject_step_id,
d.is_reject
FROM plm_quotation_information as a
left join plm_request_header as prh on a.site = prh.site and prh.menu_id = #{query.menuId}
left join plm_request_node as d on a.site = d.site and prh.classification_no = d.classification_no and prh.workflow_id = d.workflow_id and a.step_id = d.step_id
left join plm_request_node as d on a.site = d.site and prh.classification_no = d.classification_no and
prh.workflow_id = d.workflow_id and a.step_id = d.step_id
<where>
a.site = #{query.site}
<iftest="query.quotationNo != null and query.quotationNo != ''">