How can I use a related field on a page that will be visible in some cases and not others?

Summary:
How can I use a related field on a page that will be visible in some cases and not others?

Answer
Use this to make a related field visible or not:

&FIELD = GetField(CAREERPLAN.BUSINESS_UNIT);
&REL_FIELD = &FIELD.GetRelated(BUS_UNIT_TBL_HR.DESCR);
&FIELD.Visible = False;
&REL_FIELD.Visible = False;

*Questions excerpted from ITToolBox.com*

Disclaimer: Contents are not reviewed for correctness and are not endorsed or recommended by PeopleSoft-Planet.com.

Write your comment