From acf28dc3b10b6add359972680b04e2230f6c1e89 Mon Sep 17 00:00:00 2001 From: hardya Date: Mon, 21 Jan 2008 16:01:06 +0000 Subject: [PATCH] Alter references from mety_code to existing_mety_code in response to r3310 git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3317 248e525c-4dfb-0310-94bc-949c084e9493 --- Modules/mip_quotation_document.pck | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/mip_quotation_document.pck b/Modules/mip_quotation_document.pck index e42517c..7d63632 100644 --- a/Modules/mip_quotation_document.pck +++ b/Modules/mip_quotation_document.pck @@ -577,12 +577,12 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS --get existing meter if appropriate if quote_item_rec.enty_code is not null then if quote_item_rec.enty_code <>'INSTALL' and quote_item_rec.enty_code <>'STD INSTALL' then - l_works(5) := 'Existing Meter Type: '|| p_enqu_row.existing_mesc_code ||' '||p_enqu_row.mety_code||', '|| p_enqu_row.existing_meter_model ||', MSN: '||p_enqu_row.existing_meter_serial_no ; + l_works(5) := 'Existing Meter Type: '|| p_enqu_row.existing_mesc_code ||' '||p_enqu_row.existing_mety_code||', '|| p_enqu_row.existing_meter_model ||', MSN: '||p_enqu_row.existing_meter_serial_no ; end if; --if it's not an install or exchange get the existing meter type (will overwrite --current value if already set in the code above) if quote_item_rec.enty_code not in('STD EXCHANGE','EXCHANGE','INSTALL','STD INSTALL') then - p_quote_data.mety_code := p_enqu_row.mety_code; + p_quote_data.mety_code := p_enqu_row.existing_mety_code; end if; if quote_item_rec.enty_code <> 'OFMAT' and quote_item_rec.enty_code <> 'ADVERSARIAL' then l_total_cost := p_quote_data.total_cost;