Jan 26, 2013

PeopleSoft : Add drop down list in order.


 For &j = 1 To &Rs.ActiveRowCount
   &value = &Rs(&j).CH_RATING_TBL.CH_RATING.Value;
   &descr = &Rs(&j).CH_RATING_TBL.DESCR.Value;

   N_JOBSKILL1_TBL.CH_PROFLEVEL.AddDropDownItem(&value, Rept(Char(9), &j) | &descr);
End-For;

&j should be activerowcount -1

the translate value which u want first in the list should be appended with activerowcount number of char(9)

No comments:

Post a Comment