Alterations to schema (primarily enquiries) to support 'existing' meter requirements due to [wiki:MeetingNotes/MeetingNote3rdMarch Meeting to discuss/spec new variations, 3rd March]

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3837 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-03-04 15:14:02 +00:00
parent dbcb349c45
commit de1d9d408e
10 changed files with 177 additions and 168 deletions

View File

@@ -1347,10 +1347,13 @@ RECEIVED AT THIS ADDRESS CANNOT BE RESPONDED TO.');
INTO l_svcpt_code
FROM service_pressures
WHERE code = p_enqu.required_svcp_code;
IF l_svcpt_code <> 'MP' THEN
IF l_svcpt_code = 'LP' THEN
p_manual_or_automatic_quote := gc_automatic_quote;
ELSIF l_svcpt_code <> 'MP' THEN
p_manual_or_automatic_quote := gc_manual_quote;
add_quote_reason(p_enqu.id
,'Site Survey is required for exchange of an existing non-MP meter.');
,'Site Survey is required for exchange of an existing ' ||
l_svcpt_code || ' meter.');
ELSE
-- Exchange, MP
IF p_enqu.existing_mety_code <> 'DIAPHRAGM' THEN