7/31/2019 Final Presentation11
1/31
Final Project
PeopleSoft Application Development
Advisor: Prof. Khaled Elleithy
Submitted By: Madhan Maram
Student ID: 514512
7/31/2019 Final Presentation11
2/31
What is ERP?
ERP attempts to integrate all departments and functions across a company onto
a single computer system that can serve all those different departments'
particular needs.
That is a tall order, building a single software program that serves the needs of
people in finance as well as it does the people in human resources and in the
warehouse. Each of those departments typically has its own computer system
optimized for the particular ways that the department does its work. But ERP
combines them all together into a single, integrated software program that runs
off a single database so that the various departments can more easily share
information and communicate with each other.
7/31/2019 Final Presentation11
3/31
Architecture Diagram
7/31/2019 Final Presentation11
4/31
PeopleTools - Some areas of focus
PeopleSoft Internet Architecture
Application Designer
Application Engine
Component/component Interface
File/File Layout
PeopleCode
Security Manger
Integration Broker
Portals
Reporting
Data Archiving
7/31/2019 Final Presentation11
5/31
Application Development
PeopleSoft Applications are made up of a navigational structure, menus,
components and pages. Using these elements new data or change, delete and
modify the existing data in the application. PeopleSoft web browsing and
working with database.
7/31/2019 Final Presentation11
6/31
Application Designer:
Every PeopleSoft Internet Architecture (PIA) application contains a collectionof related objects that work together for a specific purpose.
Developing and customizing PeopleSoft applications is a step-by-step processwhere you define and build the objects, establish relationships among objects,implement security, run your
PeopleSoft application within an Internet Browser, and test every aspectthoroughly.
You use one interactive tool, Application Designer, for the majority of theseactivities. Application Designer is an integrated development environment thatenables you to work with the numerous objects of a business application in asingle work area.
The following section introduces you to Application Designer's developmentenvironment.
7/31/2019 Final Presentation11
7/31
Application Engine:
Called App Engine is mostly used for batchprocessing, for example we have to schedulea students registration list for the wholesemester on a particular date, and we canschedule and automates the process.
Application Engine is the People Tool thatyou use to develop batch or online programsthat are effective alternatives to COBOL orSQR programs (for non-report processing).Using Application Engine, you can createprograms that perform high-volume,background processing against your data.
Application Engine is comprised of twodistinct components: the "front-end" whereyou define your batch program and the"back-end," which entails running and monitoringour program .
7/31/2019 Final Presentation11
8/31
Web Interface
Navigation
Left-hand navigation .
Updated structure
Security Enhancements
Create Row Level Security for Various Profiles
Improved Home Pages
7/31/2019 Final Presentation11
9/31
Peoplecode:
Plays the major role in the application, considering the administration at UB.
Not all users get the same access towards the application. This security is
contained in the application sample.
The PeopleSoft Internet Architecture falls into the category of PeopleSoft
online security, also known as runtime security. Only authorized users can
connect to the web and application servers, and only authorized application
servers can connect to a given database.
7/31/2019 Final Presentation11
10/31
Security:
Plays the major role in the application,
considering the administration at UB.
Not all users get the same access
towards the application. This security is
contained in the application sample.
The PeopleSoft Internet Architecture
falls into the category of PeopleSoft
online security, also known as runtime
security. Only authorized users can
connect to the web and application
servers, and only authorized application
servers can connect to a given database.
7/31/2019 Final Presentation11
11/31
Web Interface
Navigation Left-hand navigation .
Updated structure
Security Enhancements Create Row Level Security for Various Profiles
Improved Home Pages
7/31/2019 Final Presentation11
12/31
7/31/2019 Final Presentation11
13/31
7/31/2019 Final Presentation11
14/31
7/31/2019 Final Presentation11
15/31
Few of the Records created for the Application
Course Tables
Session tables
Instructor tables
Location tables
Route tables
Review tables Suggestions tables
Enrollment tables
Tasks Tables
Task Review tables
7/31/2019 Final Presentation11
16/31
7/31/2019 Final Presentation11
17/31
Developing Relationships
Relationships are built using levels
LEVELS Level 0 Course Records
Level 1 Session Record
Level 2 Instructor Record
The Records have a parent child
relation, PeopleSoft holds this relation
having at least one additional primary
key together with all in the child record.
This is explained with Multiple
Sessions for a single course available
for the semester. The level 2 record
contains all the primary keys in Level 1
Record and an extra primary key.
7/31/2019 Final Presentation11
18/31
Creating Components
For all the WebPages, there will be a
corresponding component create.
The hierarchyAll the online pages are built
in application designer and are attached to a
Component.
The Components are Attached to Menu.
The Menus are classifies as USE and SET UP
The Set up menuMostly are Configuration
tables. A one time bulk data entry
The USE tables are Transaction Tables,
These are Informative and Helps to Query out
the Information from the Database.
The Components are Added to the Menu
File NewMenuInsert Component
7/31/2019 Final Presentation11
19/31
List of Pages Created
Address Page
Bus and Bus Routes Pages
Course and Sub Pages
Curriculum and Tasks page Enrollment Pages
Equipment Pages
Expenses Pages
Location Pages
Review and Search pages Session and Student Pages
Suggestion and Suggestion Review Pages
Task Effort Pages
7/31/2019 Final Presentation11
20/31
7/31/2019 Final Presentation11
21/31
Local ApiObject &Session;
Local ApiObject &MM_CI_READ_CS;
Local ApiObject &MM_SESSIONCol;
Local ApiObject &MM_SESSIONItm;
Local ApiObject &PSMessages;
Local string &ErrorText, &ErrorType;
Local number &ErrorCount;
Local boolean &Error;
Local File &Source;
Local Record &c_rec, &s_rec;
Local Rowset &c_rs;
Function CheckErrorCodes()
&PSMessages = &Session.PSMessages; &ErrorCount = &PSMessages.Count;
For &i = 1 To &ErrorCount
&ErrorText = &PSMessages.Item(&i).Text;
&ErrorType = &PSMessages.Item(&i).Type;
End-For;
End-Function;
/* Initialize Variables */
&Error = False;
/* Get Current Session */
&Session = %Session;
&MM_CI_READ_CS = &Session.GetCompIntfc(Component.MM_CI_READ_CS);
7/31/2019 Final Presentation11
22/31
/* Set Component Interface Standard Properties */
&MM_CI_READ_CS.InteractiveMode = False;
&MM_CI_READ_CS.GetHistoryItems = True;
&Source = GetFile("C:\TEMP\cou_sess.TXT", "R", %FilePath_Absolute);
&Source.SetFileLayout(FileLayout.MM_COU_SES_FL);
&c_rec = CreateRecord(Record.MM_COURSE_TBL);
&s_rec = CreateRecord(Record.MM_SESSION);
&c_rs = CreateRowset(Record.MM_COURSE_TBL, CreateRowset(Record.MM_SESSION));
&c_rs = &Source.ReadRowset();
/*read from rowset to rec and values of fields*/
While &c_rs Null
&c_rs.GetRow(1).MM_COURSE_TBL.CopyFieldsTo(&c_rec);
&courseid = &c_rec.RV_COURSE_ID.Value;
/* Set Component Interface Get Keys */
&MM_CI_READ_CS.RV_COURSE_ID = &courseid;
/*&MM_CI_READ_CS.RV_COURSE_ID = &c_rec.rv_course_id.value;*/
&MM_CI_READ_CS.descr = &c_rec.DESCR.Value;
&MM_CI_READ_CS.start_dt = &c_rec.START_DT.Value;
&MM_CI_READ_CS.end_dt = &c_rec.END_DT.Value;
For &row = 1 To &rs.GetRow(1).GetRowset(1).ActiveRowCount
&c_rs.GetRow(1).GetRowset(1).GetRow(&row).MM_SESSION.CopyFieldsTo(&s_rec);
7/31/2019 Final Presentation11
23/31
/* Set MM_SESSION Collection Field Properties -- Parent: PS_ROOT Collection */
&MM_SESSIONCol = &MM_CI_READ_CS.MM_SESSION;
&MM_SESSIONItm = &MM_SESSIONCol.Item(&row);
&MM_SESSIONItm.sessionid = &s_rec.SESSIONID.Value;
&MM_SESSIONItm.START_DT = &s_rec.START_DT.Value;
&MM_SESSIONItm.END_DT = &s_rec.END_DT.Value;
&MM_SESSIONItm.DURATION = &s_rec.DURATION.Value;
&MM_SESSIONItm.R_DURATION_UNIT = &s_rec.R_DURATION_UNIT.Value;
&MM_SESSIONItm.MIN_STUDENTS = &s_rec.MIN_STUDENTS.Value;
&MM_SESSIONItm.MAX_STUDENTS = &s_rec.MAX_STUDENTS.Value;
&MM_SESSIONItm.LANGUAGE_OPTION = &s_rec.LANGUAGE_OPTION.Value;
&MM_SESSIONItm.STATUS = &s_rec.STATUS.Value;
&MM_SESSIONItm.LOCATION = &s_rec.LOCATION.Value;
/* &MM_SESSIONItm.START_TIME = &s_rec.START_TIME.Value;
&MM_SESSIONItm.END_TIME = &s_rec.END_TIME.Value;*/
End-For;
&c_rs = &Source.ReadRowset();
&MM_CI_READ_CS.Cancel();
End-While;
&Source.Close();
7/31/2019 Final Presentation11
24/31
File Layout
A File Layout is a definition (or mapping) ofa file to be processed. It identifies where in afile data fields are located. Once a File
Layout has been created, you can writePeopleCode programs that use the file object,which in turn use the File Layout, to eitherread data from or write data to a file.
Types of File layouts.
Fixed Positional Each field has a startingposition and a length which is their
descriptive location.
Sequence Positional (CSV) Fields areseparated and the order of appearance is theirdescriptive location.
Tagged (XML) Each field has predefined
tags (or identifiers) surrounding it.
In the Application that I have developed FileLayout is used with application engineprogram for importing data in to the systemand to send data out of the system.Replicating the arching job process at thecorporate level.
7/31/2019 Final Presentation11
25/31
Sample Input File
ADCC DATA COMMUNICATIONS 06/11/2003 11/13/2003 5M 9 15OA
AC1 CHECK 09/09/2003 10/09/2003 45D 9 5OA
C1 F4 0D 0 0 AL1 0 0
C1 G6 0D 0 0 AL1 0 0
C1 S2 10/06/200310/12/2003 4D 3 7NAL1 2 3 AIB INTEGRATION BROKER 10/16/200310/18/2003 2D 0 0 A
AD CC1 FINAL PROJECT 10/08/200210/17/2002 0D 2 6IA
AL1 TWO TIER 10/16/200310/30/2003 4D 4 7II
7/31/2019 Final Presentation11
26/31
Sample Output File
E (0N &l0O &l8D &l88F (s16.66H &a9L &k2G
REPORT GENERATION
DCC DATA COMMUNICATIONS 11-JUN-2003 13-NOV-2003 C1 CHECK 09-SEP-2003 24-FEB-2004
IB INTEGRATION BROKER 16-OCT-2003 18-OCT-2003
DCC1 FINAL PROJECT 08-OCT-2002 17-OCT-2002
L1 TWO TIER 16-OCT-2003 30-OCT-2003
The Special Characters at the top of the report defines the printer configuration.
7/31/2019 Final Presentation11
27/31
Main Menu AND Base Table Menu
7/31/2019 Final Presentation11
28/31
7/31/2019 Final Presentation11
29/31
Sample Online Pages
7/31/2019 Final Presentation11
30/31
Interface
Thanks for the interest you
showed in presentation, also
special thanks to Professor
Khaled elleithy and all CS
department for the support
throughout my course
curriculum
7/31/2019 Final Presentation11
31/31
Thanks
Design Application
Develop, Test,improve, Test
Cycle