Search This Blog

Friday, March 11, 2011

Password Reset: An easy method

This is a tip when there happens a requirement to have a mass password update. Consider the client want to update the password of the employee with a combination of birth year and first name. How to send the combination to database. Password cannot be changed using a simple update. There is hashing happening in between which will encrypt the password.

Now the USER_PROFILE CI comes into picture. It has some extra delivered methods if you notice. Use the set password method at this point.

Function SetPassword(&password As string, &passwordConfirm As string) Returns boolean;
rem get password controls set up in PSSECOPTIONS;
SQLExec("SELECT MINPSWDLENGTH FROM PSSECOPTIONS", &MIN);
PSOPRDEFN.OPERPSWD = &password;
PSUSRPRFL_WRK.OPERPSWDCONF = &passwordConfirm;
Return True;
End-Function;

Pass the password as a string to this method and you can easily change the password using a batch process say using application engine.

There is a method for resetting the password too. Check it out!

Thursday, March 10, 2011

Process execution time

You can use the query to know the exact time taken by the process to complete its run. Handy one!

SELECT PRCSINSTANCE
, PRCSNAME
, OPRID
, RUNCNTLID
, SERVERNAMERUN
, RQSTDTTM
, RUNDTTM
, BEGINDTTM
, ENDDTTM
, floor(TO_CHAR((enddttm-begindttm)*24*60)) AS MINUTES
, lpad(FLOOR(((TO_CHAR((enddttm-begindttm)*24*60))-floor(TO_CHAR((enddttm-begindttm)*24*60)))*60),2,0) AS SECONDS
, decode (FLOOR(TO_CHAR((enddttm-begindttm)*24*60))||':'||lpad(FLOOR(((TO_CHAR((enddttm-begindttm)*24*60))-floor(TO_CHAR((enddttm-begindttm)*24*60)))*60),2,0)
, ':'
,' '
,FLOOR(TO_CHAR((enddttm-begindttm)*24*60))||':'||lpad(FLOOR(((TO_CHAR((enddttm-begindttm)*24*60))-floor(TO_CHAR((enddttm-begindttm)*24*60)))*60),2,0)) AS MINSEC
,RUNSTATUSDESCR
FROM PS_PMN_PRCSLIST
ORDER BY RUNDTTM DESC


Contributed by Arshad Ali

Friday, March 4, 2011

Whats new on XML Publisher in PT 8.50/8.51?

- Rowset and XML doc data source are deprecated
- Connected query as a new data source
- XML generated in C++ for query data source
- Schema files no longer required for bursting
- Email as an output option
- "File name" field on the output page in report definition
- Use "Alt XML" for previewing the templates
- Full path mapping for use of repeating fields
- New "Properties tab" to control report attributes for specific PS implementation
- Enforce unique burst value feature for bursting
- Global properties page to define global properties
- App engine PSXPCLEAN to clean XMLP metadata

Excerpts from the HEUG seminar taken by ERP Analysts on XML Publisher.

Thursday, March 3, 2011

Auditing Security During Implementation

While having a quick search for an information on a security table, I stumbled upon this awsesome guide by Denise Goin.

Wednesday, March 2, 2011

HCM - CS split bundle Docs

PeopleSoft Enterprise Campus Solutions 9.0 Feature Pack 4

Functional documentation for Feature Pack 4, delivered October 2010, is posted here. The documentation provides information about Campus Solutions to Human Capital Management integration. The following documents are part of this release:
* CS to HCM Integration Documentation Package
* CS - HCM Integration FAQ
* Implementing Integration of Set Up Data between CS and HCM
* Implementing Person Bio-Demo Data Integration between CS and HCM
* Implementing External Search/Match between CS and HCM
* Implementing CS Integration with the Higher Education Constituent Hub
* Implementing Portal Navigation Aggregation for CS and HCM Integration

Login to Oracle Support to access: CS Bundle #19 Functional Documentation for Campus Solutions 9.0 & Feature Pack 4