« 1z0-620:Siebel7.7 Analytics App.Developer Professional Core Exam1z0-101:develop pl/sql program units »

1Z0-242:PeopleSoft Application Developer II: App Engine & Integration

Publish:admin | Category:Oracle Certification | Commentary:0 | Trackback:0 | Browse:

7. View the Exhibit. Your client is upgrading its purchasing application to use object-oriented PeopleCode to incorporate the benefits of application classes. The PeopleCode for the Purchase Order application is now encapsulated in an Application Package called PSU_PO. The assign_order_nbr function is now ORDER_NBR, a method of the ORDER class.
You are tasked with modifying this program to call the new ORDER_NBR method.
Which four PeopleCode statements will you use in the new program? (Choose four.)
A. Class PSU_PO:ORDER;
B. &New.ORDER_NBR(PSU_PO_HDR.ORDER_NBR);
C. Import PSU_PO:ORDER;
D. Declare method PSU_PO:ORDER:ORDER_NBR;
E. &New = Create Order();
F. Local ORDER &New;
G. Method ORDER_NBR (&ORDER_NBR As Field out);
Answer: BCEF

8. You want to see exactly when a PeopleCode program fires in the context of the Component Processor flow. Which two methods will work? (Choose two.)
A. Insert a Print() statement in the program.
B. Insert a WinMessage() statement in the program.
C. Insert a MessageCatalog() statement in the program.
D. Run the PeopleCode Debugger and insert a breakpoint on the program.
E. Run the PeopleCode Debugger and select Debug, View Component Buffers.
Answer: BD

9. View the Exhibit. A PeopleCode program at level 0 checks the values for Percent Available (PCT_AVAILABLE) at level 1.
Analyze this code snippet.
Local Rowset &RS_Level0, &RS_Level1;
Local Row &Row_Level0, &Row_Level1;
Local Record &Rec_TaskRsrc;
Local Field & Fld_PctAvail ;
&RS_Level0 = GetLevel0();
&Row_Level0 = &RS_Level0.GetRow(1);
&RS_Level1 = &Row_Level0.GetRowset(Scroll.PSU_TASK_RSRC);
&Row_Level1 = &RS_Level1.GetRow(1);
&Rec_TaskRsrc = &Row_Level1.GetRecord(Record.PSU_Task_RSRC);
&Fld_PctAvail = &Rec_TaskRsrc.GetField(Field.PCT_AVAILABLE);
&Pct = &Fld_PctAvail.Value;
Select the correct option.
A. The program will produce the expected results.
B. The program is missing a loop to process each row in the level 1 rowset.
C. The program is missing a loop to process each rowset in the level 1 row.
D. The program can be simplified to:
&Pct = &RS_Level0.PSU_Task_RSRC.PCT_AVAILABLE.Value;
E. This line of code is not needed:
&RS_Level1 = &Row_Level0.GetRowset(Scroll.PSU_TASK_RSRC);
F. The &RS_Level0 = GetLevel0(); function is missing the Level 0 scroll name.
Answer: B

10. The Get Student Enrollments page uses a PeopleCode program to select and display rows based on user input. When the user clicks Refresh, FieldChange PeopleCode populates a stand-alone rowset using a Select method. When you test the program, the new rows are appended to the previous rows instead of replacing them. How do you fix this problem?
A. Use a work scroll instead of a stand-alone rowset.
B. Add &Rowset.Flush(); after the Select method.
C. Use an Update method instead of a Select method.
D. Add &Rowset.Flush(); before the Select method.
E. Add &Rowset.Refresh (); after the Select method.
F. Add &Rowset.Refresh(); before the Select method.
Answer: D
 

tagTags:1z0-242  Oracle Certification  Oracle  

Post comment:

◎welcome to give out your point。