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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user