Overview
In order to disable New Record Button, Clear Button and Delete Button, Please follow below step
Write the code in the Form Level Trigger (WHEN-NEW-BLOCK-INSTANCE)
IF :XXBEX_PRO_BUDGET_HEADER_V.PROJECT_STATUS IN (‘PROJECT APPROVED’) THEN
APP_SPECIAL.ENABLE(‘FILE.NEW’, PROPERTY_OFF);
APP_SPECIAL.ENABLE(‘EDIT.CLEAR’, PROPERTY_OFF);
APP_SPECIAL.ENABLE(‘EDIT.DELETE’,PROPERTY_OFF);
ELSE
APP_SPECIAL.ENABLE(‘FILE.NEW’, PROPERTY_ON);
APP_SPECIAL.ENABLE(‘EDIT.CLEAR’, PROPERTY_ON);
APP_SPECIAL.ENABLE(‘EDIT.DELETE’,PROPERTY_ON);
END IF;
When we open the form and click on the block level Data then following Bottom is disabled.
New Record Bottom, Clear Record Button and Delete Button are disabled in the Form.
Recent Posts