20231212 - 서브밋 프로세싱 PL/SQL 에러 처리

1. 에러 메세지 수신용 아이템 생성



2. PL/SQL 실행 에러 메세지 창




3. PL/SQL 코드


declare
  e_error exception;
begin

  IF nvl(:P314_C002_CHK, 'N') = 'N' and nvl(:P314_C006_CHK, 'N') = 'N'
and nvl(:P314_C010_CHK, 'N') = 'N' and nvl(:P314_C014_CHK, 'N') = 'N'
and nvl(:P314_C018_CHK, 'N') = 'N' THEN
    apex_util.set_session_state('P314_ERROR', '체크된 처리할 대상이 없습니다.');
    raise e_error;
  END IF;
end;


4. 확인




참고

https://www.foxinfotech.org/oracle-apex-display-custom-error-messages-from-pl-sql-process

20250202 - IG 다운로드 버튼 바로 보이기

JS initialization Code : function (config) {     var $ = apex.jQuery,         toolbarData = $.apex.interactiveGrid.copyDefaultToolbar(),  ...