qh.quotation_header_id,
qh.site,
qh.quotation_no,
qh.quotation_date,
qh.customer_no,
dbo.plm_get_customer_desc(qh.site, qh.customer_no) as customerName,
qh.version_code,
qh.project_id,
dbo.plm_get_project_name(qh.site, qh.project_id) as projectName,
dbo.plm_get_project_final_customer_id(qh.site, qh.project_id) as finalCustomerId,
dbo.plm_get_customer_desc(qh.site, dbo.plm_get_project_final_customer_id(qh.site, qh.project_id)) as finalCustomerName,
qh.tracker,
dbo.plm_get_user_display(qh.site, qh.tracker) as trackerName,
qh.quoter,
dbo.plm_get_user_display(qh.site, qh.quoter) as quoterName,
qh.currency,
qh.quotation_status,
qh.remark,
qh.customer_inquiry_no,
qh.internal_inquiry_no,
qh.require_approval,
qh.approval_status,
qh.create_by,
qh.create_time