Read Field's Page Label after it is overwriten by PeopleCode
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)