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.
It is always a good idea to check for a file if exists before trying to delete it. So the code below will check for that and then will attempt to delete the file if found. The delete is performed using the build-in peoplecode function DeleteAttachment.
The code below also checks for the returned code by the function to verify whether the file has been deleted or not.
&retcode = DeleteAttachment(URL.BKFTP, ATTACHSYSFILENAME);
If (&retcode = %Attachment_Success) Then
MessageBox(0, “File Attachment Status”, 0, 0, “DeleteAttachment succeeded”);
To hide a group box and all the fields placed in it on a PeopleSoft page use the code below in a page “Activate” event.
The grid looks like this:
What I would like to accomplish is every time the user adds a new email address i would want to check for the following:
1. Check for blank email type
2. Edit to check for '@' character
3. Check if email address is blank
4. Check for duplicate email type in the same grid
I came across a PeopleSoft posting written by Rob's PeopleSoft Blog and could not help but to post it on my blog. It is a neat trick and I'm sure will come handy in many occasions!
Every year, Oracle makes the Openworld session presentations available for public in a PDF format. Click here to take a look at what is available for you to download.
Run this SQL on a particulare process name to get it's process status form PeopleSoft process request.
I kept getting this weird PeopleSoft error when trying to drop a sub record field into a Grid or Scroll area on a page. The error was this:
Fields from subrecords are not allowed to be inserted directly into the page. Use Subpage instead.
What? You have to be kidding me! I know this could be done and I don’t need a subpage for this. I’ve seen it done and I’ve actually got it done! This is what I did.
I will be in San Francisco, CA this coming week attending Oracle Open world. I've heard lots of good things about this event from other colleges so I'm looking forward for it.
I have lots of sessions to attend, will be busy. But I will make sure to put some time aside to enjoy San Francisco!
I have been using Godaddy share hosting for a while now with no problems. But things start getting a little shaky when I decided to give Joomla and Drupal (a powerful CSM) open source software a try to replace my WordPress blog.
|Peoplesoft Web PIA installation||PeopleSoft Technical||03/15/2017 - 2:20am|
|Populate Multiple Grids on a same Page with diff output based on conditions.||PeopleSoft Technical||03/04/2017 - 1:35pm|
|Updating a row using Peoplecode - Component Interface.||PeopleSoft Technical||02/21/2017 - 11:26pm|
|To load CSV file data into staging table without using file layout||PeopleSoft Technical||01/15/2017 - 8:31am|