Who's Online
1 registered (Chris Abraham), 2 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
P11d's
by Chris Abraham
0 seconds ago
Oracle eBsuiness HRMS Trusted Recon Query Help
by CT
Today at 02:24 PM
Concurrent Request - running slow
by CT
Today at 12:48 PM
Pension Auto Enrolment
by delboy
Today at 12:13 PM
Oracle eBsuiness HRMS Trusted Reconcilaition Help
by Mani
Today at 07:35 AM
Element to recover value in balance on leaving
by jkavia
Yesterday at 11:04 AM
Assignment EIT not displaying in Self Service
by CT
Yesterday at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
21/05/12 12:24 PM
In which table is external learning data stored
by DMC
21/05/12 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Top Posters (30 Days)
CT 40
delboy 39
Vigneswar Battu 15
pat.woodall 10
Mani 6
Gus 4
bcooper 4
Ryan 3
Jan 3
DMC 3
(Views)Popular Topics
Family Pack K issues thread 20170
CREATE_GRADE api returns:PLS-00306: wrong number o 15200
Still trying to locate... 13855
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11907
Viewing Output of another user 10324
HR_PF.K RUP4 10298
Review of my Release 12 laptop 9747
Enhanced Retro & Release 12 9402
Adding a taskflow button to a form 9140
Family Pack K 7910
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#6213 - 24/12/10 08:40 AM update_emp_asg_criteria FTE Warning
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
I'm trying to do a mass update using HR_ASSIGNMENT_API.update_emp_asg_criteria via Web ADI. I've written a wrapper to call the API which works but in some case's when adding a position to a assignment a note is returned saying
"Assignment Budgeted FTE is not equal to position FTE Capacity"

This cause's the Web ADI load to fall. Is there a way around these note's that I could code in the wrapper?

Top
#6215 - 24/12/10 09:12 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Is the api call actually returning an error status then? It doesn't sound like it should for something like that. Some sort of warning flag maybe, but not an error?

By way of a test, does your wrapper work when called from within a sql environment?
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#6216 - 24/12/10 10:14 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
It works without problem when executing the proc using sql but get the following error using web ADI

PQH PQH_FTE_NE_SHARED_POS_FTE_CAP : Assignment Budgeted FTE is not equal to position FTE Capacity.

Top
#6217 - 24/12/10 12:14 PM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
OK, interesting.

In your wrapper, do you encapsulate the api call in a pl/sql block? Maybe if you do that, you can trap the specific situation and allow it to continue as though nothing had happened?

One possibility might be that the thing that passes the message back to the Web-ADI integrator is not liking the length of the message?
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#6235 - 06/01/11 10:56 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
It wasn't in a block, tried it but still no joy.

I've found another instance in create employee API. When trying to create an employee that shares a name with an existing employee I get the following:
PAY HR_PERSON_DUPLICATE : A person of this name already exists. Continue?

It doesn't load in Web ADI as it seems to be waiting for a response?

Top
#6236 - 06/01/11 11:09 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
That's kind of weird...

Would you be happy to post the API wrapper code here?
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#6237 - 06/01/11 11:23 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
I've attached the two wrappers one for creating emp's and one for updating asg_criteria


Attachments
create_emp.txt (83 downloads)
update_asg_crit.txt (82 downloads)


Top
#6240 - 06/01/11 02:57 PM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
As a possible was around these application cautions. As the load is a one time migration, would anyboby know if they can be turned off in the forms?

Top
#6251 - 07/01/11 09:30 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Originally Posted By: Corbon262
As a possible was around these application cautions. As the load is a one time migration, would anyboby know if they can be turned off in the forms?

If there were, they would most likely be implemented as System Profile Options - I know that such things exist for certain NI number validation rules. Go to the System Profile Options screen in the System Admin Responsibility and look for anything beginning 'HR%'

Having said that, my own personal opinion is that going down this route is a dangerous game to play. OK if you're doing a one-off load into an empty, not-yet-live system, as long as you have a specific step in your transition plan to switch all these checks back on again! The problem is, though, how would you know you've covered all the possible rules the load process is to encounter, until you come to do the load for real? what if you come across a situation for which there is no option, or any other legitimate means to disable the rule?

I do think we need to come up with a way of trapping the message and allowing the process to carry on anyway. If you can post the code items again (I think the issue has been resolved now that prevented me from seeing it the first time) then maybe that will shed some light on matters.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#6266 - 12/01/11 08:34 AM Re: update_emp_asg_criteria FTE Warning [Re: Corbon262]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
Tried using separate block and capturing the error in a when others exception handler but the handler doesn’t catch it as the standard error message is still returned.
 PAY HR_PERSON_DUPLICATE : A person of this name already exists. Continue?


Attachments
create emp.txt (81 downloads)
update_asg_crit.txt (86 downloads)


Top
Page 1 of 2 1 2 >



Moderator:  bcooper, CT 
Forum Stats
792 Members
48 Forums
1584 Topics
7663 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1188
bcooper 1112
delboy 597
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31