Oracle applications - Surendranath Subramani: Steps to remove Related Application links from PO_PO_APPROVE_PDF_OAF notification

Thursday, July 12, 2018

Steps to remove Related Application links from PO_PO_APPROVE_PDF_OAF notification

Date: 12-July-2018

Environment: R12.1.3

Agenda: Today will see how to remove "Open Document" link available under "Related Application Links" in Purchase Order Workflow Notification.

Follow below steps:

1. First open the PO Approval Workflow from the database using the Workflow Builder Client software

2. Then open the Messages menu and open the message with internal name “PO_PO_APPROVE_PDF_OAF”  

3. Expand the message and select on Open Document attribute and delete it.

4. Upload the workflow to the database.

5. Now create a new PO and submit for approval and confirm the Related Application links are not there. 

6. If you still see the link then the issue could due to "Preserve Customization" option enabled at the message. Uncheck the option and correct to correct access level, save the workflow and upload to database.


[Alternate approach]


1. Modify PO Approval workflow to call custom function to reset value to "OPEN_FORM_COMMAND" attribute.

2. "OPEN_FORM_COMMAND" get the value from PO_REQAPPROVAL_INIT1.Set_Startup_Values. So once you write with NULL then the link will disappear.

       wf_engine.SetItemAttrText ( itemtype   => itemType
                                 , itemkey    => itemkey
                                 , aname      => 'OPEN_FORM_COMMAND'
                                 , avalue     => 'NULL'

                                 );





1 comment: