Who's Online
1 registered (CT), 10 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Concurrent Request - running slow
by CT
Today at 11:16 AM
Element to recover value in balance on leaving
by jkavia
Today at 11:04 AM
P11d's
by jkavia
Today at 10:49 AM
Assignment EIT not displaying in Self Service
by CT
Today at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
Yesterday at 12:24 PM
In which table is external learning data stored
by DMC
Yesterday at 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Pension Auto Enrolment
by CT
18/05/12 09:46 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Hacking element definitions
by CT
15/05/12 08:42 AM
Top Posters (30 Days)
CT 38
delboy 36
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Gus 4
DMC 3
Mani 3
7Giri 3
Ryan 3
(Views)Popular Topics
Family Pack K issues thread 20153
CREATE_GRADE api returns:PLS-00306: wrong number o 15194
Still trying to locate... 13844
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11889
Viewing Output of another user 10307
HR_PF.K RUP4 10271
Review of my Release 12 laptop 9733
Enhanced Retro & Release 12 9397
Adding a taskflow button to a form 9129
Family Pack K 7906
Topic Options
Rate This Topic
#3587 - 30/09/08 01:27 PM Salary Proposals
Romesh Lokuge Offline
newbie

Registered: 01/09/08
Posts: 13
Hello again

I am trying to migrate salary proposals (history) using the API hr_maintain_proposal_api.insert_salary_proposal and keep getting the error ORA-20001: PER_SAL_ASG_NOT_EXIST. Does anybody have an idea what this error is and how I can resolve this??????

Many Thanks.

Romesh

Ps

CT, Pompey will be bankrupt soon.

Top
#3589 - 30/09/08 01:50 PM Re: Salary Proposals [Re: Romesh Lokuge]
cbrookes Offline
nothin' better to do

Registered: 14/03/05
Posts: 197
Loc: Detained at HM pleasure
Check that the Assignment record which is effective at the Date of the Salary record does actually exist and that it also has a Salary Basis on it.

Top
#3594 - 01/10/08 09:01 AM Re: Salary Proposals [Re: cbrookes]
CT Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
Loc: Bath
Uh, yeah, what he said - apart from, the query which the api business rules code runs (PER_PYP_BUS.chk_access) in order to make the check, does not itself check for a salary basis. That check is done, but it's done elsewhere (PER_PYP_BUS.chk_assignment_id_change_date), and if that failed (ie the salary_basis was null as at the salary change date), the API would return the message HR_289855_SAL_ASS_NOT_SAL_ELIG

As a general rule, when you get those sorts of cryptic message codes, you can usually get a more meaningful text by doing this in SQL*plus or TOAD or whatever:

SELECT message_text
FROM fnd_new_messages
WHERE message_name = 'PER_SAL_ASG_NOT_EXIST';

In the above example, you get:

The employee assignment does not exist on the proposal's change date.

<Topic creep>
Oh and thanks, Romesh, for the financial advice regarding my football club. As a *Dirty* L**ds fan, you will of course be able to comment most eloquently on financial matters pertaining to football clubs generally, and mediocre Sunday League Div 1 sides in particular! Still, I suppose we could always stick the FA Cup on eBay, just as you did with the Div 1 playoff final trophy - oh, hang on....
</Topic creep>
_________________________
L&K
CT

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

Top
#3601 - 01/10/08 03:10 PM Re: Salary Proposals [Re: CT]
Romesh Lokuge Offline
newbie

Registered: 01/09/08
Posts: 13
Many thanks. School boy error, was not using the correct date format dd-mon-yyyy when passing in the change date parameter.


Top
#3602 - 02/10/08 08:17 AM Re: Salary Proposals [Re: Romesh Lokuge]
CT Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
Loc: Bath
Glad you got it sorted Romesh! Just like Swansea all over again...

*Shudders*
_________________________
L&K
CT

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

Top



Moderator:  bcooper, CT 
Forum Stats
791 Members
48 Forums
1582 Topics
7651 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1185
bcooper 1112
delboy 594
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