Who's Online
0 registered (), 1 Guest and 6 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Abseces in oracle hrms, super user: how to do I:
by tovia123
Today at 01:18 PM
Update EIT in SSHR
by Sahir
Yesterday at 03:45 PM
End of Year Legislation Patch for 11i
by delboy
Yesterday at 01:35 PM
Interfacing iRec and external sites
by DanC
09/02/12 11:42 PM
Capturing, Storing, & Paying Banked Overtime
by Paul
09/02/12 08:51 PM
Time and Labour & Oracle Projects
by Paul
09/02/12 07:34 PM
Search Engine Optimizers
by delboy
09/02/12 01:30 PM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Top Posters (30 Days)
CT 26
delboy 24
bcooper 14
Sahir 5
Gus 5
tovia123 5
Tim Bailey 3
SBi 3
christm 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18240
CREATE_GRADE api returns:PLS-00306: wrong number o 13772
Still trying to locate... 12214
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10658
Viewing Output of another user 9137
HR_PF.K RUP4 8851
Review of my Release 12 laptop 8500
Adding a taskflow button to a form 7861
Enhanced Retro & Release 12 7689
Family Pack K 7127
Topic Options
Rate This Topic
#4356 - 02/04/09 12:03 PM Context value using pay_balance_pkg.get_value
MAL Offline
regular

Registered: 02/11/07
Posts: 25
Loc: Manchester
Hi,

I have created a query, that uses the pay_balance_pkg.get_value. When I am running this I am getting the below error:

ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item requires context ORIGINAL_ENTRY_ID to be set
ORA-06512: at "APPS.HR_UTILITY", line 939
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 1612
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 2735
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 2908
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 4451
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 5404
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 5266
ORA-06512: at "APPS.PAY_BALANCE_PKG", line 5251

I have looked at Metalink Document 74315.1, section 2.5.2. (step 2 should say latest_balance_id not defined_balance_id in the where clause I think).

Can anyone help me to determine what I need to do get this working? Is it just for Court Orders I would need to set the context, if not how do I find out which elements I need to set this for?

Many thanks

Martin

Top
#4357 - 03/04/09 07:03 AM Re: Context value using pay_balance_pkg.get_value [Re: MAL]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Martin, an original_entry_id will apply to any balance with an _ELEMENT_ITD dimension, and I think there are some others of that nature too. Court Order balances are just one example. Essentially, the balance is being tied to a specific element entry, so that it can record the amount paid off against each one. The original_entry_id is the element entry that the balance pertains to.

Hope this helps

_________________________
L&K
CT

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

Top



Moderator:  bcooper, CT 
Forum Stats
756 Members
48 Forums
1517 Topics
7287 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1095
CT 1080
delboy 500
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
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