Title of Presentation

PROGRAMMING WORKCENTERS
SESSION 35537
Mon Mar 7, 2016 8:30 AM
PRESENTERS
Matthew Engel
Neeru Ailawadi
Senior Programmer Analyst,
University Information Systems
Assistant Director,
University Information Systems
Stony Brook University
Stony Brook University
[email protected]
[email protected]
www.linkedin.com/in/mjengel
www.linkedin.com/in/neeruailawadi
20+ Years Computer Programming
Experience
17 Years Computer Programming
Experience
PeopleSoft Developer for 5 years
Taleo Technical Project Manager
Oracle Database 18 years
Integration Specialist
Finance and Budget
STONY BROOK UNIVERSITY
Founded in 1957, One
Of The State University
Of New York’s Four
University Centers.
There Are A Total Of
64 Campuses In The
SUNY System.
ABOUT STONY BROOK UNIVERSITY
We Are Part Of The AAU (Association of American Universities)
Ranked One Of The 30 Best Values In Public Colleges And Universities
By Kiplinger
Ranked In The Top One Percent Of The World’s Higher Education
Institutions By The Times Higher Education World University Rankings
One Of Only Ten Universities Nationwide Recognized By The National
Science Foundation For Combining Research With Undergraduate
Education
About 25,000 students.
 Over 16,000 Undergraduates
 Over 8,000 Graduate Students
Finance 9.2/PeopleTools 8.53
STONY BROOK & ORACLE
HCM 9.0/PeopleTools 8.53
CS 9.0/PeopleTools 8.53
In Production With PeopleSoft
Since 1998
OUR STORY
 Crystal Going Away With PeopleTools 8.55
 Options For Replacement
BI Publisher Only
 Programmatic PDF Generation
 Other Reporting Options (Excel?)

 Workcenter Is A User Friendly Option
WHAT WE DID
 Married Technologies For Better User Experience
 Created An Application Package For A WorkCenter
 Created A Method Which Will Run A Query/Create PDF
 Can Run The Query Directly To PDF File Or Use BI Publisher
 Parameters Can Be Passed To The Query
Programmatically
AGENDA/CONTENTS
Starting With A BI Publisher Report, Create A
Workcenter Link Which Opens A PDF.
1.
WORKCENTER APPLICATION PACKAGES
What Are They And How Can We Use Them?
2.
WORKCENTER APPLICATION CLASSES
MyWorkLink Class And The Constructor Class
3.
CUSTOM APPLICATION CLASSES
Inheriting The MyWorkLink Class
Creating A Callback Function
4.
OTHER CRYSTAL OPTIONS
WORKCENTER APPLICATION
PACKAGES
WHAT IS AN APPLICATION PACKAGE?
 A Storage Container For PeopleCode Application
Classes
 Can Contain Other Application Packages
 Accessible From Any Other PeopleCode
 Classes Should Be Grouped By Purpose Or Function
PROGRAMMING A WORKCENTER LINK
Uses Application Packages/Classes
APPLICATION PACKAGE HIERARCHY
 XX_WORKCENTER_DASHBOARD
 (FS_WORKCENTER_DASHBOARD)
 Delivered Finance Application Package
 XX_YY_WORKCENTER DASHBOARD
 (FS_AP_WORKCENTER_DASHBOARD)
 Delivered AP Dashboard Application Package
 Inherits From Finance Application Package
 CUSTOM_DASHBOARD_APP_PKG
 (SU_FSA_WORKCENTER_DASHBOARD)
 Customized Dashboard
 Inherits From Finance Application Package
XX_WORKCENTER_DASHBOARD
 Delivered Application Package
 Contains Workcenter Fundamental Classes
PROGRAMMING A WORKCENTER
 FS_WORKCENTER_DASHBOARD:MyWork:Pagelet:MyWorkLink
 Contains Basic Workcenter Functionality
 Delivered Interface Class
 Designed To Be Inherited






method OnLinkClick
method GetRowExists
method GetRowCount
method GetToolTip
method FilterXctnData
property WhereStr
ONLINKCLICK
 OnLinkClick
 Executes When The User Clicks The Link
 Used For Setup/Initialization And Display Of The Component
 PITFALL:
 The System Can Not Open A Component In A New Window From A New Window.
GETROWEXISTS
 GetRowExists
 Inherited Method Used To Indicate If Link Is Available
SELECT 'X' FROM FSPC_WRKCNT_TMP where exists (select 'x' from
ps_<recname> where <some condition>)
GETROWCOUNT
 GetRowCount
 Inherited Method The Displays A Rowcount
Next To The Link
 PITFALL:
 MUST Select ‘Show Count’ On Pagelet Setup
GETTOOLTIP
 GetToolTip
Returns A String That Is Used To Display The Tooltip
WHERESTR
 WhereStr
Used For Filtering The Record
Must Be Set With A Dummy “1=1” If No Filtering Is Needed
XX_YY_WORKCENTER_DASHBOARD
 Delivered WorkCenter Application Class
 Classes Can Be Imported To Utilize Pre-written Functionality
 Classes Can Be Used As A Template For Custom Classes
CUSTOM APPLICATION PACKAGE
 Separate Package For Each Group
i.e. A Set Of Voucher WorkCenter Pages
Are Put In ‘Voucher’ Package
 MyWorkLink Class In Each Package
Each MyWorkLink Class May Be Different
For Each Package
 Report Class Also In Each Package
Called From The Run Control Record (Callback Function)
Contains The Methods Which Runs The Report
REPORT CLASS
 Constructor
Sets %Super To Parent Class (MyWorkLink Class)
Sets LinkWhereStr
CREATING PDF OUTPUT
 Query To File
CREATING PDF OUTPUT
 BI Publisher
CREATING PDF OUTPUT
 Use JAVA Calls
iText
 PDFClown
 jPod
 PDFJet
 PDFBox

CALLBACK FUNCTIONS
 Callback Functions
Called From The Record PeopleCode
Call The Application Class For Functionality
OTHER OPTIONS: QUERIES AND VIEWS
 Both Can Be Put On The Workcenter Menu
 Queries Allow Drilldown Ability
 Make It A Drillable Query By Adding A Drilling URL Expression
 Views Allow Data Analysis Programmatically
 Processed Data Can Also Be Put Into Temp Table
 Views Allow More Programmatic Options
CONCLUDING THOUGHTS
ANY QUESTIONS?
PRESENTERS
Matthew Engel
Neeru Ailawadi
Senior Programmer Analyst,
University Information Systems
Assistant Director,
University Information Systems
Stony Brook University
Stony Brook University
[email protected]
[email protected]
www.linkedin.com/in/mjengel
www.linkedin.com/in/neeruailawadi
ALL ALLIANCE PRESENTATIONS WILL BE AVAILABLE FOR
DOWNLOAD FROM THE CONFERENCE SITE
THANK YOU!