Application Engines. PSAEAPPLDEFN: Table that stores Application Engine program definitions. PSAEAPPLSTATE: Stores application engine STATE records and a flag to indicate if the record is the default STATE record. PSAESECTDEFN: Application engine section information and also stores last user id to update a specific section.

  1. State Record In Application Engine Peoplesoft Access
  2. Peoplesoft App Engine
  3. Oracle Peoplesoft Applications
  4. State Record In Application Engine Peoplesoft Login

PeopleSoft Application Engine comprises two distinct components—a designer where you define your batch program and the runtime environment where you run and monitor your program.

In PeopleSoft Application Engine, a program is a set of SQL statements, PeopleCode, and program control actions that enable looping and conditional logic. A program is defined in PeopleSoft Application Designer and performs a business process. You can use PeopleSoft Application Engine for straight, row-by-row processing, but the most efficient Application Engine programs are written to perform set-based processing.

A state record is a PeopleSoft record that must be created and maintained by the Application Engine developer. This record defines the fields a program uses to pass values from one action to another. Think of the fields of the Application Engine state record as the working storage for your Application Engine. If I have to provide a training on Application Engine to my co-workers who have never developed any Application Engine in Peoplesoft, I would use this blog. Here I am going to describe how to develop a simple Application Engine program covering Sections, Steps, Actions, State records, Meta-SQLs, etc. In their simple forms using a simple example. A Application Engine state record must have a process instance defined as the first field and the only key field, and the state record name must end with AET. If I have to provide a training on Application Engine to my co-workers who have never developed any Application Engine in Peoplesoft, I would use this blog. Here I am going to describe how to develop a simple Application Engine program covering Sections, Steps, Actions, State records, Meta-SQLs, etc. In their simple forms using a simple example.

PeopleSoft Application Engine does not generate SQLor PeopleCode. It executes the SQL and PeopleCode that you include in an Application Engine action as part of your program.

PeopleSoft Application Engine is designed for batch processing where you have data that must be processed without user intervention—for example, calculating salaries in payroll processing (although not printing the checks). Another example might be converting money from one currency to another.

App Engine Program Elements-

A PeopleSoft Application Engine program comprises the set of processes to execute a given task, and is made up of several key elements:

  • Sections.
  • Steps.
  • Actions.
  • State records

Sections:-

Sections comprise one or more steps and are equivalent to a COBOL paragraph or a Structured Query Report (SQR) procedure. All Application Engine programs must contain at least one section entitled MAIN.

A section is a set of ordered steps that gets executed as part of a program. You can call sections (and other programs) from steps within other sections.

A program must contain at least one section. The execution of the program always starts with the section defined as MAIN.

Steps:-

State

Steps are the smallest unit of work that can be committed within a program. Although you can use a step to execute a PeopleCode command or log a message, typically you use a step to execute a SQL statement or to call another section. The SQL or PeopleCode that a step executes are the actions within the step.

When a section gets called, its steps execute sequentially. Every program begins by executing the first step of the required section called MAIN and ends after the last step in the last section completes successfully.

Actions:-

There are multiple types of actions that you can specify to include within a step. It is common to have multiple actions associated with a single step.

Do Actions

Do actions contain a SQL Select statement designed to return results on which subsequent actions depend. For instance, if a Select statement returns no rows, subsequent actions may not need to execute. A Do action is equivalent to a COBOL Perform statementand has similar constructs.

The four types of Do actions are:

  • Do While
  • Do When
  • Do Select
  • Do Until

SQL

Most SQL actions contain a single SQL statement. These actions can perform the following types of SQL statements:

  • Update
  • Delete
  • Insert
  • Select

    The SQL action differs from the Do actions, which also contain SQL, in that the SQL action does not control the flow of the program.

PeopleCode

You can include PeopleCode in the PeopleCode action. PeopleSoft Application Engine PeopleCode provides an excellent way to build dynamic SQL, perform simple if/else edits, set defaults, and other operations that don’t require a trip to the database. It also enables you to reference and change active Application Engine state records.

Log Message

You use a Log Message action to write a message to the message log based on a condition in your program. This gives your program multilanguage capability. The system stores the message generically as a message set, message number, and parameter values. When a user views the messages using the Application Engine Message Log page, the system retrieves the appropriate message string from the message catalog based on the user’s language preference.

Call Section

Engine

You can also insert an action that calls another section. The called section can be in the same program as the calling section, or it can be in an external program. This enables you to chunk your program into more maintainable, reusable pieces. If a section already exists in one program, rather than copying it into another program, just call it.

Introducing Application Engine Designer

  • Describing Student Workstation Resources
  • Using Application Engine Designer
  • Describing Application Engine Program Structure
  • Building Application Engine Programs
  • Adding Markets and Filters to Application Engine Program Sections
  • Setting Application Engine Program Properties
  • Testing Application Engine Programs

Using State Records

  • Describing the Function of State Records
  • Executing an Application Engine Program Using the Developer’s Shortcut
  • Modifying Application Engine Programs to use State Records
  • Adding Sections and Steps to Existing Application Engine Programs
  • Using Meta-SQL in Application Engine Programs

Testing and Debugging

  • Testing Application Engine Programs
  • Using the Process Monitor
  • Using Application Engine Traces
  • Using the Application Engine Debugger
  • Testing With Application Engine Restart

Using the Do Select Action

  • Describing Do Select
  • Using Select and Fetch
  • Using Reselect
  • Using Restartable
  • Developing an Application Engine Program Using Do Select

Incorporating Conditional Processing

  • Defining Do Actions
  • Explaining Conditional Statements in SQL
  • Explaining Do Action Program Flow
  • Designing a Program Using Conditional Processing
  • Using Application Engine Libraries

Using PeopleCode with Application Engine

  • Identifying How to use PeopleCode in Application Engine Programs
  • Inserting PeopleCode into an Application Engine Program
  • Enabling Dynamic Calls

Using Set Processing

  • Describing Set Processing
  • Modifying a Program to use Set Processing

Using Temporary Tables

  • Describing Parallel Processing
  • Implementing Parallel Processing
  • Using Meta-SQL with Parallel Processing
  • Describing Run-Time Allocation

Executing Application Engine Programs

  • Executing an Application Engine Program Using a Push Button
  • Executing an Application Program with the Process Scheduler
  • Executing an Application Engine Program with a Command Script

State Record In Application Engine Peoplesoft Access

Creating Process Definitions for Application Engine

  • Identify the Process Types used with Application Engine
  • Creating Application Engine Process Definitions
  • Implementing an Application Engine Program with No User Inputs
  • Implementing an Application Engine Program With User Inputs

Peoplesoft App Engine

Measuring Application Engine Performance

Peoplesoft app engine do when
  • Describing Traces
  • Passing Trace Values to PSAE.EXE
  • Interpreting Application Engine Trace Data
  • Interpreting the PeopleTools Trace
  • Describing Advanced Trace Options

Oracle Peoplesoft Applications

Tuning Application Engine Programs

State Record In Application Engine Peoplesoft Login

  • Describing the Process of Performance Tuning
  • Identifying Application Level Tuning Opportunities
  • Explaining the Performance Impact of PeopleCode
  • Describing How Do Flow Control Affects Program Performance
  • Explaining Database-Level Tuning Considerations