PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Read Field's Page Label after it is overwriten by PeopleCode

edited Sep 10, 2021 2:01PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 6 commentsAnswered

In HR the Employee's Address page will overwrite Field labels based on Country code. Example; Field STATE is labeled 'Province' in Canada but 'Department' in France.

Re-label/overwrite is done via PeopleCode via string and Label property:

&record.STATE.Label = &NewFieldlabel;

Question: is there anyway to refence that new Label for an error message?

Tried:

&outputstring = &record.STATE.Label -> but returns nothing.

&Field.GetLongLabel / GetShortLabel -> not working because Label is overwritten with string and no proper LabelID to use.


(PT 8.57)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center