I am trying to use the CC_CASE_API.Accept__(p0_, p1_, p2_, p3_, p4_)
Is there a way to accept the case on behalf of another user? Currently using Apps 10 v8
I am trying to use the CC_CASE_API.Accept__(p0_, p1_, p2_, p3_, p4_)
Is there a way to accept the case on behalf of another user? Currently using Apps 10 v8
I was able to do this impersonating the user. I don’t think this is the best way but it may be the only way.
IFSAPP.Fnd_Session_API.Impersonate_Fnd_User(:userId);
IFSAPP.CC_CASE_API.Accept__(p0_, p1_, p2_, p3_, p4_);
IFSAPP.Fnd_Session_API.Reset_Fnd_User;
Be sure to add RESET_FND_USER
in your exception error handler to ensure it always gets reset.
Something like…
BEGIN
IFSAPP.Fnd_Session_API.Impersonate_Fnd_User(:userId);
IFSAPP.CC_CASE_API.Accept__(p0_, p1_, p2_, p3_, p4_);
IFSAPP.Fnd_Session_API.Reset_Fnd_User;
EXCEPTION WHEN OTHERS THEN
IFSAPP.Fnd_Session_API.Reset_Fnd_User;
RAISE;
END;
/
Hey Randall! good to see you on here.
Fwiw I cannot see another way to do this.
Thank you Durette. Good Catch on the exception. I ran into it when testing.
Paul - Hope you are well. I’ve used several of your answers on here when looking for info.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.