Error while updating Task using pa_project_pub.update_project API
Hi All,
I am using AMG APIs "pa_project_pub.update_project" for Task dates update . I am getting the API Error message as : "For a shared structure or a Workplan structure, all tasks in the structure should be passed in correct hierarchy."
Even though I am passing the Task information in the task_in_tbl_type in correct order (Ex. For extending dates, Top Task first followed by Sub Task and vice-versa for the shortenings the dates).
Still I am getting the Error. Request you to help me in resolving the error.
Thanks,
Atul
Hi All,
Thank you All.
Actualy I was watching the thread and got no Reply.this enable me to search more for the cause and eventually for the solution.
The Error "The flex field values you have entered are invalid" was because of DFF values only. I found this solution from API code only. It takes me to PA_PROJECTS_PVT where I Found the Error Code and then to flex field validation and then to Task utility Package.
Actually when you are not passing any value for Attributes, It will take the Old values only. and If the old values fails to Validate, this issue may arise. Same was the cause in this case. For An attribute the Value Set was "Standard Date" and it was accepting "DD-MON-RRRR" from Front End, but keeping "DD-MON-RRRR HH:MI:SS" as a value in the Attribute. For Eg. 12-DEC-2012 will be stored as 12-DEC-2012 00:00:00. It was there for almost all the Tasks.
And when it was passed internally to API, It was causing the Error that Value enterted are Invalid.
I came to know only after running the Desc Flex Field Validate API, which PA_PROJECTS_PVT was using.
Got the Solution and feel like sharing with you all.
Thanks,
Amit
Similar Messages
-
Hi, I'm using an initiator Task form a process in BPM with SOA version 11.1.1.6 and JDeveloper 11.1.1.6 and everytime I try to update the task I get this error:
ORABPEL-10101
Error while updating task .
Error while updating task Cannot delete Comments.
Check the underlying exception and database connection information. If the error persists, contact Technical Support Services at Oracle.
at oracle.bpel.services.workflow.repos.driver.WFTask.updateComments(WFTask.java:5384)
at oracle.bpel.services.workflow.repos.driver.WFTask.updateWFTask(WFTask.java:2712)
at oracle.bpel.services.workflow.repos.driver.PersistencyService.updateWFTask(PersistencyService.java:630)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6586)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6306)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6277)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6253)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6235)
at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:2088)
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:597)
I've tried to remove the userComments from the Task Form, and remove anything associated with it, but everytime I try to savbe the task it gets this error
thanksHi,
Have you solved the problem? For I have met the same problem, Could you share it with me.
thanks a lot. -
Unknown error while updating module use!
I restarted XE with "/etc/init.d/oracle-xe stop /etc/init.d/oracle-xe start" and then see this error message in the terminal console. Every serveral minutes, the error "Unknown error while updating module use!" is echoed.
Any advice?Look for the alert_xe.log file, maybe you'll find some additional information there if that message is related to your XE instance.
C. -
Error while retrieving TASK list through worklist API
Hi All,
I am try'n to retrieve TASK lit for user in BPEL 10.1.3.1 using worklist api ,
I am stucked with this error while quering the tasks.
bpeladmin
Aug 25, 2008 11:31:52 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: oracle.bpel.services.workflow.task.model.TaskImpl; unable to create instance
at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:897)
at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:341)
at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296)
at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
at java.lang.Thread.run(Thread.java:595)
Help me out.
Regards,
Kalyan.Hi,
Guys any updates... -
OIM: Error while updating Task Attributes
Hi All,
I am trying to use PeopleSoft User Management using OIM connector.
I am facing an error saying "problem in updating Task Attributes" while scheduling a task on OIM design Console. I am trying to update and save PSFT Base Non Trusted User Reconciliation. following is the log message displayed in server command prompt.
ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcTSA/eventPostU
pdate encounter some problems: problem in updating Task Attributes
com.thortech.xl.scheduler.exception.SchedulerGenericException: problem in updati
ng Task Attributes
at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
ttributes(Unknown Source)
at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
butes(Unknown Source)
at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
Attributes(Unknown Source)
at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
.updateTaskAttributes(Unknown Source)
at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
e)
at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
l.java:1437)
at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
ource)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
bleServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by [Nested Exception]:
java.lang.NullPointerException
at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
ttributes(Unknown Source)
at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
butes(Unknown Source)
at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
Attributes(Unknown Source)
at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
.updateTaskAttributes(Unknown Source)
at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
e)
at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
l.java:1437)
at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
ource)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
bleServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcDataObj/save E
rror :Data Update Failed
ERROR,11 Apr 2008 05:02:53,302,[XELLERATE.DATABASE],Class/Method: tcDataBase/rol
lbackTransaction encounter some problems: Rollback Executed From
java.lang.Exception: Rollback Executed From
at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Sou
rce)
at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
e)
at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
l.java:1437)
at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
ource)
at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
bleServerRef.java:90)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
I am facing above error when try to update any task in the task scheduler.
Can anyone please suggest me where i am going wrong?
Thanks,
Uma.I would assume you are missing the jar file for your scheduled tasks. Try and create a new scheduled task with the same class name, if it won't let you save, this is your answer. You'll want to make sure you have the connector scheduled task file in the ScheduleTask folder in your OIM directory.
-Kevin -
OIM Design Console Internal error while updating task attributes
Hi All,
I have installed OIM9101 on jboss, the set up is running fine. I am in the process of integrating a OID connector following steps given OID connector guide. In design console(Administration-->Task Scheduler) while modifying "OID Group Lookup Reconciliation Task" attributes, attribute value is not getting saved. When i click on save option it shows a pop up windows saying "problem in updating task attributes. update failed."
Any solution for this??.. Please help.
Thanks in Advance.
Edited by: VAYANAKA on Nov 26, 2010 10:48 PMThank you for the reply..I have tried to create a new scheduled task. But while saving it again an Internal error pop up window comes saying " Description:Could not execute database read.The database encountered a problem with the specified SQL Query.Remedy: Check the database query.Contact your system administrator."..
Is it any problem with my database.? I have checked database, its up and running??
Thanks In advance. -
Error while updating database using jdbc receiver adapter
Hi All,
I am trying to update a single record using jdbc receiver adapter.
This is my the message that is getting created..
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Data xmlns:ns0="urn:Test">
- <STATEMENT>
- <TABLENAME ACTION="UPDATE_INSERT">
<TABLE>ORDERS</TABLE>
- <ACCESS>
<OrderID>99999</OrderID>
<CustomerID>VICTE</CustomerID>
<EmployeeID>3</EmployeeID>
<ShipAddress>VICTE</ShipAddress>
</ACCESS>
- <KEY>
<OrderID compareOperation="EQ">99999</OrderID>
<ShipAddress compareOperation="EQ">VICTE</ShipAddress>
</KEY>
</TABLENAME>
</STATEMENT>
</ns0:Data>
But in Adapter Monitoring i am getting the following error..
<i>Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ORDERS' (structure 'STATEMENT'): java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'VICTE'.</i>
Regards,
RahulRahul,
> In this case i believe the interface has to be synch.
> So what will the response message type be like..
Not necessary. UPDATE can be asynch as well.
Can you turn the trace on like pointed by Michal and then you can see the Query in the Audit Log of the adapter montioring. Try to execute the same query from your DB Client like TOAD and see what is the Syntax error you are getiing.!
The problem looks like some field has some dataype / column name mismatch.
Regards
Bhavesh -
Error while updating data using session and call transaction method
Hi all,
i have to update data using MM01 transaction from flat file to database.i have used both session method and call transaction method to do that.in both the methods data has been transferred from internal tables to screens but while updating the data that is by clicking the ok-code at the end of the transaction iam getting a dialogue box stating
SAP EXPRESS DOCUMENT "UPDATE WAS TERMINATED" RECEIVED FROM AUTHOR "SAP".
please tell whether the problem lies and solution for that.
thanks and regards.hi,
check your recording.check whether u saved your material no in recording or not.
once again record the transacton mm01.
MATNR LIKE RMMG1-MATNR,
MBRSH LIKE RMMG1-MBRSH,
MTART LIKE RMMG1-MTART,
MAKTX LIKE MAKT-MAKTX,
MEINS LIKE MARA-MEINS,
MATKL LIKE MARA-MATKL,
BISMT LIKE MARA-BISMT,
EXTWG LIKE MARA-EXTWG,
these are the fields which u have to take in internal table.
this is the record which i took in my flatfile.use filetype as asc and hasfieldseperator as 'X'.
SUDHU-6 R ROH MATSUDHU " 001 7890 AA
i did the same.but i didn't get any error. -
Getting "ora-20005 task is modified" error while updating task payload
Hi,
I am trying to update a task's payload using the Task Service. But I am getting the following error :-
"IRC_SOAINFRA.WFTASKPKG_111160", line 2932
ORA-20005:
ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
Thanks,
RahulHi,
I am trying to update a task's payload using the Task Service. But I am getting the following error :-
"IRC_SOAINFRA.WFTASKPKG_111160", line 2932
ORA-20005:
ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
Thanks,
Rahul -
Error while updating infotype using HINUINFO_UPDATE
Hi All,
While executing the program 'HINUINFO_UPDATE'
i am getting an error 'No object identification permitted for infotype 0582, subtype LTA'.
After the approval for LTA claim is done in ESS i have executed the program 'HINUINFO_UPDATE' to update he infotypes 15 and 582. Infotype 15 is getting created but while creating the infotype 582 system gives the above error message.
In the detailed error log system gives the following message.
"You attempted to access a data record with the object identification 1. However, according to the Customizing settings, object identifications cannot be used for subtype LTA of infotype 0582".
Helpful answers will be rewarded .Solved by SAP
-
Hi, I'm using an initiator Task with ADF Form in BPM process with SOA version 11.1.1.6 and JDeveloper 11.1.1.6 and everytime I try to update the task I get this error:
ORABPEL-10101
Error while updating task .
Error while updating task Cannot delete Comments.
Check the underlying exception and database connection information. If the error persists, contact Technical Support Services at Oracle.
at oracle.bpel.services.workflow.repos.driver.WFTask.updateComments(WFTask.java:5384)
at oracle.bpel.services.workflow.repos.driver.WFTask.updateWFTask(WFTask.java:2712)
at oracle.bpel.services.workflow.repos.driver.PersistencyService.updateWFTask(PersistencyService.java:630)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6586)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6306)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6277)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6253)
at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6235)
at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:2088)
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:597)
I think this might be related to the task comments and with an internal method calling, but can't solve it in any way I know,
I've tried to remove the userComments from the Task Form, and remove anything associated with it, but everytime I try to savbe the task it gets this error
thanksHi,
here's the correct forum for this question: SOA Suite
Frank -
Error While updating Process form data Using Scheduler
Hi All,
I am trying to update Process form data (ex : lastname) using a scheduled task Code. I am getting Error while updating Field.
Code :
HashMap<String, String> map = new HashMap<String, String>();
map.put("UD_EBS_PF_LASTNAME", "lastname");
formintf.setProcessFormData(instancekey, map); //I AM GETTING AT THIS LINE
Saying
Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl_1036_WLStub.setProcessFormDatax(Unknown Source)
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:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy2.setProcessFormDatax(Unknown Source)
at Thor.API.Operations.tcFormInstanceOperationsIntfDelegate.setProcessFormData(Unknown Source)
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:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy3.setProcessFormData(Unknown Source)
at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.execute(AssignRandomPasswordToAllUsersSchedulerTest.java:182)
at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.main(AssignRandomPasswordToAllUsersSchedulerTest.java:63)
Caused by: Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:761)
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:426)
at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)Is that possible there was the field ZDATE in your form interface/ context and now it is not? I guess some source has changed so the field in the form (binding to the not existing field) cannot be processed. Otto
-
Error while updating assignment of Contingent resource
Hi,
I am getting the below error while updating Assignment of contingent resource using the Standard API.
ORA-20001: HR_7949_ASG_DIF_SYSTEM_TYPE: N, SYSTYPE, ACTIVE_CWKCode for updating the record is -
Declare
Cursor c_emp_mig
Is
Select person_id, supervisor_person_id, code_comb_id, sob, assignment_id, assignment_number From customContingentTable;
x_person_id number;
x_validate BOOLEAN := FALSE;
x_supervisor_id number;
x_default_code_comb_id number;
x_set_of_books_id number;
x_assignment_id number;
x_assignment_number varchar2(20);
x_manager_flag char(1):='N';
x_comment_id number;
x_concatenated_segments varchar2(80);
x_no_managers_warning boolean ;
x_cagr_concatenated_segments VARCHAR2(80);
x_soft_coding_keyflex_id NUMBER; --- IN OUT
x_other_manager_warning boolean;
x_object_version_number NUMBER;
x_cagr_grade_def_id NUMBER;
x_effective_date DATE :='01-OCT-2011'; --cut off date from which the assignment will be effective
x_effective_start_date DATE :='01-OCT-2011';--cut off date from which the assignment will be effective
x_effective_end_date DATE;
x_hourly_salaried_warning boolean;
x_org_now_no_manager_warning boolean;
x_error_code varchar2(240);
x_error_desc varchar2(2000);
Begin
Open c_emp_mig;
Loop
Fetch c_emp_mig Into x_person_id, x_supervisor_id, x_default_code_comb_id, x_set_of_books_id, x_assignment_id, x_assignment_number;
Exit when c_emp_mig%NOTFOUND;
x_object_version_number:=1;
hr_assignment_api.update_cwk_asg(
p_validate => x_validate
,p_effective_date => x_effective_date
,p_datetrack_update_mode => 'UPDATE'
,p_assignment_id => x_assignment_id
,p_assignment_status_type_id => 1
,p_assignment_number =>x_assignment_number
,p_object_version_number => x_object_version_number
,p_default_code_comb_id => x_default_code_comb_id
,p_set_of_books_id => x_set_of_books_id
,p_supervisor_id=>x_supervisor_id
,p_manager_flag=>x_manager_flag
,p_concatenated_segments => x_concatenated_segments
,p_soft_coding_keyflex_id => x_soft_coding_keyflex_id
,p_comment_id => x_comment_id
,p_effective_start_date => x_effective_start_date
,p_effective_end_date => x_effective_end_date
,p_no_managers_warning => x_no_managers_warning
,p_other_manager_warning => x_other_manager_warning
,p_hourly_salaried_warning=>x_hourly_salaried_warning
,p_org_now_no_manager_warning=>x_org_now_no_manager_warning
End Loop;
Exception When Others Then
x_error_code:=SQLCODE;
x_error_desc:=SQLERRM;
insert into emp_mig_error(error_code, error_desc) values(x_error_code, x_error_desc);
Close c_emp_mig;
End; Am I missing something here? I searched in metalink, there is no mention of this error. Can anyone help?
Regds,
ARSThe relevant parameter to identify an individual will be p_assignment_id.
You will need a query to obtain the relevant assignment_id from the given CWK number on the person row
Edited to add : whilst you are about it, you'll need to obtain the assignment object_version_number as well - that will be needed for the p_object_version_number parameter
Edited by: clive_t on 05-Apr-2012 16:10 -
IPhoto:How to update to use the DR API instead????
Ahoy.
While trying to figure out why safari keeps quitting on me, I found an answer to someone else, who was told to go into logs and I was floowing along, but I guess they are ahead of tiger- anwyay I did find this, and wonder, can I do as it suggests somehow?
iPhoto: WARNING: The DiscRec SPI from the DiscRecording framework is deprecated in 10.3 and later.
iPhoto: WARNING: This app is contributing to an overall degradation of system performance and should
iPhoto: WARNING: be updated to use the DR API instead.
iPhoto: WARNING: The DiscRec SPI from the DiscRecording framework is deprecated in 10.3 and later.
iPhoto: WARNING: This app is contributing to an overall degradation of system performance and should
iPhoto: WARNING: be updated to use the DR API instead.
FinBDAqua saved me a lot of typing. It wasn't clear, though, if you just needed to vent or if you're wanting to address these issues (which will involve a lot of typing).
One of the main ones you need to do before you do any installing or installing of Flash Player is deal with the disk that won't verify. Basically you're working with a computer that doesn't know where all its files are. The computer uses a directory to keep tack of them and your directory needs repairing. If you don't repair it then you'll just end up losing files, and getting more problems with running the computer. It's a little bit like never changing the oil in the car, or dealing with an oil leak when it happens.
First, if at all possible make a backup of the drive in its present configuration. If something goes wrong during repair attempts and makes things worse you will have a backup. You will have to decide how to work this in the light of any present backups you may have, for example, a backup that may be a few days out of date. In that case you may want to keep that one and make a second backup of this as they are now, though I realize people often don't have a lot of empty drives sitting around.
Boot from the System Installer disc that came with your computer or is the one for the version you currently have on there, select language if applicable, choose utilities, run Disk Utility and verify (and repair if necessary) the drive. You can verify a drive from DU on your main drive while booted but I have found this can result in incorrect reporting of errors. To repair your drive you have to run it from a drive other than the boot drive anyway.
Next, boot from your drive in [Safe Mode|http://docs.info.apple.com/article.html?artnum=107393] and repair permissions. You can repair permissions while booted from the installer disc but this uses the permissions configuration on the installer disc which may be out of date if you have run any updates on your computer. Booting your computer to Safe Mode restricts the number of things running on your computer while permissions are being run and does a bit of spring cleaning at the same time.
+Reading+
[Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
[Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
[Disk Utility's Repair Disk Permissions 10.0-10.6|http://docs.info.apple.com/article.html?artnum=25751]
"Try Disk Utility" (modified from [http://support.apple.com/kb/TS1417])
1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5. Select your Mac OS X volume.
6. Click Repair. Disk Utility checks and repairs the disk."
Then boot in Safe Mode, (holding Shift key down at bootup; takes longer to boot this way so be patient), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
[Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
[What is Safe Boot, Safe Mode? (Mac OS X)|http://support.apple.com/kb/HT1564]
[Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
[Mac OS X 10.4, 10.5- Computer shuts down during Safe Boot|http://support.apple.com/kb/TA24054]
There's some things Disk Utility won't repair (more often thatn not). In that case you need to use a tool such as Diskwarrio (probably #1 but only does this one thing), or TechTool Pro, or... -
Error while migrating users using CSSImportExportUtility
Error while migrating users using CSSImportExportUtility
I'm tring to export all user and group information from a Hyperion Shared Services 9.2.1 by using CSSExport.bat
When there was only native directory in HSS, i can export these information successfully.
But when I enabled NTLM external user authentication following error occurred:
Exception in thread "main" java.lang.UnsatisfiedLinkError: getOSVersion
at com.hyperion.css.spi.impl.ntlm.NTLMProvider.getOSVersion(Native Metho
d)
at com.hyperion.css.spi.impl.ntlm.NTLMProvider.<clinit>(Unknown Source)
at com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(Unknown
Source)
at com.hyperion.css.CSSAPIExtnImpl.getUsers(Unknown Source)
at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
at com.hyperion.css.exchange.NativeProviderManager.<init>(Unknown Source
at com.hyperion.css.exchange.ImportExportManager.cssExport(Unknown Sourc
e)
at com.hyperion.css.exchange.CommandUtility.run(Unknown Source)
at com.hyperion.css.exchange.CommandUtility.main(Unknown Source)
I searched reference documents on the web, found this article: (http://download.oracle.com/docs/cd/E12825_01/epm.111/readme/mdm_111110_readme.html)
Troubleshooting Tip: If HSS is configured for an NTLM provider, DRM services may not start due to error: "Exception Emdm_Exception with message 'Could not Initialize CSS. Error: 'getOSVersion'."
You may receive the following error after clicking the "Enable CSS" button in DRM Console: “LoadLibrary("C:\Hyperion\Master Data Management\mdm_ntier_css_validator.dll") failed - The specified module could not be found.”
To resolve both of these conditions, update the Windows System Path on the Data Relationship Management server with the applicable JRE and CSS pathing below.
NOTE: Reboot the Data Relationship Management server machine after making any changes to the Windows Path.
NOTE: Ensure that only one JRE version and one CSS version are referenced in the Windows Path.
? For HSS 9.3.1:
%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin;%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin\client;%HYPERION_HOME%\common\CSS\9.3.1\bin;
? For HSS 9.3.0:
%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin;%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin\client;%HYPERION_HOME%\common\CSS\9.3.0\bin;
? For HSS 9.2.0.3:
%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client;%HYPERION_HOME%\common\CSS\9.2.0.3\bin;
? For HSS 9.2.0:
%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client;%HYPERION_HOME%\common\CSS\9.2.0\bin;
I found these is no directory "%HYPERION_HOME%\common\CSS\9.2.0\bin;" exists but "%HYPERION_HOME%\common\CSS\9.2.1\bin;"
I configured PATH by setting to above, and tried CSSExport again, still failed.
Than I disabled the NTLM is HSS, tried CSSExport again. It was successful.
So I am convinced that the problem caused by NTLM or PATH environment variable or some files associated.
Does anybody know the solution ?I recommend you upgrade at least to 10.1.0.5. 10.1.0.2 comes with the very first version of csalter.plb, which has not the current implementation. From and to which character set do you try to migrate?
-- Sergiusz
Maybe you are looking for
-
Dark transparent window overlayed all windows
There is a Dark Transparent 'window' that has overlayed it self on the screen. It is in the top Right Corner and I can not make it disappear... Any ideas? Before I start tearing apart my system? cheers.
-
Invoice Block with stock in Quality
Hi experts, How to block an invoice if the material stock is in QA/Block?I have tried through the TCode OMRM as well as by puting the QM Control key as "Block Invoice" in material master,but these din't work for me. Please suggest ...
-
FormsCentral or Acrobat Pro?
Hi there, I'm designing a pdf with several pages AND a form that must be able to be send back and forth a few times. Now I have to determine which is the best way to go: FormsCentral or Acrobat Pro The idea is that the form is filled in in several st
-
GroupWise 7 Import Utility for Microsoft Outlook B
Hi, We use Outlook with the GroupWise Connector, but now we want to migrate to the GroupWise client. Most of the users have created a PST file in outlook. I want to convert the PST files with the novell tool "GroupWise 7 Import Utility for Microsoft
-
Synchronize with Data Base' bug
JDeveloper Version : JDeveloper 11.1.1.1.0 , ADF BC Use Case : - we have DB Table with filed named "Flage" and type "Number" - Create EO - Change "Flage" ' data type from "Number" to "varchar2" in DB - Use "Synchronize with Data Base" option for EO .