Who's Online
0 registered (), 2 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
In which table is external learning data stored
by DMC
Yesterday at 03:43 PM
Pension Auto Enrolment
by CT
Yesterday at 09:46 AM
Vehicle Mileage Setup
by Shyam
Yesterday at 06:45 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
Oracle Payroll and Cash Management
by Vigneswar Battu
08/05/12 03:08 PM
BG setup/changes - brain dump
by Ryan
05/05/12 07:20 PM
Fusion Collateral
by CT
04/05/12 11:09 AM
BEE - ordering Batch lines
by Vigneswar Battu
03/05/12 04:22 PM
Top Posters (30 Days)
delboy 37
CT 35
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Mani 3
7Giri 3
Gus 3
Ryan 3
SBi 2
(Views)Popular Topics
Family Pack K issues thread 20107
CREATE_GRADE api returns:PLS-00306: wrong number o 15174
Still trying to locate... 13817
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11848
Viewing Output of another user 10266
HR_PF.K RUP4 10240
Review of my Release 12 laptop 9703
Enhanced Retro & Release 12 9375
Adding a taskflow button to a form 9111
Family Pack K 7882
Topic Options
Rate This Topic
#2169 - 17/07/06 03:40 PM Assignment form issue
vkumar Offline
claiming squatters rights
*****

Registered: 16/03/05
Posts: 223
Loc: Fullers Brewery West London
Hi all
Is there an explanation as to why assignment form outputs the message that 2 records committed even when doing a correction.
Message is -- FRM-40400: Transaction complete: 2 records applied and saved.
This feature of the assignment form seems to have an effect on any personalzation for eg : the condition 'WHEN-VALIDATE-RECORD' for ASSGT . When we set it up the trigger fires twice as there is always ' two' records to save on this form , any way round this , we only want the message to fire once ."
Thanks in advance
Vin

Top
#2170 - 21/09/06 08:04 AM Re: Assignment form issue [Re: vkumar]
simonbarrow Offline
enthusiast

Registered: 06/10/05
Posts: 37
Loc: Manchester
Hey Vin,

I had a dig around with this a while back- it's worth setting up a SQL trace to show you which tables have been updated in your own environment, but generally a correction on the assignment form updates per_all_assignments_f and per_periods_of_service. I've still no idea why per_periods_of_service is updated, as it seems to simply enter a new row, with exactly the same details as the previous one- perhaps someone else on here may be able to shed some further light..
Cheers
Simon
_________________________
Simon Barrow

Top
#2171 - 27/09/06 11:25 AM Re: Assignment form issue [Re: simonbarrow]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Presuming you've verified that there are no hooky customisations lurking on that form (either trigger based or user hook based)?
As a work-around, base your trigger code within a package, and have a package global variable.
Set it on first fire, and execute the code you want to run.
On second fire check to see if global is set (as it will remain persistent in your session memory). If its set, unset it and do not run the code.
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top



Moderator:  Administrator, Geoff Dixon 
Forum Stats
790 Members
48 Forums
1580 Topics
7641 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1182
bcooper 1112
delboy 594
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 145
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