Examine this PeopleCode snippet: Local Rowset &RS_Level0, &RS_Level1; Local Row &Row_Level0, &Row_Level1; Local Record &Rec_EMPLOYEE; Local Field &Fld_ROLE; &RS_LEVEL0 = GetLevel0(); &ROW_LEVEL0 = &RS_Level0.GetRow(1); &RS_LEVEL1 = &ROW_LEVEL0.GetRowSet(SCROLL.DEPT); &ROW_LEVEL1 = &RS_LEVEL1(1); &REC_EMPLOYEE = &ROW_LEVEL1.EMPLOYEE; &FLD_EMPID = &REC_TASKRSRC.EMPID; &ID = &FLD_EMPID.Value; Can the code given above be replaced with the following statement?
Examine this PeopleCode snippet: Local Rowset &RS1; &RS1 = CreateRowset(RECORD.PSU_CUST_TBL); &Customer = "XYZ"; &RS1.Fill("WHERE CUSTOMER_ID =:1", &Customer); Select the correct statement.
Are parameters passed to user-defined internal and external PeopleCode functions by reference or by value?