Who's Online
2 registered (CT, Chris Abraham), 7 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Concurrent Request - running slow
by CT
11 minutes 59 seconds ago
P11d's
by jkavia
38 minutes 53 seconds ago
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
GB EOY reports
by Vigneswar Battu
09/05/12 02:07 PM
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
#2948 - 19/03/08 03:16 PM UPDATE_ELEMENT_ENTRY api woes
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Hi all
I've spotted a quirk with the PAY_ELEMENT_ENTRY_API.UPDATE_ELEMENT_ENTRY api.
If I call it with P_VALIDATE set to TRUE the update still takes place.
I have a recreatable scenario here which is a bit alarming.

Before i wander off to Oracle with my rant i was wondering if anyone else has encountered this as well (or is it just me and the set-up here)?

Cheers

Baz
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#2950 - 19/03/08 03:36 PM Re: UPDATE_ELEMENT_ENTRY api woes [Re: bcooper]
kp_rapolu Offline
claiming squatters rights

Registered: 15/11/07
Posts: 213
Loc: U.K
I too find the same confusion, But document says something ....hmmm

p_validate
----------

This parameter is used to control whether the database is updated or not. The default is False, which means that the API performs normally by doing all neccesary validation, insert, update or deletes.

If it is set to True then the API will just check that the operation will be valid. All insert,update or delete operations are rolled back.

Note: There are no commits done from within the API. These must be done from the calling program.
_________________________
Krishna Prasad Rapolu
Oracle HRMS Consultant

Top
#2952 - 20/03/08 08:56 AM Re: UPDATE_ELEMENT_ENTRY api woes [Re: kp_rapolu]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Indeed i'm aware that no commits are performed within the API, however i am questioning whether the rollback is actually occuring when P_VALIDATE is set to TRUE.
I have tested several cases here and my findings are indicating that the rollback does not occur in the UPDATE API.

COnfused?
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top



Moderator:  bcooper, CT 
Forum Stats
791 Members
48 Forums
1582 Topics
7650 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