ORA-20001: APP-PER-06841 on API call to APPS.PER_PEOPLE_V7_PKG.UPDATE_ROW
I make a call to the APPS.PER_PEOPLE_V7_PKG.UPDATE_ROW function and get the following error...
'ORA-20001: APP-PER-06841: Person changes exist between the old date and the new date.'
What is up?
Thanks!
Message was edited by:
user454052
Here the query its failing on:
select 'Y'
from per_people_f p
where p.effective_start_date > p_hire_date - 1
and p.effective_start_date <> p_s_hire_date
and p.person_id = p_person_idI checked the package and fnd_new_messages against the message code, and thats the one that seems to be throwing it. Make sure your employee fits that criteria
Similar Messages
-
I have two questions:
1. If I have only single organization, Do I need to set up multi-org? We will be using AR, AP, and GL modules only.
2. Is there any step-by-step process to set up multi-org?
I am getting error: "Oracle error -20001 ORA-20001 APP-FND-02901. You do not have access to any operating unit. Please check if your profile option MO:Security Profile includes any operating unit or the profile option MO: operating unit is set has been detected in MO_GLOBAL_INIT" when I access any form for Entry.
Thanks1. If I have only single organization, Do I need to set up multi-org? We will be using AR, AP, and GL modules only.Yes.
2. Is there any step-by-step process to set up multi-org?https://forums.oracle.com/forums/search.jspa?threadID=&q=MultiOrg&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
I am getting error: "Oracle error -20001 ORA-20001 APP-FND-02901. You do not have access to any operating unit. Please check if your profile option MO:Security Profile includes any operating unit or the profile option MO: operating unit is set has been detected in MO_GLOBAL_INIT" when I access any form for Entry.Does this happen to all responsibilities?
Please see the steps in (ORA-20001: APP-FND-02901 Errors Encountered When "Requests" Tab is Selected from PFT or EPF [ID 859072.1]) to set the profile option at the responsibility level for the responsibility you are trying to access.
Thanks,
Hussein -
ORA-20001: APP-FND-02604
Hi,
I applied this :
Declare
Cursor C1 is
select d.product_code,b.responsibility_key from FND_USER_RESP_GROUPS_ALL a,fnd_responsibility b,fnd_user c,fnd_application d
where a.user_id = c.user_id
and a.responsibility_id = b.responsibility_id
and b.application_id = d.application_id
and c.user_name ='SYSADMIN'; -- user you want to copy
BEGIN
for v in c1 loop
FND_USER_PKG.AddResp('MYUSER',v.product_code, v.responsibility_key,
'STANDARD', 'DESCRIPTION', sysdate, null);
end loop;
END;
and I have this :
Input truncated to 1 characters
Declare
ERROR at line 1:
ORA-20001: APP-FND-02604:
APPLICATION_SHORT_NAME=GL, RESPONSIBILITY_KEY=GENERAL_LEDGER_SUPER_USER,
SECURITY_GROUP=STANDARD.
ORA-06512: "APPS.APP_EXCEPTION", line 70
ORA-06512: "APPS.FND_USER_PKG", line 2140
ORA-06512: line 11
Do you have any idea ? Thanks for your help.
Regards.It copy the FND responsabilities of a user (for me system) on another user (MYUSER)
It is the package :
/Data/oracle/d03/prdaappl/fnd/11.5.0/patch/115/sql/AFSCUSRB.pls
in which :
-- AddResp (PUBLIC)
-- For a given user, attach a valid responsibility.
-- If user name or application short name or responsbility key name
-- or security group key is not valid, exception raised with error message.
-- Usage example in pl/sql
-- begin fnd_user_pkg.addresp('SCOTT', 'FND', 'APPLICATION_DEVELOPER',
-- 'STANDARD', 'DESCRIPTION', sysdate, null); end;
-- Input (Mandatory)
-- username: User Name
-- resp_app: Application Short Name
-- resp_key: Responsibility Key
-- security_group: Security Group Key
-- description: Description
-- start_date: Start Date
-- end_date: End Date
procedure AddResp(username varchar2,
resp_app varchar2,
resp_key varchar2,
security_group varchar2,
description varchar2,
start_date date,
end_date date) is
userid number := -1;
respid number := -1;
appid number := -1;
secid number := -1;
begin
begin
select user_id into userid
from fnd_user
where user_name = AddResp.username;
select application_id into appid
from fnd_application
where application_short_name = AddResp.resp_app;
select responsibility_id into respid
from fnd_responsibility
where application_id = appid
and responsibility_key = AddResp.resp_key;
select security_group_id into secid
from fnd_security_groups
where security_group_key = AddResp.security_group;
exception
when no_data_found then
fnd_message.set_token('USER_NAME', username);
fnd_message.set_name('FND', 'INVALID_RESPONSIBILITY_DATA');
fnd_message.set_token('APPS_NAME', resp_app);
fnd_message.set_token('RESP_KEY', resp_key);
fnd_message.set_token('SECURITY_GROUP', security_group);
app_exception.raise_exception;
end;
if (fnd_user_resp_groups_api.assignment_exists(
userid, respid, appid, secid)) then
fnd_user_resp_groups_api.update_assignment(
user_id => userid,
responsibility_id => respid,
responsibility_application_id => appid,
security_group_id => secid,
start_date => AddResp.start_date,
end_date => AddResp.end_date,
description => AddResp.description);
else
fnd_user_resp_groups_api.insert_assignment(
user_id => userid,
responsibility_id => respid,
responsibility_application_id => appid,
security_group_id => secid,
start_date => AddResp.start_date,
end_date => AddResp.end_date,
description => AddResp.description);
end if;
end AddResp;
Best regards. -
I am getting this error message in AR Invoice Adjustment Process
APP-AR-11526: arp_process_adjustment.insert_adjustment exception: ORA-20001: APP-AR-96027 : Tax Accounting not defined for the tax code or tax location assigned to this invoice
Version 12.1.1
Please resolve ASAPPl see if MOS Doc 341469.1 (Adjustment Entry: APP-AR-96027: Tax accounting not defined for the tax code or tax location assigned to this invoice) can help.
HTH
Srini -
Error ORA-20001: The payment cannot be fully paid with the monetary units a
Hi All,
I have got the following error, when I am trying to run Pre-Payments. The error is coming for employees who are having Payment Method as "Cash".....
Error ORA-20001: The payment cannot be fully paid with the monetary units available.
ORA-06512: at "APPS.HR_UTILITY", line 937
ORA-06512: at "APPS.HR_PRE_PAY", line 1454
ORA-06512: at "APPS.HR_PRE_PAY", line 1944
I am not sure why that error is coming.
Can anyone tell me what needs to be done for rectifying that error.....
Regards,
PhaniWhat is the application release?
Please see these docs.
ORA-20001: APP-06442 The Payment Cannot Be Fully Paid With The Monetary Units Available Processing PrePayments [ID 250010.1]
ORA-20001: The Payment Cannot Be Fully Paid With The Monetary Units Available [ID 1226804.1]
Pre-payments Error when Paying an Employee in Currency other that USD or CA : The Payment Cannot be Fully Paid with the Monetary Units [ID 249746.1]
Thanks,
Hussein -
My app seems to consume an enormous amount of API calls every day? Please help!
I am tired and sad and frustrated here, and feel like a total moron. I am very sorry if my post is too long and not very well put together, but im beggin anyone with some experience here to please give me some advice.
I am currently testing out a app I have created to let people add events, search for events, comment on and get notified about changes in events they have signed up for. I have used Azure Mobile Service for this, and it all seems to have worked well. This is
mostly a learning app for me, since I am very much a noob.
Now we are nearing launch of the app, and I have started to look at the numbers in Azure. I am on the free version right now, where 16k api calls a day are free (will move to priced tier on launch) - but the numbers look completely off the hook here!
Every day 2-3 devices seem to run up 600-700 API calls. I do run the testing app hard, of course, but I guess some user might do that to.
So - 4% of the daily free calls are consumed by 3 devices. That means 33 users could fill the quota, and the first paid tier only gives room for 300 users.
Am I reading something wrong here? Is my app then not viable? I think it, even with my noobness, has a potentil to get a few thousand users. Does that mean Im gonna have to go to the top tier? Because I can not afford that.
Over to the stack part of the question:
I log the user in, I create the tables, and then when they hit search I do something like this:
eventenItemList = await eventenTable.Take (200).Where (item => item.Dateandtimeend >= DateAndTimeIn).
Where (item => item.Dateandtime <= DateAndTimeInEnd).
Where (item => item.Fylke == fylke).
Where (item => item.Pris <= MaksPris).ToListAsync ();
I would expect that to be a single API-call, but it seems to run up tens of calls - just there? How is that possible?
When the user is not in the app, I run a background service in Android that goes through a local db of events the user has created and then checks against the db for any changes to them. I do that like this:
var table = db.Table<MyEvents> ();
foreach (var e in table) {
eventenItemList = await eventenTable.Where (item => item.Id == e.EventId).ToListAsync ();
if (eventenItemList.Count == 0) {
} else {
//I here notify the user that something new is up - and what it is. Time changed, comments or whatever.
Im guessing this is stupid of me, since it probably makes one API call for each loop here? But in the numbers it just seems to do 2 calls - like I expect it to.
I am horribly lost here, people. I ran around a hundred random clicks around the app this evening - and racked up over 1500 api calls. I have been cold sweating since that. Any advice or info about how this api call-system works would be very much appreciated.Replying here in case someone else stumbles upon this post. This question was handled on SO:http://stackoverflow.com/questions/28685710/app-consumes-an-extreme-amount-of-api-calls-in-azure
-
ORA-20001: Maximum number of email messages per workspace exceeded
Greetings. We are running APEX 4.1.1. I have an application where we have to send out email messages to a list of emails. Currently there are 2469 email addresses. Originally we put the email addresses in the BCC but we received an error that we had exceeded the size limit of the BCC. So we modified our procedure to send one email at a time, in a loop.
Now we are receiving the following error message:
"ORA-20001: You have exceeded the maximum number of email messages per workspace"
Has anyone else run into this issue? What is maximum number or email messages per workspace? Is it a limit per day, per session?
We have not added emails to this table since last year, so the maximum number of email messages allowed may have changed recently?
I did find this Forum post that addressed the issue but no one responded:
How many mails i can send at a time per day using APEX mail system?
Thanks,
JohnHi jfosteroracle,
You are getting the error may be the following reason,
Check the following,
Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
It may be the reason.
Thank you.
Regards,
Gurujothi
Edited by: Gurujothi on Jun 27, 2012 5:54 AM -
Timeout when calling long running Oracle Apps Adapter API calls
When making a Oracle Apps Based adapter from ESB, Transactions are getting timedout for running calls (~ > 5 mins)
1) Created a Oracle Apps Adapter to execute a API call that returns, in our case, customer data.
2) Created a BPEL Which invokes this API based Adapter via. a partner link.
3) Following errors for calls which take ~ >5, transaction is timeout, when invoked from BPEL/ESB/SOAP UI Client.
From domain.log
==========
<2009-04-21 18:54:25,718> <DEBUG> <yeruvp.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Timed out; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Timed out
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:3086)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1728)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1473)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1196)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:476)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:436)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:790)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:395)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3715)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5710)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1085)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:515)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Timed out
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:568)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at oracle.j2ee.ws.client.dii.CallInvokerImpl.directInvoke(CallInvokerImpl.java:726)
at oracle.j2ee.ws.client.dii.BasicCall.directInvoke(BasicCall.java:743)
at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCall.java:649)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
... 83 more
<2009-04-21 18:54:25,721> <ERROR> <yeruvp.collaxa.cube.ws> <WSIFInvocationHandler::invoke> Fault happened: exception during SOAP invoke: Timed out; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Timed out
<2009-04-21 18:54:25,752> <DEBUG> <yeruvp.collaxa.cube.engine> AJPRequestHandler-RMICallHandler-61, a4 <invoke> partner OrgCustAdapter_pl, wikey:7990001-BpInv0-BpSeq0.3-3, bpel code line:84, Connection info:oracle_jdbc_driver_T4CConnection_Proxy@17f3851, connection hashCode:25114705, autocommit:false, Transaction info:[Transaction : orabpel : Xid( Global Id 1b.16.00.7d.00.00.00.00.2f.d3.6d.ca.20.01.00.00.17.41.03.00.00.00.00.00, Format Id 1330790740)], jtaTxState:1, CubeInstance:7990001, Process name:testCustomer_BPEL
Now looking to troubleshoot this Timed out issue.
i, Does this need to increase any configuration file timeout parameter on EBS Adapter or other component ?
Any suggessions to fix/towards resolution is appricated.
Thanks,
sgaragaAfter increasing sync-time-out and global transaction time out to 1800. Issue is still reported.
We are not using the jdbc pool.
Still not sure what we are missing here and running into this:
WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Timed out; nested
exception is:
javax.xml.rpc.soap.SOAPFaultException: Timed out
In addition:
========
Tested calling this PL/SQL API (exactly the same API CALLED in BPEL) in TOAD and this ran for 20 mts in DB.
With the changes(sync-time-out,global transaction time,hpptd.conf, and transaction-manager.xml ) in SOA configuration then we are getting the exception ..
So, we need help with SOA configuration to get the BPEL service working when the API called within BPEL service is taking approximately 20 mts.
Edited by: sgaraga on Apr 22, 2009 4:29 PM -
Timeout when calling Oracle Apps Adapter API calls.
1) Create a Oracle Apps Adapter to execute a API call that returns, in our case, customer data.
2) Create a BPEL Which invokes this API based Adapter via. a partner link.
Observations:
A) Posts the following errors for calls which take ~ >5, transaction is timeout, when invoked from BPEL/ESB/SOAP UI Client.
<2009-04-21 18:54:25,718> <DEBUG> <yeruvp.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Timed out; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Timed out
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:3086)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1728)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1473)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1196)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:476)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:436)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:790)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:395)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3715)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5710)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1085)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:515)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Timed out
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:568)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at oracle.j2ee.ws.client.dii.CallInvokerImpl.directInvoke(CallInvokerImpl.java:726)
at oracle.j2ee.ws.client.dii.BasicCall.directInvoke(BasicCall.java:743)
at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCall.java:649)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
... 83 more
<2009-04-21 18:54:25,721> <ERROR> <yeruvp.collaxa.cube.ws> <WSIFInvocationHandler::invoke> Fault happened: exception during SOAP invoke: Timed out; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Timed out
<2009-04-21 18:54:25,752> <DEBUG> <yeruvp.collaxa.cube.engine> AJPRequestHandler-RMICallHandler-61, a4 <invoke> partner OrgCustAdapter_pl, wikey:7990001-BpInv0-BpSeq0.3-3, bpel code line:84, Connection info:oracle_jdbc_driver_T4CConnection_Proxy@17f3851, connection hashCode:25114705, autocommit:false, Transaction info:[Transaction : orabpel : Xid( Global Id 1b.16.00.7d.00.00.00.00.2f.d3.6d.ca.20.01.00.00.17.41.03.00.00.00.00.00, Format Id 1330790740)], jtaTxState:1, CubeInstance:7990001, Process name:testCustomer_BPEL
Now i am looking to troubleshoot this Timed out issue.
i, Does this need to increase any configuration file timeout parameter on EBS Adapter or other component ?
Any suggestions to fix/towards resolution is appreciated.
Thanks,
sgaragaAfter increasing sync-time-out and global transaction time out to 1800. Issue is still reported.
We are not using the jdbc pool.
Still not sure what we are missing here and running into this:
WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Timed out; nested
exception is:
javax.xml.rpc.soap.SOAPFaultException: Timed out
In addition:
========
Tested calling this PL/SQL API (exactly the same API CALLED in BPEL) in TOAD and this ran for 20 mts in DB.
With the changes(sync-time-out,global transaction time,hpptd.conf, and transaction-manager.xml ) in SOA configuration then we are getting the exception ..
So, we need help with SOA configuration to get the BPEL service working when the API called within BPEL service is taking approximately 20 mts.
Edited by: sgaraga on Apr 22, 2009 4:29 PM -
Hi Experts,
I'm finding the below mentioned error while I'm saving assignment with Salary Basis, Location and Payroll.
APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4.
Please note that I am able to save the record if I do not any one of Salary Basis, Location. Payroll. It is basically happening on creating default tax.
Can anyone pleas let me know if you have facing the above error and resolved?
GuruHi Guru,
Did you check -
Error Saving A Salary Basis - pay_us_emp_dt_tax_rules.Insert_fed_tax_row (Doc ID 302878.1)
Cheers,
Vignesh -
hello.
I hope someone can help. My script below takes record(s) from a temporary table and loads them into ORACLE Financials via several APIs but on initial testing (using 1 NEW Record) it fails with the error message:
Employee No: 00020206
ORACLE error occurred processing record.. ORA-20001: PAY_7599_SYS_SUP_DT_OUTDATE
Ive tried to google the error message but nothing - can someone either suggest what this may be or shsow me another way of getting a more precise reason for the problem?
/* Formatted on 2009/04/29 11:52 (Formatter Plus v4.8.7) */
SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
SET verify OFF
SET feedback OFF
DECLARE
-- Debugging/error handling
-- Work variables
l_employ_start_date DATE:= TO_DATE ('01-APR-1999', 'DD-MON-YYYY');
v_ora_loc_code number := 0;
p_emp_number VARCHAR2 (14);
v_rec_cnt NUMBER := 0;
insert_flag VARCHAR2 (8);
err_num NUMBER;
err_msg VARCHAR2 (150);
err_line VARCHAR2 (350);
err_seq NUMBER := 0;
l_validate BOOLEAN DEFAULT FALSE;
l_std_business_group_id NUMBER := '0';
l_default_code_comb_id NUMBER := '218048';
l_organization_id NUMBER := '0';
l_set_of_books_id NUMBER := '1';
l_job_id NUMBER := '10';
l_obj NUMBER;
l_datetrack_update_mode VARCHAR2 (30) := 'CORRECTION';
l_assignment_sequence NUMBER;
l_name_combination_warning BOOLEAN := FALSE;
l_assign_payroll_warning BOOLEAN := FALSE;
l_org_now_no_manager_warning BOOLEAN;
l_other_manager_warning BOOLEAN;
l_spp_delete_warning BOOLEAN;
l_entries_changed_warning VARCHAR2 (30);
l_tax_district_changed_warning BOOLEAN;
l_person_id NUMBER;
l_assignment_id NUMBER;
l_assignment_id2 NUMBER; -- := '28262';
l_special_ceiling_step_id NUMBER;
l_per_effective_end_date DATE:= TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_people_group_id NUMBER;
l_group_name VARCHAR2 (30);
l_assignment_number VARCHAR2 (35);
l_effective_end_date DATE := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
l_date DATE := SYSDATE;
ip_p_address_id per_addresses.address_id%TYPE;
ip_p_object_version_number NUMBER;
ip_p_party_id per_addresses.party_id%TYPE;
l_per_object_version_number NUMBER;
l_asg_object_version_number NUMBER;
l_full_name VARCHAR2 (240);
l_per_comment_id NUMBER;
l_per_effective_start_date DATE;
l_concatenated_segments VARCHAR2 (240);
l_soft_coding_keyflex_id NUMBER;
l_comment_id NUMBER;
l_no_managers_warning BOOLEAN;
-- Get employee details info from work table
CURSOR get_employee_details
IS
SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
std_email_address, std_emp_status,
LPAD (std_employee_number, 8, '0') std_employee_number,
std_first_name, std_marital_status, std_middle_names,
std_nationality, std_title, std_national_identifier,
std_address_line1, std_address_line2, std_address_line3,
std_address_line4, std_post_code, std_telephone_1, std_country,
std_region, std_location_id, std_organization_id,
std_supervisor_id, std_person_id, std_position_id
FROM SU_TEMPLOYEE_DETAILS;
-- Get EXISTING employee details info from ORACLE tables
CURSOR get_existing_employee_details
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE
per.person_id = padd.person_id
-- AND paas.person_id(+) = per.person_id;
AND paas.person_id(+) = per.person_id;
-- checks employee details info from PER_ALL_PEOPLE_F table
CURSOR c_check_employee (p_emp_number VARCHAR2)
IS
SELECT per.person_id, per.business_group_id, per.last_name,
per.start_date, per.date_of_birth, per.email_address,
per.employee_number, per.first_name, per.marital_status,
per.middle_names, per.nationality, per.national_identifier,
per.sex, per.title, padd.address_id, padd.primary_flag,
padd.address_line1, padd.address_line2, padd.address_line3,
padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
FROM per_all_people_f per,
per_all_assignments_f paas,
per_addresses padd
WHERE per.employee_number = p_emp_number
AND per.person_id = padd.person_id
AND paas.person_id(+) = per.person_id;
emp_rec c_check_employee%ROWTYPE;
-- Cursor retrieves latest Object Version Number from per_assignments_f table..
CURSOR csr_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
IS
SELECT MAX (paas.object_version_number)
FROM per_assignments_f paas, per_all_people_f per
WHERE paas.person_id = per.person_id
AND per.employee_number = paas.assignment_number
AND per.person_id = cp_person_id;
-- Cursor to get Oracle_Loc_Code from SU CHRIS vs ORACLE Locations Table into a variable..
CURSOR csr_ora_loc_code (cp_location_id IN SU_TEMPLOYEE_DETAILS.std_location_id%TYPE)
IS
SELECT sil.ORACLE_LOC_CODE
FROM SU_TEMPLOYEE_DETAILS std, SU_IEXP_LOCATIONS sil
WHERE std.STD_LOCATION_ID = sil.CHRIS_LOC_code
AND std.STD_LOCATION_ID = cp_location_id;
BEGIN
-- Process each record in the work table
FOR v_emp IN get_employee_details
LOOP
-- determine whether customer already exists
OPEN c_check_employee (v_emp.std_employee_number);
FETCH c_check_employee
INTO emp_rec;
l_assignment_id2 := emp_rec.assignment_id;
IF v_emp.std_emp_status = 'N' and c_check_employee%NOTFOUND
THEN
insert_flag := 'I';
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number);
ELSIF v_emp.std_emp_status = 'C'
THEN
-- if c_check_employee%NOTFOUND then raise no_data_found;
-- elsif l_assignment_id2 is null then
if l_assignment_id2 is null then
raise_application_error (-20010, 'Employee No: ' || v_emp.std_employee_number || ' exists but has no assignment id!');
end if;
DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number || ' already exists, making changes.. ' );
insert_flag := 'C';
-- RAISE_APPLICATION_ERROR (-20001, 'Employee No: ' || v_emp.std_employee_number || ' already exists ' );
END IF;
CLOSE c_check_employee;
-- Obtain the most recent Object Version Number..
OPEN csr_ovn (v_emp.std_person_id);
FETCH csr_ovn
INTO l_obj;
-- IF csr_ovn%NOTFOUND THEN RAISE NO_DATA_FOUND; END IF;
CLOSE csr_ovn;
-- Open Oracle Location Code cursor
OPEN csr_ora_loc_code(v_emp.std_location_id);
FETCH csr_ora_loc_code
INTO v_ora_loc_code;
CLOSE csr_ora_loc_code;
-- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
IF insert_flag = 'I'
THEN
-- -- Importing Employee Procedure --
Hr_Employee_Api.create_gb_employee
(p_validate => l_validate,
p_hire_date => l_employ_start_date,
p_business_group_id => l_std_business_group_id,
p_date_of_birth => v_emp.std_date_of_birth,
p_email_address => v_emp.std_email_address,
p_first_name => v_emp.std_first_name,
p_middle_names => v_emp.std_middle_names,
p_last_name => v_emp.std_last_name,
p_sex => v_emp.std_sex,
p_ni_number => v_emp.std_national_identifier,
p_employee_number => v_emp.std_employee_number,
p_person_id => l_person_id,
p_title => v_emp.std_title,
p_assignment_id => l_assignment_id,
p_per_object_version_number => l_per_object_version_number,
p_asg_object_version_number => l_asg_object_version_number,
p_per_effective_start_date => l_per_effective_start_date,
p_per_effective_end_date => l_per_effective_end_date,
p_full_name => l_full_name,
p_per_comment_id => l_per_comment_id,
p_assignment_sequence => l_assignment_sequence,
p_assignment_number => l_assignment_number,
p_name_combination_warning => l_name_combination_warning,
p_assign_payroll_warning => l_assign_payroll_warning
Hr_Person_Address_Api.create_person_address
(p_validate => l_validate,
-- p_effective_date => v_emp.std_hire_date,
p_effective_date => l_employ_start_date,
p_pradd_ovlapval_override => NULL,
p_validate_county => NULL,
p_person_id => l_person_id,
p_primary_flag => 'Y',
p_style => 'GB_GLB',
p_date_from => SYSDATE,
p_date_to => NULL,
p_address_type => NULL,
p_comments => NULL,
p_address_line1 => v_emp.std_address_line1,
p_address_line2 => v_emp.std_address_line2,
p_address_line3 => v_emp.std_address_line3,
p_town_or_city => v_emp.std_address_line4,
p_region_1 => NULL,
p_region_2 => NULL,
p_region_3 => NULL,
p_postal_code => v_emp.std_post_code,
p_country => v_emp.std_nationality,
p_telephone_number_1 => NULL,
p_telephone_number_2 => NULL,
p_telephone_number_3 => NULL,
p_party_id => ip_p_party_id,
p_address_id => ip_p_address_id,
p_object_version_number => l_obj
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => l_default_code_comb_id,
p_set_of_books_id => l_set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => SYSDATE, -- l_date,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id,
p_object_version_number => l_obj,
p_organization_id => l_organization_id,
p_location_id => v_ora_loc_code,
p_job_id => l_job_id,
p_position_id => v_emp.std_position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => l_date,
--per_effective_start_date,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' records read in..'
-- Updating PER_ALL_PEOPLE_F and PER_ADDRESSES record from
-- info in table record
ELSE IF insert_flag = 'C'
THEN
-- ===================================================
-- these next 6 lines is for the initial mass update of existing employee records only
-- ===================================================
/*IF emp_rec.default_code_comb_id is NULL THEN
l_default_code_comb_id = 218048;
END IF;
IF emp_rec.job_id is NULL THEN
l_job_id = 10;
END IF; */
-- =========
-- Section end
-- =========
Hr_Assignment_Api.update_emp_asg
(p_validate => l_validate,
p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
p_supervisor_id => v_emp.std_supervisor_id,
p_default_code_comb_id => emp_rec.default_code_comb_id,
p_set_of_books_id => emp_rec.set_of_books_id,
p_concatenated_segments => l_concatenated_segments,
--IN/OUT
p_soft_coding_keyflex_id => l_soft_coding_keyflex_id,
--IN/OUT
p_comment_id => l_comment_id,
--IN/OUT
p_effective_start_date => l_date, --IN/OUT
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_no_managers_warning => l_no_managers_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning
--IN/OUT
Hr_Assignment_Api.update_emp_asg_criteria
(p_validate => l_validate,
p_effective_date => emp_rec.EFFECTIVE_START_DATE,
p_datetrack_update_mode => l_datetrack_update_mode,
p_assignment_id => l_assignment_id2,
p_object_version_number => l_obj,
p_organization_id => emp_rec.organization_id,
p_location_id => v_ora_loc_code,
p_job_id => emp_rec.job_id,
p_position_id => emp_rec.position_id,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => emp_rec.EFFECTIVE_START_DATE,
p_effective_end_date => l_effective_end_date,
--IN/OUT
p_people_group_id => l_people_group_id,
--IN/OUT
p_group_name => l_group_name, --IN/OUT
p_org_now_no_manager_warning => l_org_now_no_manager_warning,
--IN/OUT
p_other_manager_warning => l_other_manager_warning,
--IN/OUT
p_spp_delete_warning => l_spp_delete_warning,
--IN/OUT
p_entries_changed_warning => l_entries_changed_warning,
--IN/OUT
p_tax_district_changed_warning => l_tax_district_changed_warning
--IN/OUT
v_rec_cnt := v_rec_cnt + 1;
DBMS_OUTPUT.PUT (CHR (10));
DBMS_OUTPUT.PUT_LINE ( 'There were '
|| v_rec_cnt
|| ' records read in..'
DBMS_OUTPUT.PUT (CHR (10));
-- End of customer related details
END IF;
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
WHEN OTHERS
THEN
ROLLBACK;
err_num := TO_CHAR (SQLCODE);
err_msg := SUBSTR (SQLERRM, 1, 150);
err_line := 'ORACLE error occurred processing record.. ' || err_msg;
DBMS_OUTPUT.PUT_LINE (err_line);
INSERT INTO SU_ERROR_LOG VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
END;
EXIT;Many thanks
StevenIt looks like the Supervisor employee is not active for the duration of the Employee Record.
Using the correct Supervisor record should resolve the issue. -
ORA-20001 FLEX-ID DOES NOT EXIST
Hi Experts,
Please am having this issue when running create Grade api for HCM of Oracle EBS.
When i execute this script below to existing Business Group( Vision University 1759 or Vision Corporation 202 ) data is transferred to per_grades and per_grade_definitions tables
But when i execute this same script pointing to a Business Group (TEST BG 7891) we created by ourself it gives error code ORA-20001 FLEX-ID DOES NOT EXIST
I have a strong feeling that creating our Business Group and setting up the Grade Flexfield has a problem, but i can 't trace the fault, am not EBS expert
Please can you please advice where am going wrong !!
Thanks,
Kwesi
SCRIPT BELOW:
Procedure Create_Grade
is
l_Validate Boolean := FALSE;
l_Business_Group_id Number(15,2);
l_Date_From Date;
l_Sequence Number(15,2);
l_Grade_id Number(15,2);
l_Object_Version_Number Number(15,2);
l_Grade_Definition_id Number(15,2);
l_Name Varchar2(100);
l_OVN Number(15,2) := 1;
i Number;
Begin
For Grad In (Select * from chr_Grades where OVN IN l_OVN) loop
Begin
apps.hr_grade_api.Create_Grade(
p_Validate => l_Validate,
p_Business_Group_id =>7891,
p_Date_From => to_Date(sysdate,'DD-MM-YYYY'),
p_Sequence => 11,
p_Grade_id => l_Grade_id,
p_Object_Version_Number => l_Object_Version_Number,
p_Grade_Definition_id => l_Grade_Definition_id,
p_Name => l_Name,
p_segment1 => Grad.Grade_id,
p_segment2 => Grad.Grade_Name,
p_segment3 => Grad.Grade_Description
Update chr_Grades Set OVN = 2
where Grade_id = Grad.Grade_id;
End;
End loop;
Commit;
End Create_Grade;Well, i found the solution to my problem, and is just creating the segment you want to use in your flexfield without PASSING ANY VALUESET.
-
AP Create Accounting - Error ORA-06512, XLA-95103, ORA-20001, ORA-20100
*Hello all you patient Oracle Champs - I know issues like this are floating around the forum and web but I still can't seem to fine a match.*
*> OA R12.1.3*
*> Orcale Database Server 11.2.0.2*
[010613_011550898][][EXCEPTION] SQLException encounter while executing data trigger....
java.sql.SQLException: ORA-20001: -: XLA-95103: An internal error occurred.
Please inform your system administrator or support representative that:
An internal error has occurred in the program xla_create_acct_rpt_pvt.BeforeReport .
ORA-20001: -: XLA-95103: An internal error occurred.
Please inform your system administrator or support representative that:
An internal error has occurred in the program XLA_CREATE_ACCT_RPT_PVT.print_logfile.
ORA-20100: Error: FND_FILE failure. Unable to create file, o0104058.tmp in the directory, /usr/tm
ORA-06512: at "APPS.APP_EXCEPTION", line 72
*> Note the directory path cited: +/usr/tm+*
*> A later error:*
Oracle error 20100: java.sql.SQLException: ORA-20100: Error: FND_FILE failure.
Unable to create file, o0104058.tmp in the directory, /usr/tmp.
*> Note the directory: +/usr/tmp+*
SQL> show parameter utl_file_dir
utl_file_dir
string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
$ echo $APPLTMP
/Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
*> has read/write permissions (777)*
$ echo $APPLPTMP
/usr/tmp
*> has read/write permissions (777)*
*> There is plenty of space in /usr, /Develop_Appl*
*> Patch 10131305 already applied per note: 1392267.1*
*> SLA: Enable Diagnostics set to a null value (blank)*
*> the file o0104058.tmp does not exist in either $APPLTMP or $APPLPTMP (i.e. note 460643.1)*
*> I confirmed that note 749491.1 was not an issue*
*> note 261693.1 did not seem to apply*
*> note 148262.1 did not seem to apply*
I can provide the concurrent & FND debug output if needed.
Thank you all*
Zippy the PZippy242 wrote:
Hi Hussein,
checked 1252703.1 - it doesn't appear applicable:
SQL> show parameter utl_file_dir
utl_file_dir
string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
$ echo $APPLTMP
/Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
*> has read/write permissions (777)*
$ echo $APPLPTMP
/usr/tmp
*> has read/write permissions (777)*
checked 760614.1 - not the case:
no invalid XLA%
FUN_SEQ_BATCH both package and body are valid.
Please Advise
thanks,
ZipAre you running all the application/database services on one server or multiple ones?
Thanks,
Hussein -
ORA-20001: Please define the item validation organization in the Parameters
When Manual Inter company invoice is created following error is coming up and as per ‘Metalink’ the solution for this is to select correct operating unit for ‘Item Validation Organization’. Since there are no items involved [Standard Memo Lines used] I don’t need to setup this and so the solution don't work.
ORA-20001: Please define the item validation organization in the Parameters window in Order Management
ORA-06512: at “APPS.APP_EXCEPTION”, line 72
ORA-06512: at “APPS.ARP_TAX”, line 8216
ORA-06512: at “APPS.ARP_TAX”, line 8361
ORA-06512: at line 1
So can anyone help to avoid this error....
Edited by: 936837 on Aug 8, 2012 1:04 PM936837 wrote:
When Manual Inter company invoice is created following error is coming up and as per ‘Metalink’ the solution for this is to select correct operating unit for ‘Item Validation Organization’. Since there are no items involved [Standard Memo Lines used] I don’t need to setup this and so the solution don't work.
ORA-20001: Please define the item validation organization in the Parameters window in Order Management
ORA-06512: at “APPS.APP_EXCEPTION”, line 72
ORA-06512: at “APPS.ARP_TAX”, line 8216
ORA-06512: at “APPS.ARP_TAX”, line 8361
ORA-06512: at line 1Please see these docs.
Error: Please define the item validation organization in the Parameters window in Order Management [ID 1163873.1]
Cannot Setup Salespersons [ID 344082.1]
Thanks,
Hussein -
Getting error ORA-20001: This person does not have preferences for the sele
*) I got user_id by following query
SELECT USER_ID, USER_NAME, FND_USER.*
from FND_USER where user_name = '205174';
*) resource_id by following query:
select * from APPS.PA_PROJECT_ASSIGNMENTS where RESOURCE_ID in (select RESOURCE_ID from APPS.PA_RESOURCES_DENORM where PERSON_ID
in (select PERSON_ID from APPS.PER_ALL_PEOPLE_F where EMPLOYEE_NUMBER= 205173) ) ;
*) person_id by following query:
select * from APPS.PA_RESOURCES_DENORM where PERSON_ID in (select PERSON_ID from APPS.PER_ALL_PEOPLE_F where EMPLOYEE_NUMBER= 205173) ;
and
Hi,
When I am running following query to submit timesheet, getting following warning msg
anonymous block completed
ORA-20001: This person does not have preferences for the selected effective date
Following is query
set serveroutput on size 1000000
DECLARE
l_tbl_messages hxc_message_table_type;
l_message fnd_new_messages.message_text%type;
i pls_integer;
l_app_blocks hxc_block_table_type := hxc_block_table_type();
l_app_attributes hxc_self_service_time_deposit.app_attributes_info;
l_time_building_block_id number;
l_new_timecard_id number;
l_new_timecard_ovn number;
l_bb_id number;
l_resource_id hxc_time_building_blocks.resource_id%TYPE := 3595; -- XPCPAY
l_start_time hxc_time_building_blocks.start_time%TYPE := fnd_date.canonical_to_date('2011/10/17 00:00:00');
l_measure hxc_time_building_blocks.measure%TYPE := 1;
l_element_type_id varchar2(80) := 'ELEMENT - 50809'; -- Jury Duty
l_comment_text hxc_time_building_blocks.comment_text%TYPE := '';
l_deposit_process hxc_deposit_processes.NAME%TYPE := 'OTL Deposit Process';
l_retrieval_process varchar2(250) := 'BEE Retrieval Process';
BEGIN
fnd_global.apps_initialize ( user_id => 3850 -- XPCPAY
, resp_id => 3595 -- Self Service Time
, resp_appl_id => 809 -- HXC
hxc_timestore_deposit.create_time_entry ( p_measure => l_measure
, p_day => l_start_time
, p_resource_id => l_resource_id
, p_resource_type => 'PERSON'
, p_comment_text => l_comment_text
, p_deposit_process => l_deposit_process
, p_app_blocks => l_app_blocks
, p_app_attributes => l_app_attributes
, p_time_building_block_id => l_bb_id
hxc_timestore_deposit.create_attribute ( p_building_block_id => l_bb_id
, p_attribute_name => 'Dummy Element Context'
, p_attribute_value => l_element_type_id
, p_deposit_process => l_deposit_process
, p_app_attributes => l_app_attributes
hxc_timestore_deposit.execute_deposit_process ( p_validate => TRUE
, p_app_blocks => l_app_blocks
, p_app_attributes => l_app_attributes
, p_messages => l_tbl_messages
, p_mode => 'SUBMIT'
, p_deposit_process => l_deposit_process
, p_retrieval_process => l_retrieval_process
, p_timecard_id => l_new_timecard_id
, p_timecard_ovn => l_new_timecard_ovn
-- OUTPUT MESSAGES --
DBMS_OUTPUT.put_line ('l_new_timecard_id = ' || l_new_timecard_id);
DBMS_OUTPUT.put_line ('l_new_timecard_ovn = ' || l_new_timecard_ovn);
if (l_tbl_messages.COUNT <> 0) THEN
i := l_tbl_messages.FIRST;
LOOP
EXIT WHEN (NOT l_tbl_messages.EXISTS(i));
l_message := fnd_message.get_string ( appin => l_tbl_messages(i).application_short_name
, namein => l_tbl_messages(i).message_name
DBMS_OUTPUT.put_line (l_tbl_messages(i).message_name);
DBMS_OUTPUT.put_line (l_message);
i := l_tbl_messages.NEXT(i);
END LOOP;
rollback;
else
commit;
end if;
exception
when others then
DBMS_OUTPUT.put_line(SQLERRM);
END;
/Please check the following MOS notes:
ORA-20001: This Person Does Not Have Preferences For the Selected Effective Date [ID 876324.1]
ORA-20001: This Person Does Not Have Preferences For The Selected Effective Date [ID 761470.1]
Troubleshooting Guide for HRMS API Errors - ORA-20001 and APP Errors [ID 152259.1]
''This Person Does Not Have Preferences For The Selected Effective Date'' Message [ID 287581.1]
Diagnostics - Setup - Time and labour Person - Test failed [ID 397214.1]
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.
Maybe you are looking for
-
How to create dynamic DataTable with dynamic header/column in JSF?
Hello everyone, I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in
-
I tried to insert an image into Captivate 2. The image was a green line with a gray backgroung, which I prepared in Power Point,and saved as a PNG. I cropped it in Photo Editor, and tried to insert it into Captivate 2, but Captivat just put in the im
-
Is there a reason why I can't see my photos from iphoto?
-
How to upload logos in alv reports
how to upload logos in alv reports?
-
Software Problems Safari & Youtube
Why does every time I leave Safari open with a few tabs and then I click on the Tabs to re-check the page it gets REFRESHED??? Also another question, Why when I'm listening to a youtube video suddenly it stops and it never plays again? By the way it