The logic that defined how the IP Details/IP Mbar fields were to be validated was incorrect. The DATAITEM_ROLES.xls spreadsheet states that only IP Details field needs to be mandatory when service pressure is IP, the IP mbar field is optional.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3879 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -42,7 +42,7 @@ CREATE OR REPLACE PACKAGE BODY mip_helper_special_cases IS
|
||||
'CHANGE CAPACITY', 'ADDON', 'OTHER')
|
||||
AND p_rec.required_svcp_code = 'IP'
|
||||
AND
|
||||
(p_rec.required_ip_mbar IS NULL OR p_rec.required_ip_details IS NULL) THEN
|
||||
(p_rec.required_ip_details IS NULL) THEN
|
||||
mip_mandatory.add_error(p_mandatory_checks => p_mandatory_checks
|
||||
,p_field_name => 'REQUIRED_SVCP_CODE'
|
||||
,p_error_message => 'Required IP Details must be completed when a Service Pressure of ''IP'' is requested.');
|
||||
|
||||
Reference in New Issue
Block a user