Steps Required For Coding Non‐Form functions
1. Open TEMPLATE.fmb in Form Builder.
2. Perform all the pre‐requisites to develop a Form.
3. Create the PUSH BUTTON in the data Block and change the following
properties.
Name : BOOK
Sub Class : BUTTON
Label : BOOK
Canvas : Canvas Name
4. Create a Non‐Form Function for this Layout Item in AOL Module.
5. Assign this Non‐Form Function to the Menu leaving the prompt empty.
6. Modify PRE‐FORM Trigger at Form Level.
IF FND_FUNCTION.TEST(‘NON_FORM_FUNCTION_NAME’) THEN
/* Retrieves Function ID */
APP_ITEM_PROPERTY.SET_PROPERTY(‘EX_ORDERS.BOOK’,
‘ENABLED’,’PROPERTY_ON’);
ELSE
APP_ITEM_PROPERTY.SET_PROPERTY(‘EX_ORDERS.BOOK’,
‘ENABLED’,’PROPERTY_OFF’);
END IF;
7. Save and Compile the Form.
8. Perform all the pre‐requisites to register the form.