Friday, 10 November 2017

How to disable of the Add New Record Button, Clear Button and Delete Button from the Oracle apps Custom Form EBS R12.

How to disable of the Add New Record Button, Clear Button and Delete Button from the Oracle apps Custom Form EBS R12.
    

Write the code in the Form Level Trigger (WHEN-NEW-BLOCK-INSTANCE)
-- New Record Bottom, Clear Record Button and Delete Button is disable in the Oracle apps Form. --



       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 disable.

New Record Bottom, Clear Record Button and Delete Button is disable in the Form.



1 comment:

  1. APP_SPECIAL.ENABLE('EDIT.DELETE',PROPERTY_OFF) is not workable

    ReplyDelete

How to make responsibilities as read only in oracle apps EBS R12 Using Custom.Pll Or Creating a read only Responsibility in oracle apps EBS R12 Using Custom.Pll

  How to make responsibilities as read only in oracle apps EBS R12 Using Custom.Pll Or Creating a read only Responsibility in oracle apps ...