E-PC:RowInit PeopleCode Executes For Existing Rows After FieldChange (Doc ID 2264073.1)

Last updated on MAY 10, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.

Symptoms

On : 8.55 version, PeopleCode

ACTUAL BEHAVIOR
---------------
RowInit PeopleCode executes for existing rows after FieldChange
RowInit PeopleCode should execute only once per row. That one execution should be when the row populates into the rowset.

In tools 8.55,  have a work record checkbox field at level 1 and level 2.
The PeopleCode trace below shows that when the checkbox at level 1 is clicked, the corresponding record FieldChange program executes (as it should) and then the record RowInit program for level 2 executes immediately after FieldChange completes (why?). The level 2 row is a default/blank, untouched row.
Following trace, shows the execution twice.

PSAPPSRV.15637 (674) 1-2605 12.36.28 1054.878324 >>> start Nest=00 FH_EX_TT_WRK.FH_EX_TT_FLG.FieldChange
PSAPPSRV.15637 (674) 1-2606 12.36.28 0.000037 >>>>> Begin FH_EX_TT_WRK.FH_EX_TT_FLG.FieldChange level 1 row 0
PSAPPSRV.15637 (674) 1-2607 12.36.28 0.000036 1: &fooB = 1;
PSAPPSRV.15637 (674) 1-2608 12.36.28 0.000009 2:
PSAPPSRV.15637 (674) 1-2609 12.36.28 0.000019 <<< end Nest=00 FH_EX_TT_WRK.FH_EX_TT_FLG.FieldChange Dur=0.000224 CPU=0.000000 Cycles=6
PSAPPSRV.15637 (674) 1-2610 12.36.28 0.000614 >>> start Nest=00 FH_EX_TT_WRK.FH_EX_TT_FLG.RowInit
PSAPPSRV.15637 (674) 1-2611 12.36.28 0.000013 >>>>> Begin FH_EX_TT_WRK.FH_EX_TT_FLG.RowInit level 2 row 0
PSAPPSRV.15637 (674) 1-2612 12.36.28 0.000014 1: &fooA = 1;
PSAPPSRV.15637 (674) 1-2613 12.36.28 0.000004 2:
PSAPPSRV.15637 (674) 1-2614 12.36.28 0.000011 <<< end Nest=00 FH_EX_TT_WRK.FH_EX_TT_FLG.RowInit Dur=0.000070 CPU=0.000000 Cycles=6

EXPECTED BEHAVIOR
-----------------------
Rowinit should not execute for existing rows after the fieldchange is trigerred.


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users are getting confused.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms