which would be the next valid PeopleCode statement?

Examine this PeopleCode snippet:
Local Rowset &RS_Level0, &RS_Level1;
Local Row &Row_Level0, &Row_Level1;
Local Record &Rec_EMP;
Local Field &Fld_ROLE;
&RS_Level0 = GetLevel0();
&ROW_Level0 = &RS_Level0.GetRow(1);
If this is the beginning of a program that will traverse the data buffer to access values at level 1,
which would be the next valid PeopleCode statement?

Examine this PeopleCode snippet:
Local Rowset &RS_Level0, &RS_Level1;
Local Row &Row_Level0, &Row_Level1;
Local Record &Rec_EMP;
Local Field &Fld_ROLE;
&RS_Level0 = GetLevel0();
&ROW_Level0 = &RS_Level0.GetRow(1);
If this is the beginning of a program that will traverse the data buffer to access values at level 1,
which would be the next valid PeopleCode statement?

A.
&Row_Level1 = GetRow(&I);

B.
&Row_Level1 = &RS_Level1.GetRow(&I);

C.
&RS_Level1 = &Row_Level0.GetRowSet(SCROLL.DEPT);

D.
&REC_TASKRSRC = &Row_Level1.GetRecord(RECORD.EMP);

E.
&FLD_PCTAVAIL = &REC_TASKRSRC.GetField(FIELD.ROLE);

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *