Tuesday 6 December 2016

Using XML with BI Publisher

Here's a quick guide for this deadly combo:
XML, BI Publisher, and Application Engine.


We start by importing the delivered Application Package.

import PSXP_RPTDEFNMANAGER:*;

The following function is optional if

Thursday 3 November 2016

Using Java's SLEEP in Application Engine

Let's say you scheduled several nVision instances using your AE and you want to send an email right after everything ran to Success.

How do you force your AE to wait?

You can use this piece of code.

Sunday 23 October 2016

Scheduling nVision through AE

For obvious reasons, I cannot possible document the entire AE in this blogpost so I'll just give a quick rundown.

nVision is scheduled through a series of setup pages under this navigation
Main Menu > Reporting Tools > PS/nVision

Behind the curtains, PeopleSoft is inserting data to the following tables

  • PSNVSBOOK
  • NVS_SCOPE
  • NVS_SCOPE_FIELD
  • NVS_SCOPE_VALUE
  • NVS_REPORT
  • PTNVSQRYPROMPTS
  • PSNVSBOOKREQUST

Which means, in order to successfully schedule an nVision instance, you just need to

Sunday 9 October 2016

Add "Download All" Button to Report Manager

I have always wondered why PeopleSoft never included a "Download All" button in all their releases for Report Manager.

Of course, messing with delivered objects is generally frowned upon.
But if you really wanted to implement one, here's a sample.

Wednesday 5 October 2016

Excel Macro for SaveAs Filename

Haven't posted much about Excel but this one has been the most common request from business users.

This is a macro to override the "Save As" filename.

Wednesday 2 March 2016

REGEXP_LIKE To Find Unwanted Characters

This SQL will search for filenames that contain characters other than

  1. a-z
  2. A-Z
  3. 0-9
  4. underscore
  5. parenthesis
  6. dash
  7. period
  8. square brackets

Friday 5 February 2016

Find Temp Tables used by Application Engine

I've been running into situations where our application engines are not clearing the temp tables even after process instance has been deleted.

Also, multiple occurrences of the process halting for no reason.

Oracle's workaround is to clear the temp tables and restart the process.

But which temp tables do you clear?

Try this script.

Monday 18 January 2016

Easy Import of Config File

I want to import PeopleSoft configuration files without going through the UI.

Let's use a .bat file.

Friday 15 January 2016

Remove Dead Worklist Entries

I want to remove worklist entries which have dead links.

But they only gave me a screenshot of the worklist page.

  1. Get OPRID of recipient
  2. Get OPRID of sender. If you look at the screenshot, it's the guy under FROM column.
  3. Get EOAWTHREAD_ID. If worklist is delivered, look at the 2nd value of the Link column.
  4. Execute SQL below.