Getting error while creating an assignment through API
Hi Experts,
When i'm trying to create a assignment using the following code, Im getting the following error
ORA-20001: You must enter GRE details for the assignment
Where we can pass the GRE information or how we can come out of this error.
Pls clarify this
hr_assignment_api.update_emp_asg_criteria
p_validate => false
,p_effective_date => l_hire_date --to_date('01-Jan-2012','DD-MON-YYYY')
,p_datetrack_update_mode => 'CORRECTION'
,p_assignment_id => l_assignment_id
,p_object_version_number => l_object_version_number
,p_organization_id => l_organization_id
,p_location_id => l_location_id
,p_grade_id => l_grade_id
,p_job_id => l_job_id
--,p_position_id => 362
,p_payroll_id => l_payroll_id
,p_pay_basis_id => l_basis_id
,p_special_ceiling_step_id => l_special_ceiling_step_id
,p_people_group_id => l_people_group_id
,p_group_name => l_group_name
,p_org_now_no_manager_warning => l_org_now_no_manager_warning
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_other_manager_warning => l_other_manager_warning
,p_spp_delete_warning => l_spp_delete_warning
,p_entries_changed_warning => l_entries_changed_warning
,p_tax_district_changed_warning => l_tax_district_changed_warning
,p_soft_coding_keyflex_id => l_soft_coding_keyflex_id
,p_concatenated_segments => l_concatenated_segments
,p_gsp_post_process_warning => l_gsp_post_process_warning
Thanks,
Anil
What is your application release?
Please see if these docs help.
Error Saving an Assignment: APP-Pay-50001: You Must Enter Gre Details For The Assignment [ID 277958.1]
'GRE & Other Data' Statutory Tab Not Available; Errors APP-FND-00668; APP-PAY-50001 [ID 312787.1]
12567830: PERWSHRG Staturtory Information Flexfield is not Recognizing Default Values [ID 1329310.1]
Manager Self-Service - Hire - GRE Is Not Defaulting if Field is not Displayed [ID 1458563.1]
Statutory Information Flexfield isn't Recognizing Default Values with Required Segments [ID 1344618.1]
Thanks,
Hussein
Similar Messages
-
Error while creating Supplier Contact through API
Hi,
I am not able to create supplier contact through an API: ap_vendor_pub_pkg.create_vendor_contact
The return status (x_return_status)from the API is 'U' and x_msg_data is 'FND'.
Please help with your suggestions !
Thanks,
SambitHi Hussein,
Yes the only meesage that is coming in the pot parameter of the API is: 'FND'
The code snippet is as below:
===================================================
fnd_global.apps_initialize(user_id => v_user_id,
resp_id => v_resp_id,
resp_appl_id => v_application_id);
mo_global.set_policy_context(
'S', v_org_id);
v_message := v_message || chr(13) || 'Assigning values for the api ';
v_vendor_contact_rec_type.vendor_site_id := v_vendor_site_id;
v_vendor_contact_rec_type.vendor_id := v_vendor_id;
v_vendor_contact_rec_type.person_first_name := v_first_name;
v_vendor_contact_rec_type.person_last_name := v_last_name;
v_vendor_contact_rec_type.email_address := '[email protected]';
v_vendor_contact_rec_type.org_id := v_org_id;
v_message := v_message || chr(13) ||
'Before calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api ';
BEGIN
ap_vendor_pub_pkg.create_vendor_contact(p_api_version => v_api_version,
p_init_msg_list => fnd_api.g_false,
p_commit => fnd_api.g_false,
p_validation_level => fnd_api.g_valid_level_full,
x_return_status => v_return_status,
x_msg_count => v_msg_count,
x_msg_data => v_msg_data,
p_vendor_contact_rec => v_vendor_contact_rec_type,
x_vendor_contact_id => v_vendor_contact_id,
x_per_party_id => v_per_party_id,
x_rel_party_id => v_rel_party_id,
x_rel_id => v_rel_id,
x_org_contact_id => v_org_contact_id,
x_party_site_id => v_party_site_id);
v_message := v_message || chr(13) ||
'After calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api: '||v_msg_data;
=========================================================================
Output: v_msg_data= FND
Thanks,
Sambit -
Error while creating new projects using api
Hello,
I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
Source template ID is invalid.
===
My code is as follow:
SET SERVEROUTPUT ON SIZE 1000000
SET VERIFY OFF
define no=&amg_number
DECLARE
-- Variables used to initialize the session
l_user_id NUMBER;
l_responsibility_id NUMBER;
cursor get_key_members is
select person_id, project_role_type, rownum
from pa_project_players
where project_id = 1;
-- Counter variables
a NUMBER := 0;
m NUMBER := 0;
-- Variables needed for API standard parameters
l_commit VARCHAR2(1) := 'F';
l_init_msg_list VARCHAR2(1) := 'T';
l_api_version_number NUMBER :=1.0;
l_return_status VARCHAR2(1);
l_msg_count NUMBER;
l_msg_data VARCHAR2(2000);
-- Variables used specifically in error message retrieval
l_encoded VARCHAR2(1) := 'F';
l_data VARCHAR2(2000);
l_msg_index NUMBER;
l_msg_index_out NUMBER;
-- Variables needed for Oracle Project specific parameters
-- Input variables
l_pm_product_code VARCHAR2(30);
l_project_in pa_project_pub.project_in_rec_type;
l_key_members pa_project_pub.project_role_tbl_type;
l_class_categories pa_project_pub.class_category_tbl_type;
l_tasks_in pa_project_pub.task_in_tbl_type;
-- Record variables for loading table variables above
l_key_member_rec pa_project_pub.project_role_rec_type;
l_class_category_rec pa_project_pub.class_category_rec_type;
l_task_rec pa_project_pub.task_in_rec_type;
-- Output variables
l_workflow_started VARCHAR2(100);
l_project_out pa_project_pub.project_out_rec_type;
l_tasks_out pa_project_pub.task_out_tbl_type;
-- Exception to call messag handlers if API returns an error.
API_ERROR EXCEPTION;
BEGIN
-- Initialize the session with my user id and Projects, Vision Serves (USA0
-- responsibility:
select user_id into l_user_id
from fnd_user
where user_name = 'SSHAH';
select responsibility_id into l_responsibility_id
from fnd_responsibility_tl
where responsibility_name = 'Projects Implementation Superuser';
pa_interface_utils_pub.set_global_info(
p_api_version_number => l_api_version_number,
p_responsibility_id => l_responsibility_id,
p_user_id => l_user_id,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status);
if l_return_status != 'S' then
raise API_ERROR;
end if;
-- Provide values for input variables
-- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
-- by the user. In this case we select a pre-defined one.
select lookup_code into l_pm_product_code
from pa_lookups
where lookup_type = 'PM_PRODUCT_CODE'
and meaning = 'Conversion';
-- L_PROJECT_IN: We have to provide values for all required elements
-- of this record (see p 5-13, 5-14 for the definition of the record).
-- Customers will normally select this information from some external
-- source
l_project_in.pm_project_reference := 'AGL-AMG Project &no';
l_project_in.project_name := 'AGL-AMG Project &no';
l_project_in.created_from_project_id := 1;
l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
l_project_in.project_status_code := 'UNAPPROVED';
l_project_in.start_date := '01-JAN-11';
l_project_in.completion_date := '31-DEC-11';
l_project_in.description := 'Trying Hard';
l_project_in.project_relationship_code := 'Primary';
-- L_KEY_MEMBERS: To load the key member table we load individual
-- key member records and assign them to the key member table. In
-- the example below I am selecting all of the key member setup
-- from an existing project with 4 key members ('EE-Proj-01'):
for km in get_key_members loop
-- Get the next record and load into key members record:
l_key_member_rec.person_id := km.person_id;
l_key_member_rec.project_role_type := km.project_role_type;
-- Assign this record to the table (array)
l_key_members(km.rownum) := l_key_member_rec;
end loop;
-- L_CLASS_CATEGORIES: commented out below should fix the error we get
-- because the template does not have an assigment for the mandatory class
-- 'BAS Test'
l_class_category_rec.class_category := 'Product';
l_class_category_rec.class_code := 'Non-classified';
-- Assign the record to the table (array)
l_class_categories(1) := l_class_category_rec;
-- L_TASKS_IN: We will load in a single task and a subtask providing only
-- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
-- the task record)
l_task_rec.pm_task_reference := '1';
l_task_rec.pa_task_number := '1';
l_task_rec.task_name := 'Construction';
l_task_rec.pm_parent_task_reference := '' ;
l_task_rec.task_description := 'Plant function';
-- Assign the top task to the table.
l_taskS_in(1) := l_task_rec;
-- Assign values for the sub task
l_task_rec.pm_task_reference := '1.1';
l_task_rec.pa_task_number := '1.1';
l_task_rec.task_name := 'Brick laying';
l_task_rec.pm_parent_task_reference := '1' ;
l_task_rec.task_description := 'Plant building';
-- Assign the subtask to the task table.
l_tasks_in(2) := l_task_rec;
-- All inputs are assigned, so call the API:
pa_project_pub.create_project
(p_api_version_number => l_api_version_number,
p_commit => l_commit,
p_init_msg_list => l_init_msg_list,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status,
p_workflow_started => l_workflow_started,
p_pm_product_code => l_pm_product_code,
p_project_in => l_project_in,
p_project_out => l_project_out,
p_key_members => l_key_members,
p_class_categories => l_class_categories,
p_tasks_in => l_tasks_in,
p_tasks_out => l_tasks_out);
-- Check the return status, if it is not success, then raise message handling
-- exception.
IF l_return_status != 'S' THEN
dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
dbms_output.put_line('Error: ret status: '||l_return_status);
RAISE API_ERROR;
END IF;
-- perform manual commit since p_commit was set to False.
COMMIT;
--HANDLE EXCEPTIONS
EXCEPTION
WHEN API_ERROR THEN
FOR i IN 1..l_msg_count LOOP
pa_interface_utils_pub.get_messages(
p_msg_count => l_msg_count,
p_encoded => l_encoded,
p_msg_index => i,
p_msg_data => l_msg_data,
p_data => l_data,
p_msg_index_out => l_msg_index_out);
dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
END LOOP;
rollback;
WHEN OTHERS THEN
dbms_output.put_line('Error: '||sqlerrm);
FOR i IN 1..l_msg_count LOOP
pa_interface_utils_pub.get_messages(
p_msg_count => l_msg_count,
p_encoded => l_encoded,
p_msg_index => i,
p_msg_data => l_msg_data,
p_data => l_data,
p_msg_index_out => l_msg_index_out);
dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
END LOOP;
rollback;
END;
===
Msg_count: 1
Error: ret status: E
ERROR: 1: Project: 'AGL-AMG Project 1123'
Source template ID is invalid.
PL/SQL procedure successfully completed.I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)
-
Getting error while creating the variable of Schema Element type
Hi everybody,
For creating a variable of schema element type I am doing the following steps...
Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
What is mean by that.
I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
Thanks.Hi,
I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
[http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
Regards,
Nacho -
Getting error while creating the Shopping cart.
Hi ,
I am getting error while creating the Shopping cart.
a.Error in account assignment for item 1 (Item Testing SC )
b.Duplicates of Cost Centre T10063 are defined in SRM (Item Testing SC )
Kindly provide the solutions.
Thanks,
DevTry the following in the ERP backend system:
Standard Hierarchy Inconsistencies
Issue: one Cost Center is repeating in more than one node in Cost Center Standard Hierarchy.
Update from SAP Global support, the following was the email received:
in transaction KSH3 please run both the ambiguity and completeness check(Menu -> Extras -> Check and Help functions).
If you think that your standard hierarchy is inconsistent you can check that as following:
Run transaction Extras -> Hierarchy - Master data -> Test. The result shows you if there are in consistencies. If that is the case run also Extras -> Hierarchy - Master data -> Comparison.
Alternatively, you can run the report 'RKCORRH1' (TN SE38).
Run both the Hierarchy->Master data->test and the
Hierarchy->Master data->comparison.
As stated above inconsistency message showed after Test. Run the comparison and you get a similar message.
Once the above two are run, again when you go to test, the inconsistency disappears. -
Getting Error while creating Genric Datasource
Hi,
I was try to create genric extracter where i was getting error
While creating view genric extracter where i am getting error "Entry A ZV_ZFRT does not exist in DD02L - check your entry".
My requirement is need to create extracter which is getting populated from three modules like SD,MM,FI/CO.From these three module i am using several tables and some of the tables don't have relation btween these tables as like foreign key and refrence key.
Which extracter i need to create as given scenario?
Does view will fullfill with my requirement or any other extracter.
Please some one can help me in this scenario.
Answer would be great appreciate.Hi,
Rather than writing a program write a function module. Create a structure and include all the necessary fields in the structure. Then in the function module write the logic to extract the values for those fields. While creating the datasource specify the function module and structure name.
Refer this link:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Hope this helps.
PB -
Getting error while creating users in Peoplesoft
Have a good day
new fresh instance installed , getting error while creating users in peoplesoft
SQL ERROR FUNCTION SQLExec
ERROR POSISTION 52
RETRUN 904- ORA-00904 PSWDREQUPPER invalid identifier statement, select minpsdlength
pswdreqspecial pswdreqlower
PSWDREQUPPER, PSWDREQDIGITS,ALLOWDOPRID,PSWDEXPIRESDAYS FROM PSSECOPTIONS
original statement: SELECT MINPSWDLENGTH PSWDREQSPECIAL PSWDREQLOWER PSWDREQUPPERS
PSWDREQDIGITS, ALLOWOPRID, PSWDEXPIRESDAYS FORM PSSECOPTIONS>
RETRUN 904- ORA-00904 PSWDREQUPPER invalid identifier statement, select minpsdlength
pswdreqspecial pswdreqlower
PSWDREQUPPER, PSWDREQDIGITS,ALLOWDOPRID,PSWDEXPIRESDAYS FROM PSSECOPTIONS
original statement: SELECT MINPSWDLENGTH PSWDREQSPECIAL PSWDREQLOWER PSWDREQUPPERS
PSWDREQDIGITS, ALLOWOPRID, PSWDEXPIRESDAYS FORM PSSECOPTIONS
>
How is it possible that the first statement has ALLOWDOPRID column that does not exist, where as the original statement has ALLOWOPRID which does exist?
How is it possible that the second original statement has two more errors:
PSWDREQUPPERS should be PSWDREQUPPER
FORM should be FROM.
Please provide the actual error which is being raised, without editing.
Hakan -
Hi Gurus,
I'm getting an error while creating a New project.
My code looks like this:
APPS.PA_PROJECT_PUB.CREATE_PROJECT
(p_api_version_number => l_object_version_number --IN Parameter
,p_commit => l_commit --IN Parameter
,p_init_msg_list => l_init_msg_list --IN Parameter
,p_msg_count => l_msg_count --OUT Parameter
,p_msg_data => l_msg_data --OUT Parameter
,p_return_status => l_return_status --OUT Parameter
,p_workflow_started => l_workflow_started --OUT Parameter
,p_pm_product_code => g_pm_product_code --IN Parameter
,p_op_validate_flag => l_op_validate_flag --IN Parameter
,p_project_in => g_project_in --IN Parameter
,p_project_out => g_project_out --OUT Parameter
,p_tasks_in => g_task_in --IN Parameter
,p_tasks_out => g_task_out --OUT Parameter
The out put params are: p_msg_count => 1
p_return_status => E
p_workflow_started => N
g_project_out.pa_project_id => 170000000000000000000
g_project_out.pa_project_number => ^
g_task_out_rec.pa_task_id => 170000000000000000000
End process record p_proj_insert => 1
Resetting the task count variable
when I checked the API code I found this:
PA_INTERFACE_UTILS_PUB.G_PROJECt_ID := null; --bug 2471668 ( not in the project context )
PA_PM_FUNCTION_SECURITY_PUB.check_function_security
(p_api_version_number => p_api_version_number,
p_responsibility_id => l_resp_id,
p_function_name => 'PA_PM_CREATE_PROJECT',
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status,
p_function_allowed => l_function_allowed
. I think I am getting the error because of this.
Now, question.
Do I need to run the Create Project from a specific Responsibility?
because when I ran the underlined query, I fpound the final status as 'N'.
I'm a HR guy and PA is a new world for me. Any help will be appreciated.
Thanks!!
VikyYou need to find any responsibility and userid that lets you create a project using the screen.
And then in your code, you need to set your context to that resp/userid.
Hope this helps
Sandeep Gandhi -
Error While Making a Request Through API
Hi everyone,
I'm trying to submit a request through the API for the "Assign Roles" template, I used http://java.net/projects/openptk/sources/svn/content/branches/Oracle/OIM11g/examples/java/OIMClient/src/oim/client/request/RequestRoleCreate.java?rev=1489 as a basis for my code. Pretty much line for line.
This is my code.
public static RequestStatusSummary[] applicationAccessRequest(String email, String templateName, String roleName) {
String userKey = getUserKey(email);
Beneficiary beneficiary = null;
RequestBeneficiaryEntity entity = null;
List<RequestBeneficiaryEntity> entityList = null;
List<RequestBeneficiaryEntity> entityAttrList = null;
// add role requested
entityList = new ArrayList<RequestBeneficiaryEntity>();
entity = new RequestBeneficiaryEntity();
entity.setEntityKey(getRoleKey(roleName));
entity.setEntityType(RequestConstants.ROLE);
entity.setEntitySubType(roleName);
entityList.add(entity);
// set beneficiary to user
beneficiary = new Beneficiary();
beneficiary.setBeneficiaryType("user");
beneficiary.setBeneficiaryKey(userKey);
beneficiary.setTargetEntities(entityList);
// add benficiaries to the request data
List<Beneficiary> beneficiaries = new ArrayList<Beneficiary>();
beneficiaries.add(beneficiary);
requestData.setBeneficiaries(beneficiaries);
System.out.println(requestData);
// submit request
String reqId = requestSvc.submitRequest(requestData);
RequestStatusSummary[] requestStatusSummary = requestSvc.getRequestStatusSummary(reqId);
return requestStatusSummary;
getRoleKey() and getUserKey obtain the correct values. Directly before calling this method I log in to OIM using OIMClient this works correctly as well. The issue is that submitRequest() throws this. Any suggestions would be greatly appreciated. Thank you for your time.
javax.ejb.EJBException: ; nested exception is:
java.io.EOFException; nested exception is: java.io.EOFException
at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
javax.ejb.EJBException: ; nested exception is:
java.io.EOFException; nested exception is: java.io.EOFException
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:121)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)
at $Proxy6.submitRequestx(Unknown Source)
at oracle.iam.request.api.RequestServiceDelegate.submitRequest(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 $Proxy7.submitRequest(Unknown Source)
at testoimlogin.TestOIMLogin.applicationAccessRequest(TestOIMLogin.java:350)
at testoimlogin.TestOIMLogin.main(TestOIMLogin.java:537)
Caused by: java.io.EOFException
at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)How are you creating OIMClient ?
Make sure that you are using proper OIM URL: t3://ManagerServer:MANAGEDSERVERPORT
getting error while calling RequestService interface -
*Error while creating Trave Requset through ESS*
Hi,
We are getting following error while creating request through ESS:
Entry not found in table T706V. Argument: 40P IN 0010120090608
The estimated travel amounts could not be determined
Errors have been discovered when checking the Expense Report. Please correct them in order to proceed.
Whereas we have already maintained entries in the same table.
Please reply urgently...
Thanks
NehaHello,
The solution is documented in Travel Wiki:
https://wiki.sdn.sap.com/wiki/display/ERPHCM/Entrynotfoundintable+T706V
Regards,
Raynard
Edited by: Raynard Coscolluela on May 8, 2009 10:53 AM -
Error While terminating the employee through API
Hello Group,
I am facing the error while terminating the employee through standard api. The error is "You cannot create an entry past the termination rule date" The element entry I have are type "Recurring" and Termination at "Final Close" I have gone through the thread
" http://forums.oracle.com/forums/thread.jspa?messageID=3794867 " Which is partial complete.
Will be looking forward for the response.
Thanks,
Nitin SinghThis doc directs to apply a patch.
I have gone through. Just want to cross check if this required. I am able to terminate the employee through the application. There it just throws the warning saying " Element Entry has been changed for the Employee as the result of the termination do you wish to go with the termination"
Srini let me know your opinion.
Thanks
Nitin Singh -
Getting error while creating trigger!!
Hi Guys,
I am getting the following error while creating trigger in Oracle10g Database in TOAD environment.
Error: PLS-00306: wrong number or types of arguments in call to '='
Table details:
One of the column having BLOB Data type in the table.
In the trigger, I have compared :old and :new values.
CREATE OR REPLACE TRIGGER INPL.trigger_new
AFTER INSERT OR UPDATE OR DELETE
ON TABLE_NEW REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
action_flag VARCHAR2(1);
new_image BLOB;
BEGIN
IF UPDATING
THEN
action_flag := 'U';
ELSIF DELETING
THEN
action_flag := 'D';
ELSIF INSERTING
THEN
action_flag := 'I';
END IF;
IF (:NEW.image = :OLD.image)
THEN
new_image := '';
ELSE
new_image := :NEW.image;
END IF;
INSERT INTO TABLE_NEW(action_flag, date_changed,nimage,oimage) values(new_image,:old.image);
end;
Any one knows about this issue, please let me know with the proper solution.
Thanks for your immediate response!
Regards,
LakshmanCREATE OR REPLACE TRIGGER INPL.trigger_new
AFTER INSERT OR UPDATE OR DELETE
ON TABLE_NEW REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
action_flag VARCHAR2(1);
new_image BLOB;
BEGIN
IF UPDATING
THEN
action_flag := 'U';
ELSIF DELETING
THEN
action_flag := 'D';
ELSIF INSERTING
THEN
action_flag := 'I';
END IF;
IF (:NEW.image = :OLD.image)
THEN
new_image := '';
ELSE
new_image := :NEW.image;
END IF;
INSERT INTO TABLE_AUD(action_flag, date_changed,nimage,oimage) values(new_image,:old.image);
end;
I am getting the error in line at If condition
Error: PLS-00306: Wrong number or tpyes of arguments in call '='
Please let me know if any one knows exact solution!
Thanks in advance!
Regards,
Lakshman -
Getting error while creating Communication capability
Hi,
I am getting this error while creating communication capability of Host. I have successfully configured the TP communication capability. Even I have tried many times after changing the names given by me during configuration.
Error creating Communication Capability
java.lang.Exception : Error -: AIP-16012: Parameter: uri is unique for object Endpoint: Error -: AIP-11052: Writing following objects: Endpoint failed due to following constraint violation: ENDPOINT_UK. UNIQUE CONSTRAINT VIOLATION: java.sql.SQLException: ORA-20003: Endpoint_UK. Unique constraint violation ORA-06512: at "B2B.TRG_ENDPOINT_INS", line 17 ORA-01403: no data found ORA-04088: error during execution of trigger 'B2B.TRG_ENDPOINT_INS'
Please tell me what is the source of error.
Thanks in advance.
Regards,
Anuj DwivediHi I am getting this error while creating communication capability --
Error creating Communication Capability
java.lang.Exception : Error -: AIP-16012: Parameter: trading Partner is unique for object Certificate: Error -: AIP-11052: Writing following objects: Certificate failed due to following constraint violation: CERTIFICATE_UK. UNIQUE CONSTRAINT VIOLATION: java.sql.SQLException: ORA-20003: Certificate_UK. Unique constraint violation ORA-06512: at "B2B.TRG_CERTIFICATE_INS", line 20 ORA-01403: no data found ORA-04088: error during execution of trigger 'B2B.TRG_CERTIFICATE_INS'
Please tell that where could be the problem?
Thanks.
Regards.
Anuj Dwivedi -
Getting error while creating condition type in SPRO
Hi ,
can somebdy tell me why i am getting the following error while creating condition type in SPRO
No valid change license available for message /sapcnd/
and also while rule determination using condition type we are getting the following error.
system error:system cannot read the structure for table
reg
venkatHi Venkat,
Do you have the error number code!?
Regards,
Michel Bohn -
Getting error while creating subsite using custom template in sharepoint2013
Hi,
I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
Please suggest me on this.
Thanks in advance.You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
Maybe you are looking for
-
I was able to install the upgrade fine on both iPhones but when I try to install on iPad keep getting "you are not connected to the internet" when I am in fact connected. tried shutting iPad down and restarting that didn't work.
-
ITunes Will Not Open (Any Version)
iTunes will not open. Process spindump is eating up my cpu. Beachball of death. No Plug-ins exist in... /Users/THEWHO/Library/iTunes/iTunes\ Plug-ins I deleted... /Users/THEWHO/Library/Preferences/com.apple.iTunes.plist /Users/THEWHO/Library/Preferen
-
Drag and Drop with web deployed Forms.
If you are interested in drag and drop features of web deployed Forms you may want to check out this: http://groundside.com/blog/GrantRonald?title=oracle_forms_drag_and_drop_on_the_web&more=1&c=1&tb=1&pb=1 Regards Grant
-
Any maximum size limit to an Oracle database?
Is there a maximum size limit to Oracle database? What is the maximum columns and rows the database can grow to? Is there any documentation stating the max size for the Oracle database?
-
Why we can't declare private or protected for a class as access specifier. Can you give me an example on it.