Home » Applications » Oracle Fusion Apps & E-Business Suite » How to disable the NEW menu item (EBS version 12.1.3 DB version 11.2.0.2 and Forms10g)
How to disable the NEW menu item [message #553907] Wed, 09 May 2012 04:46 Go to next message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
Hi all,

I have a new form which is opened when the zoom is clicked from a standard Profiles form.
The new form receives 2 values profile option id and profile option name from the calling form and displays the same in 2 different fields.
Based on these 2 values the record is pulled from the custom table and displayed to the user.
If the record exists, the user is allowed to update.
Else he can enter additional info for the profiles choosen and save the record.
But user should not be allowed to click on the New menu item directly and create records.
How to disable the New menu item?
Re: How to disable the NEW menu item [message #553914 is a reply to message #553907] Wed, 09 May 2012 05:23 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

Try SET_MENU_ITEM_PROPERTY - Enabled Property (True / False).
Re: How to disable the NEW menu item [message #553917 is a reply to message #553914] Wed, 09 May 2012 05:36 Go to previous messageGo to next message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
As far as I know this built_in can be used for the custom menus and not standard menu items.
Re: How to disable the NEW menu item [message #553924 is a reply to message #553917] Wed, 09 May 2012 05:50 Go to previous message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
The New menu is disabled now....
APP_STANDARD.EVENT('WHEN-NEW-RECORD-INSTANCE');
app_special.enable('FILE.NEW', PROPERTY_OFF);

Using the above code in the WNRI trigger
Previous Topic: How to get sales order data with GL tables
Next Topic: Loading customer API
Goto Forum:
  


Current Time: Mon Dec 23 05:40:32 CST 2024