Does PeopleSoft do modal?
DoModal. You can call a secondary page as a push button/hyperlink or you can use the DoModal PeopleCode function. End-If; If using the Peoplecode DoModal function, you need to add a “Secondary Page Control” on the primary (i.e. calling) page, otherwise the OK button won’t return you to the primary page.
Is PeopleCode object oriented?
PeopleCode is a proprietary object-oriented programming language used to express business logic for PeopleSoft applications. Syntactically, PeopleCode is similar to other programming languages, and can be found in both loosely-typed and strongly-typed forms.
What is SQLExec in PeopleCode?
PeopleCode provides the SQL class for accessing these SQL definitions in your PeopleCode program at runtime. The SQL class provides capability beyond that offered by SQLExec. Unlike SQLExec, which fetches just the first SELECTed row, operations for the SQL class allow iteration over all rows fetched.
Is PeopleCode case sensitive?
PeopleCode is case-insensitive, except for quoted literals.
How do you call a secondary page in PeopleCode?
When you use a secondary page control, you must also insert and configure a push button on the primary page. After you set the push button Type properties to invoke Command PeopleCode, you then call any of the DoModal* PeopleCode functions from the FieldChange event for the push button to display the secondary page.
What is PeopleCode similar to?
Dot notation, classes, and methods in PeopleCode are similar to other object-oriented languages, like Java.
Does PeopleSoft use Java?
To access a component interface through external APIs using Java, PeopleSoft Application Designer generates a template in the form of boilerplate Java code that you can adapt to your purposes.
How do you find the difference between two dates in PeopleCode?
You have to use %datein to format the date correctly….Finding Number of Days Between Two Dates
- %DateAdd(from_date, nbr_days_to_add) – You can use negative numbers in the second parameter.
- %DateDiff(from_date, to_date)
- %DateTimeDiff(from_datetime, to_datetime) – Gives the difference between two date/times in minutes.
How do I use PeopleCode in SQL?
In AppDesigner create a new SQL object and drop the SQL in. In Peoplebooks read up on the SQL class. Instantiate a SQL object, bind in you relevant person Id variable and the SQL should auto-execute. Create an SQL definition with the SQL text and in PeopleCode do something like this.
What is subpage in Peoplesoft?
Sub page is generally used for reuse; i.e. you have the same 4 fields. appearing the same way on several different pages. Then you’d use a. subpage with those fields and include the subpage in all those pages. Secondary page is used mostly as a pop-up type page to show additional.
What is a secondary page?
Secondary pages are optional for site sections, and they are typically used to dynamically present content on a Web site. A secondary page can have static content, but what makes secondary pages useful is their ability to have dynamically placed and replaceable content.
How do you run a SQL object in PeopleCode?
What aspects of PeopleCode are related to PeopleTools?
Some aspects of the PeopleCode language, however, are specifically related to the PeopleTools environment. Definition name references, for example, enable you to refer to PeopleTools definitions, such as record definitions or pages, without using hard-coded string literals.
What is the use of equal sign in PeopleCode?
In PeopleCode, the equal sign can function as either an assignment operator or a comparison operator, depending on context. PeopleCode language constructs include: Branching structures: If and Evaluate. Loops and conditional loops: For, Repeat, and While. Break, Continue, and Exit statements loop control and terminating programs.
What is a simple PeopleCode expression?
A simple PeopleCode expression can consist of a constant, a temporary variable, a system variable, a record field reference, or a function call. Simple expressions can be modified by unary operators (such as a negative sign or logical NOT), or combined into compound expressions using binary operators (such a plus sign or logical AND).
What does the validate warning mean in the PeopleCode editor?
Anytime you compile the PeopleCode in the PeopleCode Editor, a warning message appears in the Validate tab, indicating that a user-defined function has the same name as an existing built-in function.