Hello
I am just wondering, can we use all Object Oriented Concepts (like Inheritance, Interfaces, Extends...) in PeopleCode classes/ Applicatoin Packages. Does peoplecode classes have similar functionality like protected, public and private variables. Please clarify me.
Thanks
Title | Under | Posted on |
---|---|---|
Component interface Error: no rows exist for the specified keys | PeopleSoft Technical | 03/15/2019 - 3:54am |
ADD 24 months starting from current month.(peoplesoft) | PeopleSoft Functional | 07/29/2018 - 8:44pm |
TRC values dropdown | PeopleSoft Technical | 04/04/2018 - 12:54am |
how to find missing sequence in GRID and print the mising sequence number while saving through peoplecode | PeopleSoft Technical | 09/11/2017 - 4:49am |
You bet - that is a YES to all of the above! You can create packages, classes, and extend classes using subclasses. A subclass will inherit public and protected methods and properties from the class it extends.
I'm actually preparing a quick startup guide about Application Packages and Classes in PeopleSoft. I will be posting it on the site as soon as I have few minutes to spare. I highly recommend using classes in PeopleSoft. PS developers should start thinking OOP!
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
does it mean that, still we can call Peoplecode delivered functions (like rowset functions)and delivered variables (%date) with in classes??
Correct, you can also still call functions that are stored in FUNCLIBs. You declare it the same way you used to and you call it the same way. I have used %DBNAME in one of my custom classes so yes you should be able to use things like (%date).
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
Yes. You can use all these concepts in PeopleCode Application Class. Also you can use system variables.
can we Import Java packages (java.sql) into peoplesoft classes/application packages?
I do remember that overloading is not supported.
And there are limitation on extending classes too.
Can you conficorrect me if my understanding is skewed ?
You could create objects of java classes, the same way you do in regular peoplecode out side of classes.
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
I have not found anything about overloading in PeopleBooks but again they are not the perfect place to get all your questions answered!
What limitation are we talking about when extending classes?
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
how to limit the entry of date using peoplecode
i mean for example i want the user to enter a date for 3month only
like:
Date from:01/01/2009
Date To: 31/03/2009
Compshack,
To my knowledge, P/S app packages are not fully object oriented.
Overloading is not supported.
Consider the round about way of using java classes with overloaded functions. One has to use reflectionto be able to make a method(overloaded ) call on a java object.
Good discussion.
Till now PeopleTools doesnot support Multiple Inheritenace..
and as far as vaildation concern on the above date example. you can write the code on field edit of the end date.
Thanks
Nitin
Has there been a post yet of getting started with application packages in Peoplesoft? I've got over 15 years of PeopleTools experience but have been away since PeopleTools 7.5, and now just getting back to it. I need a starter lesson on using application packages, classes, and methods, etc. Any help would be appreciated.
Welcome to the site dhorneut, I don't think there has been one yet, but there is a book I'm currently reading and the very first chapter is about Application Classes. The book is just excellent and cover most of the new aspects of peoplesoft. The book is written by Jim Marion and the name is Peoplesoft PeopleTools Tips and Techniques.
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog