diff --git a/Schema/V_QUOTE_DETAILS.vw b/Schema/V_QUOTE_DETAILS.vw index 5db5c7f..208d31f 100644 --- a/Schema/V_QUOTE_DETAILS.vw +++ b/Schema/V_QUOTE_DETAILS.vw @@ -18,6 +18,7 @@ SELECT enquiry_id ,inlet_orientation ,outlet_orientation ,total_cost + ,row_number FROM (SELECT q.enqu_id AS enquiry_id ,t.qute_id AS quote_id ,MAX(t.enty_code) over(PARTITION BY qute_id) AS enty_code