Home
 

Site Moved

Site content has been moved to http://www.CompShack.com
and this site will no longer be updated!

The new site will provide more user interaction, visitors will
be able to submit comments, request their own blog
(example: http://www.CompShack.com/your_user_name)
to post tips and experience they would like to share
and much more!

Welcome To PeopleSoft Geeks!
Moving My Web Presence to CompShack.com PDF Print E-mail
Written by PSGeeks   
Monday, 17 December 2007 12:19

Hi all,

I will be moving my web presence from PeopleSoftGeeks.com to CompShack.com

I will no longer update this website and it will soon come down.  All the articles are currently being copied over to http://www.CompShack.com

I will try to make the switch/move as seamingless as possible for my feed and email subscribers.  The new site will provide more user interaction, visitors will be able to submit comments, request their own blog (example: http://www.CompShack.com/your_user_name) to post tips and experience they would like to share and much more!

Please don't hesitate to contact me with any questions via the contact form

Thanks and hope to see you at http://www.CompShack.com 

 

 

 
%EffDtCheck PeopleCode Built-in Function PDF Print E-mail
User Rating: / 1
PoorBest 
Written by PSGeeks   
Tuesday, 27 November 2007 23:52

Effective dated quires are used often in PeopleSoft and a great build-in function that will save you time is the %EffDtCheck. Lets take a closer look!

Syntax

%EffDtCheck(recordname [correlation_id1], correlation_id2, as_of_date)

The %EffDtCheck construct expands into an effective date subquery suitable for a Where clause.

recordname: Specify the record name to use as the record in the effective-date checking. This can be bind variable, a record object, or a record name in the form recname.
correlation_id1: (Optional) Specify the letter used inside the effective-dating subselect. If this parameter isn’t specified, recordname is used.
correlation_id2: Specify the letter already assigned to the main record in the From clause of the SQL statement.
as_of_date:
Specify the date to use in the effective date. This can be a bind variable, a variable, or a hard-coded date. The value for as_of_date is automatically wrapped in%DateIn unless as_of_date is already wrapped in %DateIn or refers to other database columns.

Read more...
 
Date Validation Using SQR PDF Print E-mail
Written by PSGeeks   
Tuesday, 04 December 2007 07:09

Here is some SQR to help you validate a date format.  You can modify the code to fit your own needs and date format you desire.

!-------------------------------------!
! Procedure: Date-Validation          !
! Descr:     Validate $entered_date.  !
!-------------------------------------!
Begin-Procedure Date-Validation
#debug show 'Entering Date-Validation'

Let $Date_Validation = 'N'
!Show '$entered_date: ' $entered_date
Let #1st_Slash_position = instr($entered_date, '/', 1)
!Show '#1st_Slash_position: ' #1st_Slash_position
Let #2nd_Slash_position = instr($entered_date, '/', #1st_Slash_position + 1)
!Show '#2nd_Slash_position: ' #2nd_Slash_position

Read more...
 
Open a File for Reading Using SQR PDF Print E-mail
Written by PSGeeks   
Monday, 03 December 2007 08:11

Here is some SQR code that will open a file for reading:

Begin-Procedure Open-File
#debug show 'Entering Open-File'

!file name and where it is located.
Let $new_file = $PATHNAME || 'your_file_name.txt'
Show '$new_file = ' $new_file
!check if the filel exists before trying to open it
Let #estatus = exists($new_file)
If #estatus = 0
Show 'Log File ' $new_file ' exists. Will be opened for reading.'
!opening file for reading
Open $new_file As 1 For-Reading Record=3000
Status=#FileStat
!couldn't open file if #FileStat is not zero
If #FileStat <> 0
Move 'N' To $file_open

Read more...
 
Limit Number of Related Articles Display in Joomla PDF Print E-mail
User Rating: / 1
PoorBest 
Written by PSGeeks   
Thursday, 29 November 2007 11:42

So I've activated the Related Items Module in Joomla and noticed that It doesn't have an option to limit the number of related items or articles to display. Well, this could be such a big problem for large websites. Imagine a page that has over 100 related articles displayed on it! It is sure going to be one heck of a long long page.

I was able to hack into the helper.php file located in modules\mod_related_items\ and modify the code to limit the number of related items display or even better, specify how many articles I would like to display.

And this is what I've done:

Read more...
 
«StartPrev12345678910NextEnd»

Page 1 of 13
Copyright © 2008 PeopleSoftGeek.com. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.