Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set MOAC in Oracle Workflow Procedure

1760492Dec 14 2014 — edited Dec 15 2014

Hi Guys,

I Hope so you all r fine.

I need Your Urgent Help.I Developed a custom  Workflow in R12 and Attached it to Custom OAF Form.

Am Calling a procedure from function activity to get next approver  from PO_EMPLOYEE_HIERARCHIES Table  .As you know this table demands set Org Context.

when i write this below code to set org context Workflow give me error of Commit Found in Procedure.

MO_GLOBAL.set_policy_context('S',621);

COMMIT;

if I don't commit i my cursor return me 0 rows as table is org context sensitive.Plz any Urgent Suggestion.

Regards,

SK

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2015
Added on Dec 14 2014
2 comments
1,053 views