Help required in create_project API

I am getting following error

"The role assignment cannot complete because the selected person has no job associated with the active Human Resources assignment for the current period of service."

This error comes when the key player person is not assigned a job in HRMS. But the person is assigned with one job too, still it is giving this error. My program is working fine on other instances, we just moved the custom program on new instance, and it seems there is some setup issue for that person. We are not able to know the required setup. Becasue the error says that person should have job assigned to it. There must be more setup issues.

I need such document reference which can tell the reasons for this error, and also does somebody help in in finding the location of this error message in pa_project_pub.create_api. I tried to debug that api, But I am not able to find it out. Is there any method by which we can easily find the origin place of this error?

Any kind of help is appreciated.

 

you may run the following query to see if the person has active assignment

select effective_start_date,
effective_end_date,
assignment_status_type_id,
organization_id,
job_id,
primary_flag,
assignment_type,
period_of_service_id
from per_all_assignments_f
where person_id in (select person_id from per_all_people_f where full_name=:X_FULL_NAME)

primary_flag should be "Y". The current system date should be within the active dates of assignment

Check the organization_id and job_id are populated. The person shoudl have a job.

The fnd user record should be associated to the person. check the following query

select * form. fnd_user where employee_id in (select person_id from per_all_people_f where full_name=:X_FULL_NAME)

replace the :X_FULL_NAME with the person's full name

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10951282/viewspace-761729/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10951282/viewspace-761729/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值