Wednesday, August 22, 2007

PeopleSoft Object Type and Record Name

Overview

This below table list the various PeopleSoft Object type and it corresponding Mater record table.



Object IDObject TypeRecord Name
0RecordPSRECDEFN
1IndexesPSKEYDEFN
2FieldsPSDBFIELD
3Field FormatsPSFMTDEFN
4TranslatesPSXLATITEM
5PagesPSPNLDEFN
6MenusPSMENUDEFN
7ComponentsPSPNLGRPDEFN
8Record PeopleCodePSPCMPROG
9Menu PeopleCodePSPCMPROG
10QueriesPSQRYDEFN
11Tree StructuresPSTREESTRCT
12TreesPSTREEDEFN
13Access GroupsPS_ACCESS_GRP_TBL
14ColoursPSCOLORDEFN
15StylesPSSTYLEDEFN
17Business ProcessesPSBUSPROCDEFN
18ActivitiesPSACTIVITYDEFN
19RolesPSROLEDEFN
20Process DefinitionsPRCSDEFN
21Server DefinitionsPS_SERVERDEFN
22Process Type DefinitionsPS_PRCSTYPEDEFN
23Job DefinitionsPS_PRCSJOBDEFN
24Recurrence DefinitionsPS_PRCSRECUR
25Message Catalog EntriesPSMSGCATDEFN
26Dimension DefinitionPS_DIMENSION
27Cube DefinitionTO_Find
28Cube Instance DefinitionTO_Find
29Business InterlinkPSIODEFN
30SQLPSSQLDESCR
31File Layout DefinitionsPSFLDDEFN
32Component InterfacesPSBCDEFN
33Application Engine ProgramsPSAEAPPLDEFN
34Application Engine SectionsPSAESECTDEFN
35Message NodesPSMSGNODEDEFN
36Message ChannelsPSMSGCATDEFN
37Message DefinitionsPSMSGDEFN
38Approval Rule SetAPPR_RULE_HDR
39Message PeopleCodePSPCMPROG
40Subscription PeopleCodePSPCMPROG
42Comp. Interface PeopleCodePSPCMPROG
43Application Engine PeopleCodePSPCMPROG
44Page PeopleCodePSPCMPROG
46Component PeopleCodePSPCMPROG
47Component Record PeopleCodePSPCMPROG
48Component Rec Fld PeopleCodePSPCMPROG
49ImagesPSCONTDEFN
52File ReferencesPSFILEREDEFN
53Permission ListsPSCLASSDEFN
54Portal Registry DefinitionsTO_Find
55Portal Registry StructuresPSPRSMDEFN
56URL DefinitionsPSURLDEFN
57Application PackagesPSPACKAGEDEFN
58Application Package PeopleCodePSPCMPROG
60Analytic TypesTO_Find
62XSLTTO_Find
64Mobile PagesPSMPDEFN
68File ReferencesPSFILEREDEFN
69File Type CodesPSTYPECODEDEFN
72Dignostic Plug InsTO_Find
73Analytic ModelsTO_Find
79ServicePSSERVICE
80Service OperationPSOPERATION
81Service Operation HandlerPSOPRHDLR
82Service Operation VersionPSOPRVERDFN
83Service Operation RoutingSIBRTNGDEFN
84IB QueuesSIBQUEUEINST
85XLMP Template Definition
86XLMP Report Definition
87XMLP File Definition
88XMPL Data Source Definition

Sunday, August 12, 2007

How to Clone PeopleSoft Production database


Overview

This document describes the steps required to create a clone of the PeopleSoft production database. This is the most common task of a PeopleSoft Administrator / in any PeopleSoft upgrade project.

Here are some of the steps that need to be consider when creating a Development or Test environment from a production database on PeopleTools 8.4X.


Steps

1. Create a backup of the production database. (This is your source database)

2. Stop the Target Application Environment. (If application environment is running)

  1. Application Servers
  2. Process Schedulers
  3. Web Servers

3. Overlay the target database with a recent backup of the production database.

4. Start the database

5. Set DBNAME in PSDBOWNER back to the target database name.

UPDATE PSDBOWNER SET DBOWNER = 'Database Name';


6. Set GUID to ' ' in PSOPTIONS table.

UPDATE PSOPTIONS SET GUID = ' ';

This will cause PeopleSoft to generate a new GUID so that change assistant can track it separately from the source database.

7. Delete the data from

  • Reporting tables
  • Process scheduler tables
  • Application messaging tables

This data isn't relevant in the target database.
Below DMS scripts are provided by PeopleSoft. Use these scripts to clean the above tables.
prcsclr.dms (Process Scheduler Tables)
rptclr.dms (Reporting Tables)
appmsgpurgeall.dms (Application Messaging Tables)

8. Reset email address to blank or predefined value.


Since you are creating a clone of the production database you will have actual email address of all the employees. Email address is a very critical data. Reset everyone's e-mail address to a pre-defined value so that workflow messages from the Test environment don't get sent to real users.

Some of the common tables of PeopleSoft ERP are as follows

PSOPRDEFN
PS_ROLEXLATOPR
PSUSEREMAIL


You need to take care of Application specific tables. You can find out these tables by using below script.


SELECT RECNAME
FROM PSRECFIELD B
WHERE EXISTS (SELECT 'X' FROM PSRECDEFN A WHERE RECTYPE = 0 AND A.RECNAME = B.RECNAME)
AND B.FIELDNAME = 'EMAILID'


8. Change application password (VP1)

Logon to PeopleSoft data mover script and execute the below scripts if you want to chage the application password.

UPDATE PSOPRDEFN SET OPERPSWD = 'PASSWORD', ENCRYPTED = 0 WHERE OPRID = VP1;
ENCRYPT_PASSWORD VP1;

Thursday, August 2, 2007