PeopleSoft Development: Overview of Application Engine and the Query Tool. Presented by: Judi Doolittle (Judi Hotsinpller) and Barbara Sandoval



Similar documents
Data Archiving - Solutions, Challenges, Considerations & 3rd Party Tools. Putting Customer First

Sound Customizing. Clemens de Vos, Epicenter

Using PeopleSoft File Layout (Third Party Administrator File Generation)

From Mass s to Personalized Award Letters: Using 3C Engine and CommGen to Correspond with Students. Session #30245 March 18, 2012

IBM WebSphere Adapter for PeopleSoft Enterprise Quick Start Tutorials

PeopleSoft Compare Process

PeopleTools 8.51 PeopleBook: Data Management

Oracle s PeopleSoft 9.0 Recruiting and Admissions: Managing PeopleSoft Admission Transactions

By the end of this chapter, you will be able to: Describe the asset depreciation close flow process.

Troubleshooting problems with the PDMWorks Enterprise database server

PeopleTools I & II v8.53. Training Guide

!"#"$%&'(()!!!"#$%&'())*"&+%

PART 1. PeopleSoft Basics

Transfer Student Monitoring Batch Process. Set Up

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff

<Insert Picture Here> PeopleTools Security, What's New in PeopleTools 8.50

Oracle Database: Program with PL/SQL

A SECURITY MODEL THAT WORKS FOR YOU!

INTRODUCING ORACLE APPLICATION EXPRESS. Keywords: database, Oracle, web application, forms, reports

Duration Vendor Audience 5 Days Oracle Developers, Technical Consultants, Database Administrators and System Analysts

Excel To Component Interface Utility

PeopleTools 8.53: Data Management

How To Back Up Your Pplsk Data On A Pc Or Mac Or Mac With A Backup Utility (For A Premium) On A Computer Or Mac (For Free) On Your Pc Or Ipad Or Mac On A Mac Or Pc Or

McAfee Network Threat Response (NTR) 4.0

Installation and Administration Guide

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS)

Using a Data Warehouse to Audit a Transactional System

Oracle Open World How Can Oracle Business Intelligence Publisher Serve Your Reporting Needs? Presented by: Todd Kummer SpearMC Consulting

DiskPulse DISK CHANGE MONITOR

PeopleTools 8.51 PeopleBook: PeopleSoft Application Designer Lifecycle Management Guide

Oracle Database: Program with PL/SQL

4.0 Reporting Tools. 4.1 SQR Reports

User Guide. Trade Finance Global. Reports Centre. October nordea.com/cm OR tradefinance Name of document 8/8 2015/V1

PeopleSoft Technology Update

North Dakota University System

ShoreTel Active Directory Import Application

PeopleTools 8.51 PeopleBook: PeopleSoft Change Impact Analyzer

Running, Viewing, and Printing Reports Table of Contents

PeopleSoft 9.2: Events and Notifications Framework

Oracle Database: Develop PL/SQL Program Units

Data Integrator. Pervasive Software, Inc B Riata Trace Parkway Austin, Texas USA

Admin Reference Guide. PinPoint Document Management System

Role Based Access Control. Using PHP Sessions

Advanced BIAR Participant Guide

Query. Training and Participation Guide Financials 9.2

Operating System Installation Guide

Oracle Database: Program with PL/SQL

Oracle's PeopleTools PeopleBook. PeopleTools 8.52: Performance Monitor

PeopleTools Tables: The Application Repository in the Database

Human Resources (HR) Query Basics

SQL Server Automated Administration

Runbook Activity Reference for System Center 2012 R2 Orchestrator

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

Getting Started with STATISTICA Enterprise Programming

Microsoft' Excel & Access Integration

Utilizing SFTP within SSIS

Tips and Tricks SAGE ACCPAC INTELLIGENCE

Enterprise PeopleTools 8.50 PeopleBook: PeopleSoft Performance Monitor

PeopleSoft HR 9.1 PeopleBook: Administer Compensation

PaperClip Audit System Installation Guide

SBOP Repository Explorer. Installation and Configuration Guide v (2014)

Download and Installation of MS SQL Server

HP Operations Manager Software for Windows Integration Guide

UltraLog HSPI User s Guide

Course -Oracle 10g SQL (Exam Code IZ0-047) Session number Module Topics 1 Retrieving Data Using the SQL SELECT Statement

PERFORMANCE TUNING FOR PEOPLESOFT APPLICATIONS

PeopleTools 8.12 PeopleSoft Query PeopleBook

StreamServe Persuasion SP5 Document Broker Plus

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

How To Use Peoplesoft (Peoplesoft)

Documentum Content Distribution Services TM Administration Guide

eprocurement Procedures

Oracle Database: Program with PL/SQL

Oracle 11g PL/SQL training

Setting Up ALERE with Client/Server Data

Plesk for Windows Copyright Notice

ORACLE 9I / 10G / 11G / PL/SQL COURSE CONTENT

Uploads from client PC's to mercury are not enabled for security reasons.

Business On Line File Gateway Guide for Customers

IBM TRIRIGA Application Platform Version 3 Release 4.0. Application Building for the IBM TRIRIGA Application Platform 3: Data Management

G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P.

How To Use The Correlog With The Cpl Powerpoint Powerpoint Cpl.Org Powerpoint.Org (Powerpoint) Powerpoint (Powerplst) And Powerpoint 2 (Powerstation) (Powerpoints) (Operations

Sage CRM Connector Tool White Paper

Oracle 10g PL/SQL Training

Declaration of Conformity 21 CFR Part 11 SIMATIC WinCC flexible 2007

Contents. Overview...2. License manager Installation...2. Configure License Manager...3. Client Installation...8. FastLook Features...

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

Oracle Database: SQL and PL/SQL Fundamentals NEW

StarterPak: HubSpot and Dynamics CRM Lead and Contact Synchronization

When you publish data to a SharePoint site, you first

Database Management. Technology Briefing. Modern organizations are said to be drowning in data but starving for information p.

SQL DATABASE PROGRAMMING (PL/SQL AND T-SQL)

Auditing manual. Archive Manager. Publication Date: November, 2015

DATABASE DESIGN AND IMPLEMENTATION II SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO. Sault College

C-more Remote Access, Data Log, FTP File Transfer, and Tutorial

Monitoring PostgreSQL database with Verax NMS

Configuring FTP Availability Monitoring With Sentry-go Quick & Plus! monitors

Trouble Ticket Express

Transcription:

PeopleSoft Development: Overview of Application Engine and the Query Tool Presented by: Judi Doolittle (Judi Hotsinpller) and Barbara Sandoval

Agenda Introductions Logistics Application Engine (Morning Session) History Program Structure Properties Action Types Break 10 mins MetaSQL and MetaVariables Running an AE Program Printing Options Break 10 mins Sample Review of Take Home Exercise

Agenda Continued Query Tool

Introductions Instructor Introductions Student Introductions

Logistics Class Format Restroom Location Breaks

Application Engine History Released with Version 8.0 Developed by PeopleSoft Coder Prior Tool COBOL Used for Batch Processing Application Engine Vs. SQR Future Fusion XML

Application Engine Program Structure Application Designer

Application Engine Program Structure Structure Section Steps Actions

Application Engine Properties General Tab Track changes Document State Tab State Record Attributes Temp Tables Tab Define Set Assign For Batch Processing Build/Rebuild Meta SQL Advanced Tab

General Tab

State Tab

Temp Tables Tab

Advanced Tab

Action Types Do When Do While Do Select PeopleCode SQL Call Section Log Message Do Until XSLT Only shows if it is specified as a Transformation Program

Do When It is comparable to an IF statement in other Languages When true returns one or more rows and continue with actions When false exits step

Sample

Do While Executing step while SQL is true To prevent an endless loop: Requires code in another action The data must change to make the SQL false Example Process sample to count SELECT X FROM PS_TEST_REC WHERE count < = %bind(totemp); Other actions Action that triggers the false UPDATE PS_TEST_REC SET count = count + 1;

Do While Example

Do Select Loops through records one at a time Used to populate State Record Three Looping Rules Select/Fetch (Default) ReSelect ReStartable Example of Populating State Record %SELECT(year) SELECT year FROM PS_RUN_CONTROL

Do Select Example

PeopleCode Reasons why PeopleCode Used: Manipulate and Manipulation Functions Application Packages Component Interface Reuse Developed Code Refer to PeopleBooks for PeopleCode instruction

PeopleCode Continued Unique to Application Engine How to use State Record in PeopleCode Example PS_TEST_AET.YEAR Return Parameters Exit(1) causes set parameter to executed (Execution can be ABORT, BREAK, or SKIP STEP) Exit(0) default will continue

PeopleCode Continued

SQL SQL actions used for INSERT UPDATE DELETE Can be used with any of the Conditional Actions Or by themselves Example UPDATE PS_TEST_REC SET bonus = %bind(bonus) WHERE year = %bind(year)

SQL Continued

Call Section Allows you to Call another Section Reason is for readability

Call Section Continued Example 1

Call Section Continued Example 2

Call Section Continued Example 2 Continued

Log Message Writes Messages to the Log File Messages stored in Message Catalog Parameters can be provided as part of the Message To create a custom message use Message Set > 20000

Do Until Another Conditional Action Processes Until Condition is False Needs Another Action to make Condition False Difference between Do While and Do Until Do While pre-processes and checks condition prior to other actions Do Until post-processes and checks condition after other actions

Do Until Continued

How to Run Process Definition.Bat File

Process Definitions

Process Definitions Continued

.Bat File \\ServerName\bin\client\winx86\PSAE.exe -CD database -CO USERID CP PASSWORD R RS_TEST_RUN_CONTROL AI PS_TEST_AE Note your PSAE.exe location is unique to your enviroment Description of parameter is immediately following See PeopleBooks for a comprehensive list of Parameter values

MetaSQL and MetaVariable Quick Definition SQL Functions Reserved Words Some are Unique to Application Engine Has to be in a SQL Statement Within PeopleCode it can be used in the SQLExec statement not the most efficient Can use in CREATESQL in PeopleCode

%BIND This is only used in AE Programs Retrieve fields from State Record Example INSERT INTO PS_TEST_REC(emplid, bonus) VALUES (%bind(emplid), %bind(bonus))

%CURRENTDATEIN Returns current system date Example SELECT emplid, effdt FROM PS_JOB WHERE effdt < %CURRENTDATEIN

%DATEIN Date variable is used as an input variable Formats Date to Database Date Specifications Example SELECT emplid, effdt FROM PS_JOB WHERE effdt < %DATEIN( 2007-12-01 )

%DATEOUT When selecting a date from the Database to ensure proper format Example %SELECT(emplid, effdt) SELECT emplid, %dateout(effdt) FROM PS_JOB WHERE effdt < %CURRENTDATEIN

%OPERATORID Returns USERID of person running the Application Engine Program Helps you get the correct row from the RUNCNTL Example %SELECT(effdt, erncd, amount) SELECT %dateout(effdt), erncd, amount FROM PS_TEST_RUN_CONTROL WHERE oprid = %OPERATORID

%RUNCONTROL Returns RUNCONTROLID that is being used to run the Application Engine Program Example %SELECT(effdt, erncd, amount) SELECT %dateout(effdt), erncd, amount FROM PS_TEST_RUN_CONTROL WHERE oprid = %OPERATORID AND run_cntl_id = %RUNCONTROL

%SELECT Used with a DoSelect Stores you data in the AET record Field Names must be valid Fields on the State Record Example %SELECT(emplid, name) SELECT emplid, name FROM PS_TEST_REC

%SELECTALL %SELECTALL will select all the fields from the record If the field is a date it automatically uses the %DATEOUT Example Local Record &testrec; &testrec = CreateRecord(PS_TEST_REC) CreateSQL( %SELECTALL(:1), &testrec);

Printing PeopleTools Delivers an Option to Print your AE Program Print in Flow Layout or Print in Definition Mode

Print Options

Sample Report

Advanced Topics Using Email Input and Output Files

Using Email Application Engine programs can send Emails Used to notify when processes complete Or fail Also to send Notifications to Employees Send Mail Function Used within PeopleCode Example SENDMAIL(0, &EMAIL,,, &SUBJECT, &TEXT); For more Options refer to PeopleBooks

Input and Output Files For interfacing with other Applications Excel, Access, and Text Files Process Declare a Global Variable Path and Filename need to be Explicitly Defined

Delivered Functions GetFile This will open a file for read, write or update Example GetFile(&path &filename, W, %FilePath_Absolute) FileName.Open This will check to see if the file is open Example If &InFile.Open Then

Delivered Functions Continued Filename.Writeline This will write to the file. Example &Outfile.WriteLine(&string); Filename.Readline This will read from the file. Example While &Infile.Readline. End-While

Sample Program Walk through Handout

Discussion Time Questions and Answers Workshop

Query Tool