1. Peoplesoft tables of interest.......................................................................................... 2
2. PDF reports................................................................................................................. 2
3. FTP job to copy file to NT server in Dev environment........................................................ 2
4. PS Queries.................................................................................................................. 3
5. Translate table............................................................................................................. 3
6. Installing PeopleTools................................................................................................... 3
7. Scheduling/reporting..................................................................................................... 4
8. General Table Naming................................................................................................... 4
9. Adding Objects............................................................................................................ 4
10. Cloning pages and adding to menu............................................................................... 4
11. Effective Dating SQL................................................................................................... 5
12. Paycycle id’s............................................................................................................. 5
13. Peoplesoft Application Development............................................................................. 6
14. Peopletools Tables.................................................................................................... 16
15. Peoplesoft Architecture............................................................................................. 16
16. Peoplesoft Design Methodology................................................................................. 16
17. PeopleCode.............................................................................................................. 17
18. Security................................................................................................................... 23
19. Process Scheduler.................................................................................................... 23
21. Create Paysheet/Run Paycalc process....................................................................... 23
22. Pay Unsheet process................................................................................................ 24
23. Pages/components behind the web page.................................................................... 24
|
PS_PAY_OTH_EARNS does not have emplid as part of the key. The way to find corresponding records in this table is: |
Select * From PS80PRD.PS_PAY_OTH_EARNS A, PS80PRD.PS_PAY_EARNINGS B Where b.emplid = ‘100099999’ And b.pay_end_dt = ‘12/31/2005’ And a.pay_end_dt = b.pay_end_dt And a.company = b.company And a.paygroup = b.paygroup And a.page_num = b.page_num And a.line_num = b.line_num |
|
Paysheet run id’s are in: |
PS_PAYSHEET_RUNCTL |
|
Pay calc run id’s are in: |
PS_PAY_ |
|
Process scheduler status |
PSSERVERSTAT To see values for server status select * from ps89cnv.PSXLATITEM where FIElDNAME = 'SERVERSTATUS' |
|
Pay rates |
PS_ (SETID, PS_ (+ GRADE) PS_ (+ STEP) PS_ (+COMP_EFFSEQ, COMP_RATECD) PS_JOBCODE_ (SETID,
JOBCODE, EFFDT – has |
|
|
|
Some SQR’s are set up to generate PDF reports. They can only run on the server, not on the mainframe.
Some reports are set to only print to a specific printer. When testing check where the report may end up.
Promotion of program via Endevor automatically copies
program to
TESTPSFT.PS80DEV.NEESJCL(FTPTOFS) -
01.99 Columns 00001 00072
===> Scroll
===> CSR
*****************************
Top of Data ******************************
//$FOERTSS JOB
'13,99,IO5160,1734,0345,G1003','
',
// CLASS=T,MSGCLASS=Q,NOTIFY=$FOERTS
//*
//********************************************************************
//** SEND THE FILES TO FILESERVER VIA FTP ***
//** DO NOT MODIFY THIS JCL OTHER THAN JOBCARD
AND PUT CMD(S) ***
//********************************************************************
//*
//*
//FTP010 EXEC PGM=FTP,PARM='(EXIT'
//SYSPRINT DD SYSOUT=*
//* IP ADDRESS FOR WBROPS02
HAS HOME DIRECTORY PSFT80
//INPUT DD *
PS80QA << note connect to QA
FTP80DEV
HAPPY123
LOCSITE FILETYPE=SEQ
CD PS80DEV << but sending to dev
directory
CD SQR
PUT
'TESTPSFT.PS80DEV.SQRSRC(PHW410)' PHW410.SQR
CLOSE
QUIT
/*
The following tables are involved in queries
PSQRYDEFN
PSQRYSELECT
PSQRYRECORD
PSQRYFIELD
PSQRYCRITERIA
PSQRYEXPR
PSQRYBIND
All tables are keyed by oprid and qryname.
To delete a query your could run
DELETE FROM PSQRYDEFN WHERE OPRID = 'X'
DELETE FROM PSQRYSELECT WHERE OPRID = 'X'
DELETE FROM PSQRYRECORD WHERE OPRID = 'X'
DELETE FROM PSQRYFIELD WHERE OPRID = 'X'
DELETE FROM PSQRYCRITERIA WHERE OPRID = 'X'
DELETE FROM PSQRYEXPR WHERE OPRID = 'X'
DELETE FROM PSQRYBIND WHERE OPRID = 'X'
You may be able to get a translation of a code by looking in
the XLATTABLE. For example, to find codes for PS_
Select * from ps80prd.xlattable
Where
fieldname= ‘EMPL_TYPE’
Connect to server //nyhcbappd2v
Go to PS80DEV\wscfg directory
Click on one of the PS80DEV_from_x_drive.bat files. (x is j,k or l)
Peoplesoft jobs in prod are set to be single threaded. Only one PP job runs at a time. This ensures, among other things, that the PSSQR100 and PSSQR614 procs using PSFTPRD.PPXJ0100.TEMP.PRTFILE/.BKUP report files do not get over overwritten by another job before the current one completes.
In test however, the PSSQR100 and PSSQR614 procs are different and expect a delete/define member the same name as the SQR in ‘TESTPSFT.PS80DEV/QA.UTIL.CNTRLIB’. The member is used by IDCAMS to delete/define the report files – that use the SQR name in report files to avoid testing conflicts.
Tables starting with PS_ are Peoplesoft tables.
Tables starting with PS (no _) are PeopleTools tables
PSRECDEFN – record definition
PSRECFIELD – field definition
Views
Summary page views …_VW
Search
record views …_
Prompt table views …_VW
Reporting views … No common suffix
|
Adding object to project |
Click Insert/Current Object into Project |
|
Field definitions |
In Peoplesoft Application Designer File/Open, select Field from Definition Dropdown Type name (or part of name) in Name field, click Open Select field name displayed in list, and click Open, or doubleclick on name to display field properties. Select Edit, Find Definition references to see where field userid To create a field File/New, select Field from list – follow prompts as needed Click File/Save to save definition |
|
|
|
|
|
|
|
|
|
|
Page NP_RUNCNTL_PHW430 |
Opened page NP_RUNCNTL_PHW020 and did save as NP_RUNCNTL_PHW430. Update page (text literals) as needed |
|
Components NP_ |
Opened component NP_ Updated Item Label (displays as tab label on screen) Right click on component line to display component properties Changed values in General, Use, and Internet tab fields as needed. |
|
Menu |
Opened Administer Workforce ( Update menu item properties |
|
Security |
Go/PeopleTools/Maintain Security In new window Use/Permission Lists/Pages/”Update/Display” Display permission list for ALLPANLS Clicked on Edit Component next to Administer_Workforce( Found menu item under CSTM Reports found PHW430 and clicked on Edit Pages Set page permissions same as PWH020 |
|
Process Scheduler Manager |
Clicked on Go/Peopletools/Process Scheduler Manager Scheduler App opened Use/Process Definitions/Process Definition Options/”Add” Process Type – SQL Report Process Name – PHW430 Process Definition Tab – Type in description and long description Process Definition Options tab – Run (Both), Component –
NP_ Other tabs left as defaults. |
…
FROM PS_
WHERE
C.EMPLID = &A.EMPLID
FROM PS_
WHERE PJ.EMPLID = C.EMPLID
FROM PS_
WHERE PJ.EMPLID = C.EMPLID
Montly payrolls are identified with a 2 digit year and a 1 letter month, eg 06D is 2006/April.
Weekly payrolls are identified with
a 1 digit year and a 2 digit week, eg. 602 is for week
Starting with Peoplesoft 8, Peoplesoft Pure Internet
Architecture has all activities accessible via the web browser
|
Designing and application |
Plan the data structures
|
|
Key function in App Designer |
Alt 0 (zero) – toggles project workspace show/hide Alt 1 - toggles output window show/hide |
|
Data validation strategies |
Prompt table edits Effective dated tables Translate table edits Yes/no edits Tableset sharing prompts |
|
Project options |
Tools/Options Reload project at startup Code/setup Validation Inserting objects into project Undo/redo buffer depth Font size Image storage formats |
|
Creating new fields |
For any new fields gather the following Field/Label Name eg Last_name Type eg. Char, Num, Date, .. Length eg 6 (for Char) 2.1 (for Num) 10 (Date) Label (long/short) Format Upper, Mixed, N/A Translates Y/ - New Y/- Add field via File/New/Field (from list) Go to File/Object Properties with field selected to and text and owner Id if needed. If the field is a character field there will be an International Format and Translate Values tab |
|
Creating translate values |
Go to File/Object Properties with field selected (field must be char) Select Translate Values tab Click on Add to add translate values Translate values should end up in the owner.XLATTABLE table |
|
Record Definitions |
File/Open/Record , type in record (or partial key) hit Enter to display/select With record displayed View/Fields Display View/Use Display View/Edits Display View/Peoplecode Display – display by field all places Peoplecode can be attached, FieldDefault, Field Change, Field Edit,…. * Remember in App Designer the records are referenced w/o the PS_ Click on record field to show Use and Edit tabs where you can set Key, Duplicate Key, Alternate Key, Prompt table for field value, data entry via checkbox, dropdown list, etc Use above Create table DDL by Build/Current Object Select build options Check build script file Click in settings to check Click build to generate script See build tab at bottom of App Designer for message If you have record
definition displayed, clicking on the print icon will print the definition,
plus any Peoplecode, xlat values, etc. |
|
Page Definitions |
File/Open/Page , type in record (or partial key) hit Enter to display/select Placing a field (with translate values) on page, double click on it, check show prompt button to (automagically) active field lookup When a page is displayed on the web, pressing cntl/J will display a page detailing info on the page such as the page, the page component, menu, app server, etc. |
|
Page fields |
To create radio buttons that set value of one field
Scroll Areas
The message catalog table should be used to avoid hard coding Field order
|
|
Adding grid on page |
To create a grid
|
|
Multiple page levels |
Create level 0
Create level 1
a. Main record – level 0 record b. Page Field name – level 0 record
a. Click on field b. Add record/field to related record/field c. See other field properties as needed 7. Check field page order by clicking on Order tab (Use message database for any messages) |
|
Components |
A page must be attached to a component. A component can be attached to a menu Create the component by File/New, select component from New Definition dialog Expand pages folder in project workspace Drag the page from the folder to the component Enter info as needed in component properties Search record Actions – add, update/display, etc. Toolbar actions – save, cancel, spell check, view worklist, … |
|
|
|
|
Registering components |
Use Registration Wizard to
To start registration wizard
|
|
Security |
Roles –
Permission Lists -
To allow user to select menu item from menu
|
|
Portal Registry |
Select Peopletools, Portal Node Definitions – for default node Portal Definitions – for default portal PeopleTools, Portal Structure and Content Click Edit link for folder (use select new parent to move folder) Click Add Folder to …. Add a folder!
Examing breadcrumbs, folders and content references
|
|
Searching Site |
Execute Verity search by
Update search registry index
(Runs PS application engine process called PORTAL_INDEX)
|
|
Data Audits |
Create an audit record
Insert AUDIT_OPRID, AUDIT_STAMP, AUDIT_ACTN as first 3 fields on AUDIT_ record 4. Delete unneeded fields on AUDIT_ record 5. Clear key, search, list, default value fields on AUDIT_ record 6. Set ‘Auto Update’ on AUDIT_STAMP 7. Do File/Save 8. Build table 9. Open original record to be audited 10. Select File, Definition Properties, Use tab 11. Enter AUDIT_... into record name field, set ADD, Selective, Delete, and/or Change Set Field level audit
|
|
Export/Import |
Exporting
Two files created - xxx.ini and xxx.xml Importing
|
|
Creating Peoplesoft views |
SQL View option - If you want to write the SQL view definition
Query View – Create the view using Peoplesoft to prompt you through building the query This process has 3 parts:
To create a Query View
In the end there is no difference in the result between building the view on your own (SQL View option) vs having Peoplesoft (Query View) prompt you through it. There is a potential problem with SQL View in that if the field order changes but view sql doesn’t you end up with a view field mismatch to the underlying view sql. |
|
Summary Pages |
The key structure in views are used differently that tables. In views the component processor uses the ‘key’ to search and sort. First key in a summary view should be the search key. Information depends on the search key at level 0. Te level 1 view must have at least to key fields – the level 0 key and 1 more |
|
Search records |
Three questions for search records 1. Which table is source of high-level keys at level 0 on the page? 2. Which rows of data should be seen by user? 3. Which fields should user on the search page Every component must have a search record When user clicks a content reference, the corresponding component search records and actions are used to build search page The search record of a component is used to request data from database server, and since only selected fields returned, data retrieval is minimized. The search page is dynamically created page built by the system – not user defined. Search keys appear as fields on the search page as they appear in the records. Alternate search keys are not key fields but they appear as fields on the search page to help find existing records (really the primary key existing records) Alternate search keys are not key fields but they appear as fields on the search page to help you find an existing key. List box items are fields in search results list – they do not have to be the key or alt key fields The main purpose of the search page is to find key value(s) that the system can insert into an SQL phrase for use as the primary key in the SQL where phrase. (The level 0 record is found and returned) When in add mode the primary seach key is used to construct the initial Add page where the user enters the new (primary) key. The subsequent page displayed allows the user to enter the non-key fields values. Search views (views ending with _ If _ a. When user selects add a new value, the component process first tries to select the value from the search record b. If record not found, the page processor takes over to load page c. If record in base table, the record is retrieved and displayed (uh-oh) |