-- ABS-83583 / ABS-103319

create or replace procedure tempCreateSS as
begin
CreateSystemSetting('Customer Screen Settings', 'BUDGETPROTECTIONDEFAULT', 'NNNNNNNN', 'S', 'NNNNNNNN', 'Y', 'N', 8, 8, 'YN', 'String that holds default values for the various Budget Protection types. Each position in the string represents the default value to be taken for that type of Budget Protection, in order:'|| chr(10) ||'1 - Material Maintenance Protection (MMP)'|| chr(10) ||'2 - Garment Setup Protection (GSP)'|| chr(10) ||'3 - Garment Maintenance Protection (GMP)'|| chr(10) ||'4 - Garment Loss Protection (GLP)'|| chr(10) ||'5 - Garment Repair Protection (GRP)'|| chr(10) ||'6 - Garment Emblem Protection (GEP)'|| chr(10) ||'7 - Merchandise Buyout Protection (MBYOP)'|| chr(10) ||'8 - Material Loss Protection (MLP)'|| chr(10) ||''|| chr(10) ||'for example NNYNNNNN means only GMP will be defaulted as Y', 'N');
end tempCreateSS;
/
execute tempCreateSS;
drop procedure tempCreateSS;

UPDATE SYSTEMSETTING SN
   SET SN.VALUE=SN.VALUE || 'N' 
 WHERE SN.NAME= 'BUDGETPROTECTIONDEFAULT';
COMMIT;