DECLARE
NAME_sv VARCHAR2(30);
--Detail_sv VARCHAR2(30) := 'Change Details';
BEGIN
if :P18_CREATE_SW = 0 then
select ENAME into NAME_sv from emp where EMPNO = :p18_EMPNO;
:P18_NAME := initCap(NAME_sv);
:p18_head_detail := ' * Modfy Detail Customer';
else
:p18_head_detail := ' Add Detail Customer';
:P18_NAME := ' ';
end if;
END;