4 PeopleTools
4 PeopleTools
1. What is an ERP?
Introduction It is a process of integrated flow of Information, which binds
on the organization together.
Field
2. What is an ERP system?
Record It is an integrated Application Software providing
operational, managerial and strategic Information for
Page improving productivity, quality and quantity to improve
competence.
Component
3. Describe the Life Cycle of a Project (ERP
Menu Implementation)?
1. Analysis
Compare Reports 2. Designing
3. Coding
PeopleTools and System Catalog Tables
4. Testing
Message Catalog 5. Implementation
6. Maintenance.
Security
4. Define People Tools?
PIA Collection of Objects which provides built in logic to develop
an application.
Process Scheduler 5. What the PeopleTools Available in PeopleSoft?
Configuration Manager Development Tools Reporting Tools
Field
22.Code to Programmatically Change the Field Label? program run.
Increases the performance, as it is not stored in the
database.
Used mainly for the AE batch processes
Create Index:
38.What is use of Indexes?
Useful to improve the performance as Indexes will Increase
the speed and efficiency of data retrieval.
39.How the Indexes will be created?
Indexes are created automatically, based on the Search
Keys, Duplicate Order Keys, and Alternate Search Keys.
40.What would be the name of indexes?
For all the Keys and Duplicated Order Keys, there will be
only one index.
Key Count will be increased based on the Keys and DOKs.
And the name would be PS_RECORDNAME.
For Alternate Search Keys, Indexes name will be
PSnRECORDNAME. Like PS0JOB, PS1JOB.
For each Alternate Key there will an Index.
41.Can We Create the Custom Indexes? If yes How?
Yes, We can. 48.What Happens when you select Recreate table if it
already exists?
Go to Tools, Data Administration, Indexes..
Data will be deleted.
Click on Add Index.
Structure will be deleted.
Specify the comments and click on OK.
Creates the new table structure.
49.What are the Build Settings available for Alter Option? 58.How to insert NULL values into a table?
Assume there are 2 fields EMPLID, ACTOIN in ABC table.
When we build the table, build SQL would be
CREATE TABLE PS_ABC (EMPLID CHAR(11) NOT NULL,
ACTION CHAR(3) NOT NULL);
It will not allow if we try to insert null values into ABC table.
INSERT INTO PS_ABC (EMPLID) VALUES ('AAA');
It will throw an error message stating that “Cannot insert
the value NULL into column 'ACTION'”.
So we have to Alter the table in order to insert NULL values.
ALTER TABLE PS_ABC ALTER COLUMN ACTION CHAR(3)
NULL
59.What are the considerations that you take while
altering a table?
How will this affect existing data?
What will happen to the indexes on the table?
50.What is the difference between ‘Alter in Place’ and
What will happen to the dependent views?
‘Alter By Table Rename’?
What is the impact of the stored statements used in COBOL
Alter in Place – Just alters the table will not create a copy,
processes and the tables they are linked to?
Alter by Table Rename – creates a copy of the record and
adds/deletes the fields then renames back to the original 60.What is the Query to get the Dependent Views?
record.
Alter in Place: 61.When you save a new Record where it will be stored?
It just Alters the table by adding/deleting new fields. In a PeopleTools Record – PSRECDEFN.
Then updates the Null value to the new fields. 62.When you build a new Record where it will be stored?
Original table will not be dropped hence all indexes do not In a System Table – SYSOBJECTS with PS_<Table Name>.
have to be rebuilt. In PSRECDEFN table PS_ will not be prefixed.
Performance of UPDATE might be slower since all rows are 63.A Record is created and saved but not built, how can
updated when a new column is added. you find those? What are orphan objects and how to
Alter by Table Rename: identify those?
Assume we are altering Table1 then, An example of an orphaned object is – A Record which not
assigned to any of Page. A page which is not assigned to
It creates a new table with the name Table2 and with the
any of the component.
new structure.
The System Audit (SYSAUDIT SQR Report) identifies
Inserts the Table1 data into Table2.
orphaned PeopleSoft objects.
Adds null value for the newly added fields.
Navigation: PeopleTools, Utilities, Audit, Perform System
Drops the Table1. Audit.
Then Replaces Table2 with Table1. 64.Can we save a Record without inserting any fields?
The indexes are dropped automatically when the temp table No, we can not. It will throw an error message – “Can not
is dropped. save without any Fields in a Record”
51.Is it required to build the table if we rename it? 65.Can we build the Record without inserting any fields?
Yes. Yes, But not properly. Build process will try to insert a row
When we change the name, it reflects in PeopleTools Table into SYSOBJECTS Table, as there are no fields in the table it
but not in database. will throw an error message. So Record will not build.
To reflect the new name in the database, we should build it.
Old table name will not be deleted from SYSOBJECTS table Record Properties:
rater a New row will be inserted.
52.Is it required to insert the field into Record when we
change the field name?
No, not required. When we change the field name it will
check in all the places where the field is referred and change
the name automatically.
53.Is it required to re-insert the field into Record when
there is a change in field properties like length, Type,
Format?
No need but we have to build the record.
54.Is it required to build the table when length of a field
changed?
Yes, when we save the field PeopleTools table will update
but not in the System table. In order to reflect the changes
into database, we should build the table.
55.Is it required to build the Record when we change the
Record Field Properties?
No need to Build the Record if we change the Record Field
properties.
56.Is it required to build the table when we make a filed
as Key Field?
Yes, We need to build as key field information has to be
updated in the System Catalog Table.
57.Is it required to build the table when we make a Key
filed as Search Key Field or Alternate Search Key?
No Need, Search Key information will not be stored in the
System Catalog Table.
FIELDNAME: It identifies on which Field he did.
OLDVALUE: It stores the value before change.
NEWVALUE: It stores the value after change.
7.Audit Options
8.Record-level Auto-Update
System ID Field
Timestamp Field
1.Key
3.Related Language Record
It uniquely identifies each row.
At runtime, the system checks the user's language
This will not allow duplicate and null values.
preference and retrieves the data value from the appropriate
related language Record Definition. It is a Primary Key and should be placed at the top of
Record.
4.Query Security Record
Maximum keys allowed in a Record are 15.
To give secure access to a particular Record using a Security
View. 2.Duplicate Order Key
5.Optimization Delete Record Allows the Duplicate values.
To specify the User-Defined audit Record. It provides a way of ordering data in the table when the
duplicate values exist.
6.Record Audit
It creates search index.
Audit Records are useful to store the particular user actions
on a particular Record, like who has added a new row or 3.Alternate search Key
who has deleted a row and at what time etc.. It will be displayed in the Search page to provide the
Audit Records should be prefix with AUDIT_. Alternate Search.
In addition to the Record fields we should add audit-specific Due to Alternate Search Key the system becomes slow,
fields; these fields are available in PSAudit Table. because database index will be created when SQL creates
the tables, so it will consume the disk space.
AUDIT_OPRID: Identifies the user who has done the
changes. It allows duplicate values.
AUDIT_ACTION: Identifies the Action done by the User. Alternate search will be seen in the search dialog box when
update/display mode is selected.
AUDIT_STAMP: Identifies the Action date and time when the
user has done. 4.Descending Key
Possible Actions include: It is used to retrieve data in the form of 3-2-1 or C-B-A.
A: Row Inserted. Normally it is used in effective date.
D: Row Deleted. By Default all are Ascending order
C: Row Changed (updated), but no Key Fields changed. 5.Search Key
System writes old values to the Audit Table. A search key makes the field appear on search pages.
K: Row changed (updated), and at least one Key Field When you turn on Search Key, system includes this field in
changed. System writes old values to the Audit Table. search dialog Page.
N: Row changed (updated), and at least one Key Field When you select a key as Search key it automatically turns
changed. System writes new values to the Audit Table. on the List Box item.
RECNAME: It identifies on which Record he did. If there is no Search Keys in a Record then there won’t be
any Search Page when you access the component online.
6.Search Edit
Page
79.What is a page?
Graphical interface between user and database.
Allows users to view, add, and edit data.
80.What are the different types of page available in
PeopleSoft?
1.Standard Page
2.Secondary Page
3.Sub Page
Standard Page
81.About Standard Page?
This is the Main independent Page can be shown in the
Browser.
82.What type of Pages can be inserted into Standard
Page?
Both Secondary page and Sub Page.
83.Can we save a page without inserting any fields into
it?
Yes, We can.
But it will give a warning message – “No Fields Defined for
Page” and then “Invalid page. Do you still want to save the
page?”
And when you open it online an error message will popup
stating that – No Fields defined for page – either add fields
to the page or contact your system administrator for
assistance.
84.How many rows search page can show?
300 by default.
85.Can we modify the search rows count in search page?
Yes, thru From Search field and Thru Search field.
86.How will you hide the Search Page?
Thru SetSearchDialogBehavior(0).
We can also use any Record which is not having Key Fields
like INSTALLATION.
Secondary Page
87.About Secondary Page?
Secondary Page is associated with Standard Page.
Used to show the related information of Primary Page base
on User request.
It can be viewed only inside the Primary Page.
It can be accessed thru hyperlink or push button from the
Standard Page.
88.Can we write the PeopleCode for Secondary Page?
Yes we can write for Secondary Page and Standard page but
not for Sub Page.
89.Ways to call Secondary Page?
1.Insert a push button control type of Secondary Panel. And
give the Page Name. This automatically invokes the
secondary panel when the user presses the button.
2.Using the push button/Hyperlink, In this case we have to
write the PeopleCode in field change event.
3.Using DOMODAL PeopleCode Function. Do
Modal(Page.C_SECONDARY_PAGE, "", - 1, - 1, 0);
4.Using the push button/Hyperlink. Select the destination
type as Secondary page and give the secondary page
name.
90.Can we insert Secondary Page at Level0?
Yes.
Sub Page
91.About Sub Page?
This is not an Independent Page and cannot be shown alone
in the Browser.
All the fields in a Sub Page must be associated with fields of
a Sub Record.
If you have groups of controls, such as address controls that 108. How to create tabs in Grid?
you use on multiple panel definitions you can save it as a Thru Tab Separator.
sub panel. And insert this sub panel wherever you want. Insert Tab Separator in between the fields wherever we
We cannot write PeopleCode for Sub Page. wanted to have tabs.
92.Can we insert Sub Record fields in to Standard page? Assume a grid is having 10 fields and if we wanted to
No, Insert Sub Record fields into Sub Page then insert Sub group together first 4 and next 3 and rest 3 fields then we
Page into Standard Page. have to place the first tab separator before the 1st field
93.Can we insert Sub Page into Standard Page? and 2nd tab separator after 4th field and 3rd tab
separator after 7th field.
We can insert Sub Page in Secondary and Standard Page.
109. Code to Hide a grid column?
94.Can we insert Secondary Page at Level0?
Local Grid &MyGrid;
Yes.
Local GridColumn &MyGridColumn;
Scroll &MyGrid = GetGrid(Page.<Page Name>, "<Page Field
95. About Scroll? Name in Grid Properties>", 1);
Useful to maintain Parent Child Relation. & MyGridColumn = &MyGrid.GetColumn("<Page Filed
We can view only one row at a time. Use occur count Name in Grid Field Properties – General Tab>");
option to view more than one row. & MyGridColumn.Visible = False;
Scroll areas provide a row separator when you select 110. Can we insert Secondary Page in Grid?
multiple occurrences of data.
We can’t insert Scroll in Grid. 111. Can we insert Sub Page in Grid?
We can insert Scroll in Scroll – Called Nested Scrolls –
Supports up to 3 Levels.
We can have 2 Scrolls in same level. Page Properties:
96. How many levels we can have in a page?
0, 1, 2, 3
Level Zero information is usually display-only with data
that the user entered on the initial search page.
Level 1 – 3: These levels include the scrolling data that is
related to the Level 0.
97. How many Records can each level have?
One Primary Record.
98. How many level 1 scrolls can a page have?
We can have n number of Level 1 Scrolls.
99. How to hide Scroll?
HideScroll(Scroll.ScrollName);
100. Can we have a Grid and Scroll at the same level?
Yes.
101. What are the steps required to maintain Parent
Child Relation?
Child Record must contain all the Key fields of Parent
Record.
In addition to that, Child Record should have at least one
additional Key field which Uniquely identifies the rows in
Child Record.
Keep all the Child rows in A Scroll.
102. Occurs Count:
It controls the number of rows to be display at runtime.
103. Occurs Level:
To define the hierarchical parent-child relationship.
The parent level of the page is always Occurs Level 0.
Child records would be Occurs Levels 1 through 3.
Entering 1 specifies that the grid is at the first level.
Entering 2 specifies that a grid is at the second level and 112.
is a child of the first level of data, and so on up to 3.
113.
104. Code to copy a scroll data into another Scroll?
Page Filed Properties:
105. Code to generate Auto Number in Scroll?
Record Tab:
Grid Label Tab:
106. About Grid? Use Tab:
We can view multiple rows.
114. Display Control Field:
We can’t put nested grid.
Controls the text that will be displayed in Related Display
We can insert Grid in Scroll. field.
We can’t insert Grid in Grid. 115. Related Display Field:
We can have 2 Grids in same level. Based on the Control field, related value will be dispalyed
107. Which option we need to set for changing number of in display mode.
rows in grid? 116. Can Display Control and Related Display fields exists
Go to Grid Properties, General Tab, and Occurs Count in different levels?
which controls the maximum number of rows to be display
at runtime.
117. Can Related Display field editable?
General Tab:
118.
Internet Tab:
Component
124. What is a Component?
Set of pages.
Controls the Complete Business Transaction.
125. Component Properties?
General, Use, Internet.
Use Tab:
Menu
135. What is a Menu?
A menu is a logical grouping for assigning Security to the
system.
Menus are the placeholders for components.
136. How many types are Menus are there?
2 Types, Standard and Popup.
137. What is the difference between Standard and Popup
Menu?
Standard Menu appears in the Menu Bar. Not used for
navigational purpose.
Popup Menu appears when the user clicks on Popup
Button. Used for navigational purpose.
138. How do you add a Standard Menu to Portal?
We can do it thru Application Designer and thru PIA.
139. Is it required to add a Popup Menu to Portal?
No it’s not required. Popup menus are called based on the
user request.
140. What is Folder, Menu, Menu Group, Menu Item?
Folder:
126. How many ways we can register a Component?
Menu: Can have n number of menu groups.
Menu Group: can have n number of Menu Items.
127. Can it possible for to re register a component which
has already registered in the Portal using wizard? Menu Item: is nothing but a Component.
No. The wizard will save with errors. EX:
128. Assume a Component is having 3 pages. And a new
page4 been added to the component. When we open
the Component in PIA, newly added page is not
visible. What could be the reason?
We have to set the Page Permissions.
Open any Permission List which the currently logged in
User is having.
Go to Pages Tab.
Go to the corresponding Menu and Click on Edit
Components link.
Go to the corresponding Component and Click on Edit
pages link.
Select Authorized Check box for the corresponding Page
and Select all the Actions. Click on OK/OK and then Save
the page.
129. How will you restrict the user from adding a new
value in search page?
In Component properties, USE tab, we have to uncheck
ADD action. So that users can’t add any new key value,
they can only search the values.
130. A Component is having 4 Pages. Page Activate code
is there on 1st Page. When you click on 2nd Page
will that Activate PeopleCode get fired?
No
131. When you click back to 1st page, will that Activate
PeopleCode get fires?
Yes. Every time when you click on the Page1, Activate
code of Page1 will get fired.
132. A Component is having 4 Pages. Page Activate
PeopleCode is there on 1st Page.
TransferPage(Page.Page1) code is there on
Page2.Field1.FieldChange. When you click on
Page2.Field1 will Page1.Activate get fired?
Yes.
133. What is the difference between a Basic and an
Advanced Search from the user perspective?
In Basic Search, User can search the data based on any
one of the search key only.
In Advanced Search, User can search the data with the
combination of all the Search Keys.
134. Can we hide a page when there is a single Page in a
Component?
PeopleCode to access values in the component buffer. release database.
3.Separator: Select this option when creating a menu for 6.*Unchanged – LASTUPDOPRID is not PPLSOFT and
the Registration Wizard. Selecting this option disables all LASTUPDDTM is Less than or equal to the comparison
other fields in the Menu Item Properties dialog box. release database.
143. How to Override the Component Search Record? 7.Same – Definitions are same in both the places.
Open a Menu, Go to Menu Item Properties, Click on 147. What are the Possible Source and Target values and
Override, and give the Search Record Name. appropriate Actions available?
This Search record will Override the actual Search Record Source Target Action
mentioned while creating the Component. CHANGED CHANGED Need to Copy
144. What are the Menu Properties? CHANGED UNCHANGED Need to Copy
Copy and then apply customizations.
CHANGED *CHANGED OR
Apply customizations and then copy.
CHANGED *UNCHANGED
CHANGED ABSENT
UNCHANGED CHANGED
UNCHANGED UNCHANGED No Need to Copy
UNCHANGED *CHANGED
UNCHANGED *UNCHANGED
UNCHANGED ABSENT
*CHANGED CHANGED
*CHANGED UNCHANGED
*CHANGED *CHANGED
*CHANGED *UNCHANGED
*CHANGED ABSENT Need to Copy
*UNCHANGED CHANGED
*UNCHANGED UNCHANGED
*UNCHANGED *CHANGED
*UNCHANGED *UNCHANGED
*UNCHANGED ABSENT
ABSENT ABSENT None
SAME SAME None
UNKOWN UNKOWN None
Navigations
289. Important Components Navigation:
1.Home > Workforce Administration > Job Information > Job
Data
2.PeopleTools, Utilities, Administration, and Message Catalog.
3.PeopleTools, Utilities, administration, Table Set Ids
4.Navigation: PeopleTools, Setup HRMS, Foundation Table,
Organization, Business Unit
5.PeopleTools, Utilities, Audit, Perform System Audit.
6.PeopleTools Utilities, Use, Record CrossReference.
Do Reach me @
[email protected]
if something needs to be
Corrected or Added.