300+ TOP PeopleCode Interview Questions [UPDATED]

  1. 1. What Are Classes In Peoplecode?

    • A class is the formal definition of an object and acts as a template from which an instance of an object is created at runtime.
    • The class defines the properties of the object and the methods used to control the object’s behavior.
    • PeopleSoft delivers predefined classes (such as Array, File, Field, SQL, and so on).
    • You can create your own classes using the Application class. You can also extend the functionality of the existing classes using the Application class.
  2. 2. What Are Setid’s And Table Set Sharing?

    • SetId is the highest level key in the PeopleSoft. Location, Department and Jobcode tables are control tables and setid’s control the control tables during the transaction.
    • Table set sharing is a place where control tables are listed. It is accessed by business unit.

    EX: If we have two locations Arizona and Ohio with setid’s xyz and abc,
    suppose if we change Ohio’s setid to xyz then we can access all information related to Arizona/xyz like jobcodes etc.


  3. People Soft Interview Questions

  4. 3. What Is Auto Update In Peoplesoft?

    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.

  5. 4. Why Do Peoplesoft Often Use Views As Search Records?

    Search views are used for three main reasons
    .

    • Adding criteria to the search dialogue page
    • Providing row level security
    • Implementing search page processing
  6. 5. 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.

  7. Manual Testing Interview Questions

  8. 6. What Are Metastrings Or Metasql?

    MetaStrings are special type of SQL expressions preceded by % sign.

    MetaStrings are used in the following:

    • SQLExec
    • In application designer to build dynamic views
    • With rowset object methods (select, fill)
    • SQL objects
    • Record class methods (Insert, Update)
    • Application Engine
    • Cobol
    • Scroll buffer functions (ScrollSelect and its relatives).
    • Some Record class methods (Insert, Update, and so on.
  9. 7. What Is The Difference Between Sqlexec And Createsql?

    • SqlExec means it bypasses the component buffer and it is directly contacts database to retrieve data.
    • But it retrieves the data row by row and not possible for bulk insert.
    • But in the case of Create SQL we can able insert the data in bulk.

  10. PeopleSoft Component Interface Interview Questions

  11. 8. What Is An Array In People Code?

    • 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.
  12. 9. Hot To Store Output Of A Sql Query In A Variable Using Peoplecode?

    Using SQLExec Function

    SQLExec (“SELECT EMPLID,NAME FROM PS_PERSONAL_DATA”, &Emplid, &Name);


  13. Structured Query Report (SQR) Interview Questions

  14. 10. What Is Sub Page, Secondary Page In Peoplesoft?

    • A Sub Page is utilized where you want to display or capture similar information for various entities,
      for example, capturing an address, for a company or for a person, would need similar information like Street address,State county, Country,Pincode etc.. In those situations a sub page would be used, to design once and reuse at multiple places.
    • A Secondary Page is used to display or capture secondary information about an entity.A secondary page could use various sub pages, but the reverse is not true.
  15. 11. What Are The Different Ways We Can Set Up The Portal Security To Access Component In Portal?

    • Structure & content
    • Menu import
    • Register component

  16. PeopleSoft Application Engine Interview Questions

  17. 12. 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.

  18. People Soft Interview Questions

  19. 13. 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 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.

  20. 14. What Is The Use Of Primary Permission List In User Profile?

    Primary permission list is used for mass change and definition security purposes.

  21. 15. How To Populate Data Into Grid In Online?

    &Rs.Select or Scrollselect()


  22. PeopleSoft Security Interview Questions

  23. 16. What Are The Built-functions Used To Control Translate Values Dynamically?

    Adddropdownitem() Deletedropdownitem()

  24. 17. 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:

    • Reduces the network traffic.
    • Increases the performance.

  25. Peoplesoft Hrms Interview Questions

  26. 18. Can You Save The Component Programmatically?

    Using Dosave and Dosavenow functions.


  27. Manual Testing Interview Questions

  28. 19. 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
  29. 20. 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.
  30. 21. What Is Getlevel0()? What Is The Use Of %subrec And %selectall Functions?

    • Getlevel0()— used to 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.
  31. 22. 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.
  32. 23. 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
  33. 24. 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

  34. PeopleSoft Component Interface Interview Questions

  35. 25. What Are Different Variables In People Code And Their Scope?

    • System variables and User defined variables.
    • Scope
    • Global
    • Component
    • Local
  36. 26. 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 :field default, field formula, rowinit, searchinit.
  37. 27. What Databuffer Classes Are Available In People Code?

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

  38. Structured Query Report (SQR) Interview Questions

  39. 28. 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)

  40. 29. 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.

  41. 30. 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
  42. 31. In Which Events Error & Warning Are Used Most Extensively?

    • Field edit
    • Save edit
    • Search save
    • row delete
    • row insert
  43. 32. 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.

  44. 33. 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.


  45. PeopleSoft Application Engine Interview Questions

  46. 34. 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.

  47. 35. How Can A Component Have More Than One Search Record? Give A Situation?

    You might want to reuse the same component multiple times with different search records. You can accomplish this by overriding the component search record at run-time when the component is opened from a menu item without creating separate copies of the component.

    The component override is temporary, and occurs only when the component is opened from the menu item in which the override is set. It does not change the component definition.

  48. 36. What Is An Expert Entry?

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


  49. PeopleSoft Security Interview Questions

  50. 37. 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 wont have any component existing so we are not allowed to hide the primary page.

  51. 38. 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.

  52. 39. What Conditions Are Required To Establish Parent Child Relationship Between Two Records?what Are The Advantages With That?

    Conditions are:

    • 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.
    • We should mention the parent record in the record properties of child record.
    • We can not go for more than three levels of parent/child relationships.

    Advantages are:

    • To have referential integrity.
    • No need to enter information again and again
  53. 40. What Are Table Edits?

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


  54. Peoplesoft Hrms Interview Questions

  55. 41. In Case Of Record Level Audit What Is The Structure Of Table?

    The structure of the table in record level audit is: AUDIT_OPRID, AUDIT_STAMP, AUDIT_ACTN, AUDIT_RECNAME and can add fields from record.

  56. 42. What Types Of Audits Are Supported By People Soft?

    We have field level audit and record level audit.

  57. 43. 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.
  58. 44. 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.