Sunteți pe pagina 1din 5

1. What is the difference between Key and alternate search Key?

KEY- It is the primary key of the record. Can be used as search key or need not be.
Alternate search key- It is used for searching purposes.

2. Which effective dated rows can be retrieved in update/display mode, update/display all and correction
mode?
Update/display – can view current and future rows. Can update only future rows.
Update/display all – can view history, current and future rows. Can update only future rows.
Correction – can view and update history, current and future rows
Add – Create level zero rows

3. What types of audits are supported by people soft? In case of record level audit what is the structure of
table?
We have field level audit and record level audit. The structure of the table in record level audit is: AUDIT_OPRID,
AUDIT_STAMP, AUDIT_ACTN, AUDIT_RECNAME and can add fields from record.

4. What are Table Edits?


We have prompt table edit, yes/no table edit, translate table edit as the table edits.

5. What conditions are required to establish parent child relationship between two records? What are the
advantages with that?
Conditions are:
1) The child record should have all the key fields of parent record and at least one more key field other than the key
fields of parent record.
2) We should mention the parent record in the record properties of child record.
3) We can not go for more than three levels of parent/child relationships.
Advantages are:
1) To have referential integrity.
2) No need to enter information again and again

6. Can you place Sub page into Grid? If yes How?


Yes we can insert subpage using insert subpage. After insert subpage into main page, drag the subpage into the grid.
When we save the page we are successfully able to save the page showing that we can insert a subpage into a grid.

7. Can you hide a primary page in a component? Reason!


No, we can not hide the primary page of a component. If the component had only one page then by making this page
also invisible we won’t have any component existing so we are not allowed to hide the primary page.

8. What is an Expert Entry?


Expert entry enables a user to change from interactive to deferred mode at runtime for appropriate transactions

9. What is Auto Update?


This record field property is used to update the date field of particular record with the server's current date and time
whenever a user creates or updates a row. Even the user enter the data into that field, the data which the user enters
will be updated by the system’s current date and time.

10. How does PeopleSoft use views? Which are online functions?
A) People soft uses views for search records, summary pages, prompt views, reports.
Search records and summary pages are online functions.

11. Why do PeopleSoft often use views as search records?


Search views are used for three main reasons.
1. Adding criteria to the search dialogue page
2. Providing row level security
3. Implementing search page processing

1
12. How can a component have more than one search record? Give a situation.
By Pay line page in NA Payroll is an example of such situation. This page is used in both US and CAN folders. But while
US folder is accessed; only US employees will be accessible. Similarly while CAN folder is accessed; only CA
employees will be accessible. This is possible to be implemented by having only one component but by providing
different search record in Menu of US and CAN Payrolls. Menu Item has option to choose Override Search Record.

13. What is PIA and what are its components?


It is n-tier architecture. We have client, web server, application server and Database server. We have jolt and tuxedo.
We have WSL, WSH, JSL, JSH, Queues and Services.
In database server we have system tables, PeopleTools tables and application tables.

14. What are the steps to develop a page?


 Create list of Fields that is required. Identify all fields required to develop the page
 Create Records required for the page and build the records that are required
 Create Page by including all the record fields
 Create Component by including all pages created; specify the search record as Primary record in level Zero
 Create Menu (or use existing menu); add component as an item
 Provide security; open/create a permission list to which developer has access to. Add the component and give
permissions required (Add, update/display, update/display all, correction)
 Register the component and re-login to the online
 Enter data and confirm that the page is working

15. What are the data types of fields?


 Character (Char)
 Long Character (Long)
 Number (Nbr)
 Signed Number (Sign)
 Date (Date)
 Time (Time)
 DateTime (DtTm)
 Image (Img)
 ImageReference (Iref)
 Attachment (Att)

16. What are the types of records?


SQL Table: Table is stored in the back end. Used to hold application data. JOB
SQL View: Join of multiple tables and fetches data from various tables in the database. View will have select query
definition behind it NAMES_VW
Temporary Table: This is used only in Application Engine. This needs to be built.
Dynamic View: This is a view which is used in PeopleCode and AE generally. It is not built
Query View: This view is built based on Queries built in Query Manager. This is not built
Derived/Work Record: This is list of temporary fields and it is not built. DERIVED_HR
Sub record: This is list of set of fields which are commonly used in the application. ADDRESS_SBR

17. What are the types of pages?


Standard page: Main page type for creating PeopleSoft online pages.
Secondary Page: Part of page to accommodate additional information. We can see this as link/button in the main page
Sub Page: Used to hold sub record fields. Main record fields can not be placed in this page. Also sub page need to be
included in main pages.

18. What are the types of menus?

2
Standard Menu: Menu to accommodate all components for building online pages
Pop up Menu: Menu to show a list of choices upon clicking the page field or page

19. How do you find out the record behind a page in online?
Press Control + J to get the page; component; menu information. Open the page in app designer and find out the
records behind the fields that are identified for research.

SECURITY
20. Before accessing a people soft application what levels of security must be passed through.
a) Field level security
b) Row level security
c) Maintain security
d)definition security
e) Portal security.
21. What is the use of primary permission list in user profile?
Primary permission list is used for mass change and definition security purposes.
22. How to authorize the user to run a process or report?
To authorize a user to run a process, the process group, which contains the process or report, should be added to the
permission list of that user.
23. How to give access to the records that are to be used in a query?
To give access to the records that are to be used in query, we have to create a new query security tree and add the
records which we want to give the access and then assign a access group to the tree. After that we have to add that
query tree and query access group to the permission list.
24. What are the rules used by the system to determine whether a user is authorized to update an object?
The user should have the permission to update the object. This is given by the Definition security. The group, which
holds the object, should be added to the permission list of the user in update mode.
25. What are the different ways we can set up the portal security to access component in portal?
1) Structure & content
2) Menu import
3) Register component

26. What is Record Group? Which records can be included into a record group?
Record group consists of records with similar functionality. To setup a record in record group we should enter a set
control field value in record properties

27. How can you improve the security and usability of a Prompt table edit?
Use a view with security joins (SJT_PERSON).

28. What are the different ways to setup row level security?
We can setup row-level security using a SQL view that joins the data table with an authorization table. And by having
Query search for data using a query security record definition. The query security record definition adds a security
check to the search.

29. Differentiate Field edit and Save edit?


In Field edit for each field change, a transition to the application server to the database is taken place.
In SaveEdit for all the fields only one transition to the application server to the Database is taken place.

30. What are think time functions?


Think-time functions suspend processing either until the user has taken some action (such as clicking a button in a
message box), or until an external process has run to completion.

31. In which events error & warning are used most extensively.
FieldEdit, SaveEdit, SearchSave, RowDelete, RowInsert

3
32. Is there any way by which you can find out whether the user is in Add mode or Update mode?
%mode---returns A---for Add mode.
Returns U –for Update mode

33. What is the purpose of the SQLEXEC function? What are its benefits and draw backs?
SQLEXEC is used to execute the sql statements(select,insert,update,delete).
We can get only one row at a time.

34. How is the Searchinit event most often used by people soft application?
A)Searchinit fires before the search dialogue page is displayed to the end user.For this reason Searchinit is often used
to enhance row level security by inserting and graying out certain values to the search dialogue page.

35. What are the options for using SQL in people code?
a) SQLExec
b) Record class methods (selectbykey/delete/insert/update)
c) Using sql class, its properties and methods.

36. What is the difference between component buffer and data buffer?
Component buffer contains all the data of the active component.
Data buffer contains the data other than the data in the component buffer (Data of other records)

37. What databuffer classes are available in people code?


Rowset, Row, Record, Field, Array, File, Sql, chart, grid and so on

38. When we select a component what events will be fired?


If default mode for component is search mode: only searchinit will fired .If default mode for component is new mode:
FieldDefault, FieldFormula, RowInit, SearchInit.

39. What are different variables in people code and their Scope?
System variables and User defined variables.
Scope ---Global, Component, Local.

40. What is default processing?


In default processing, any blank fields in the component are set to their default value. You can specify the default
value either in the Record Field Properties, or in FieldDefault PeopleCode
41. What is difference between field default and Row init?
Field default specifies only the default value for a field when we are in Add mode.
Row init fires only when a row of data coming from database to component buffer
42. What is difference between saveprechange and savepostchange? Which function directly interacts with
the database?
Saveprechange---last event that executes before updating the data from component buffer to the database.
Savepostchange –fires after the updation of data in the database.
SQLEXEC --- function directly interacts with the database.
43. What is Getlevel0()? What is the use of %subrec and %selectall functions?
Getlevel0()---used the get the rowset of the level0.
%subrec--is used only in Dynamic View SQL where it expands to the columns of a subrecord:
%selectall--%SelectAll is shorthand for selecting all fields in the specified record, wrapping date/time fields with
%DateOut, %TimeOut.
44. What is an array in people code? What is maximum dimension of an array? Which function inserts values
into an array? What is “pop”?
An array is a collection of data storage locations, each of which holds the same type of data.
The maximum depth of a PeopleCode array is 15 dimensions.
Push and unshift are the functions of the array used to add the elements into the array one from the end of the array
and one from the beginning.
Pop is a function of array used to select and delete an element from the end of the array.

4
45. What is difference between Getrowset and Createrowset in people code?
Getrowset –is used to get rowset for a record in the component buffer.
Createrowset—is used to create rowset for a record which in database, and is also called a Standalone rowset
46. Can you save the component programmatically?
Using Dosave and Dosavenow functions.
47. What is differed processing and its advantages?
Postpones some user actions to reduce the number of trips to the database so that increases the performance (in
system edits, field edit, and field change).
Advantages:
1) Reduces the network traffic.
2) Increases the performance.
48. Write the syntax to access third level record field using object oriented peoplecode?
&fld=Getlevel0()(1).GetRowset(Record.<level1 record>.GetRow(1),
GetRowset(Record.<level2record>).GetRow(1),
GetRowset(Record.<level3 record>).GetRow(1),
GetRecord(Record.<level3 record>).GetFieild(Field.<field name>))
49. What are the built-functions used to control translate values dynamically?
Adddropdownitem()
Deletedropdownitem()
50. How to populate data into grid in online?
&Rs.Select or Scrollselect().

S-ar putea să vă placă și