The PeopleCode below will only display the last 4 digits of a social security number. I have placed the code in a Component PostBuild event and it works perfect.
| Title | Under | Posted on |
|---|---|---|
| MD5 - SHA checksum of a file. | PeopleSoft Technical | 02/07/2012 - 5:29am |
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
Comments
Hi there,
Can you elaborate this peoplecode with the example. I did not under stand this peoplecode.
Lets say you have a field on a page (SOCIAL_SECURITY_NUMBER) that displays a social security number. The field is on record DERIVED_HR.
The above code looks at DERIVED_HR.SOCIAL_SECURITY_NUMBER (your field on the page), and then replaces the 1st 7 character with “XXX-XX-” (Replace(DERIVED_HR.SOCIAL_SECURITY_NUMBER, 1, 7, “XXX-XX-”)
Can you show the whole function please?
Thanks
Post new comment