Monthly Archives: December 2012

PeopleCode MessageBox to display messages

PeopleCode’s MessageBox can be used to display messages on the screen or in a log. It can be used for issuing warnings, indicating lack of information, or to see the value of certain variables while developing. If the code is running on a page, record or component, the message will be displayed on screen, but using it within a process such as an Application Engine, the message will be written in the log file.

Syntax

MessageBox(style, title, catalog_message, number_message_catalog, default_text [,parameters] )

/*We indicate a catalog number and message number which does not exist to display the default message*/

MessageBox(0,””,99999,99999,”Test”);

/* If the message and catalog exist,the description defines for this message is shown*/
/* If the message doesn´t exist, the default message is displayed*/
MessageBox(0,””,30000,1,”Message could not be found”);

/* To display the value of a variable we can use the following statement*/
MessageBox(0,””,99999,99999,”variable1″ | &var1);

 

Checking for changed objects in PeopleSoft by LASTUPDOPRID

If you want to check for objects changed in your PeopleSoft database via sql you can run the statements below to find those objects. This can be quicker than doing a full database compare using Application Designer.

select ACEMODELID,DESCR,lastupddttm,lastupdoprid From PSACEMDLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT';
select ACTIVITYNAME,' ',lastupddttm,lastupdoprid From PSACTIVITYDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select AE_APPLID,DESCR,lastupddttm,lastupdoprid From PSAEAPPLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select AE_APPLID,' ',lastupddttm,lastupdoprid From PSAESECTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select AE_SECTION,' ',lastupddttm,lastupdoprid From PSAESECTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PSARCH_OBJECT,DESCR,lastupddttm,lastupdoprid From PSARCHOBJDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select BCNAME,DESCR,lastupddttm,lastupdoprid From PSBCDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select BUSPROCNAME,' ',lastupddttm,lastupdoprid From PSBUSPROCDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CERTALIAS,' ',lastupddttm,lastupdoprid From PSCERTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CERTTYPE,' ',lastupddttm,lastupdoprid From PSCERTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CHNLNAME,DESCR,lastupddttm,lastupdoprid From PSCHNLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CLASSID,' ',lastupddttm,lastupdoprid From PSCLASSDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select COLORNAME,' ',lastupddttm,lastupdoprid From PSCOLORDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSCOLORDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CONQRSNAME,DESCR,lastupddttm,lastupdoprid From PSCONQRSDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,DESCR,lastupddttm,lastupdoprid From PSCONQRSDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select ALTCONTNUM,DESCR,lastupddttm,lastupdoprid From PSCONTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CONTNAME,DESCR,lastupddttm,lastupdoprid From PSCONTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select CONTTYPE,DESCR,lastupddttm,lastupdoprid From PSCONTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select FILEID,' ',lastupddttm,lastupdoprid From PSFILEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select FILEREFNAME,' ',lastupddttm,lastupdoprid From PSFILEREDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select FILEREFTYPECODE,' ',lastupddttm,lastupdoprid From PSFILEREDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select FLDDEFNNAME,DESCR,lastupddttm,lastupdoprid From PSFLDDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select FORMATFAMILY,DESCR,lastupddttm,lastupdoprid From PSFMTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select HOLIDAYNAME,' ',lastupddttm,lastupdoprid From PSHOLIDAYDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select EFFDT,DESCR,lastupddttm,lastupdoprid From PSIBRTNGDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select ROUTINGDEFNNAME,DESCR,lastupddttm,lastupdoprid From PSIBRTNGDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select IMPNAME,' ',lastupddttm,lastupdoprid From PSIMPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select IONAME,IODESCR,lastupddttm,lastupdoprid From PSIODEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSJPUPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTJPLT_APPNAME,' ',lastupddttm,lastupdoprid From PSJPUPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTJPLT_NAME,' ',lastupddttm,lastupdoprid From PSJPUPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select MENUNAME,DESCR,lastupddttm,lastupdoprid From PSMENUDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select MOBILEPAGENAME,DESCR,lastupddttm,lastupdoprid From PSMPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select MSGNAME,DESCR,lastupddttm,lastupdoprid From PSMSGDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select MSGNODENAME,DESCR,lastupddttm,lastupdoprid From PSMSGNODEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSOPRDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PACKAGEID,DESCR,lastupddttm,lastupdoprid From PSPACKAGEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PACKAGEROOT,DESCR,lastupddttm,lastupdoprid From PSPACKAGEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select QUALIFYPATH,DESCR,lastupddttm,lastupdoprid From PSPACKAGEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PM_SYSTEMID,' ',lastupddttm,lastupdoprid From PSPMSYSDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PNLNAME,DESCR,lastupddttm,lastupdoprid From PSPNLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select MARKET,DESCR,lastupddttm,lastupdoprid From PSPNLGRPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PNLGRPNAME,DESCR,lastupddttm,lastupdoprid From PSPNLGRPDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_NAME,' ',lastupddttm,lastupdoprid From PSPRDMDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PROJECTNAME,PROJECTDESCR,lastupddttm,lastupdoprid From PSPROJECTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_NAME,' ',lastupddttm,lastupdoprid From PSPRSMDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_OBJNAME,' ',lastupddttm,lastupdoprid From PSPRSMDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_REFTYPE,' ',lastupddttm,lastupdoprid From PSPRSMDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSPRUFDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_LABEL,' ',lastupddttm,lastupdoprid From PSPRUFDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_NAME,' ',lastupddttm,lastupdoprid From PSPRUFDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_REFTYPE,' ',lastupddttm,lastupdoprid From PSPRUFDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSPRUHDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PORTAL_NAME,' ',lastupddttm,lastupdoprid From PSPRUHDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,DESCR,lastupddttm,lastupdoprid From PSQRYDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select QRYNAME,DESCR,lastupddttm,lastupdoprid From PSQRYDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select QUEUENAME,DESCR,lastupddttm,lastupdoprid From PSQUEUEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select RECNAME,RECDESCR,lastupddttm,lastupdoprid From PSRECDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select ROLENAME,DESCR,lastupddttm,lastupdoprid From PSROLEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select SQLID,' ',lastupddttm,lastupdoprid From PSSQLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select SQLTYPE,' ',lastupddttm,lastupdoprid From PSSQLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select STYLENAME,' ',lastupddttm,lastupdoprid From PSSTYLEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select STYLESHEETNAME,DESCR,lastupddttm,lastupdoprid From PSSTYLSHEETDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select MSGNAME,' ',lastupddttm,lastupdoprid From PSSUBDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select SUBNAME,' ',lastupddttm,lastupdoprid From PSSUBDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSTOOLBARDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select EFFDT,DESCR,lastupddttm,lastupdoprid From PSTREEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select SETCNTRLVALUE,DESCR,lastupddttm,lastupdoprid From PSTREEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select SETID,DESCR,lastupddttm,lastupdoprid From PSTREEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select TREE_NAME,DESCR,lastupddttm,lastupdoprid From PSTREEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select FILEREFTYPECODE,' ',lastupddttm,lastupdoprid From PSTYPECODEDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select URL_ID,DESCR,lastupddttm,lastupdoprid From PSURLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPTN_CATEGORY_LVL,DESCR,lastupddttm,lastupdoprid From PSUSEROPTNDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select USEROPTN,DESCR,lastupddttm,lastupdoprid From PSUSEROPTNDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select OPRID,' ',lastupddttm,lastupdoprid From PSWSRPCPHDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTWSRPPORTLETNAME,' ',lastupddttm,lastupdoprid From PSWSRPCPHDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTWSRPPRODUCERNAME,' ',lastupddttm,lastupdoprid From PSWSRPCPHDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTWSRPPORTLETNAME,PTWSRP_PLTDESCR,lastupddttm,lastupdoprid From PSWSRPPLTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTWSRPPRODUCERNAME,PTWSRP_PLTDESCR,lastupddttm,lastupdoprid From PSWSRPPLTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select PTWSRPPRODUCERNAME,' ',lastupddttm,lastupdoprid From PSWSRPPRDDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select REPORT_DEFN_ID,DESCR,lastupddttm,lastupdoprid From PSXPRPTDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;
select TMPLDEFN_ID,DESCR,lastupddttm,lastupdoprid From PSXPTMPLDEFN where lastupddttm > to_date('01012000','ddmmyyyy') and lastupdoprid <> 'PPLSOFT' ;