Académique Documents
Professionnel Documents
Culture Documents
Login as sysadmin
And create subscription for the event.
Navigation : Workflow Administrator Web Applications > Administrator Workflow >
Business Events.
Query the event (Example : oracle.apps.po.autocreate.pocreated) & Click on
Subscription
Enter the subscription details (like Phase, Action type) as shown below.
Click on Next.
Enter the Package.Function name which has the custom logic in PL/SQL Rule
Function column.
Step 2:
Here is the Sample custom hook package with custom logic. Please compile the
same in the corresponding database instance. This will create the Package.Function
mentioned in the above subscription in the database.
Final_Hook_packagecode.sql
Step 3:
Here is the example to verify the custom logic. Check the requisition price and
autocreate the requisition to PO. And check whether the PO price is doubled the
requisition price. Also check whether the attribute1 in PO headers and PO lines are
populated with the custom values mentioned in the function.
1. Purchasing Responsibility
Requisition Summary > Query the requisition. Check the Requisition Price :
490.