Step 1. Plan the PDF Page Content

INT013 - Create PDF Output using PDFDocumentService

Each page will contain:

The Date Acquired will be output as a text field (STD_TEXT) with the date formatted as DD/MM/YYYY

The report date will be a text field STD_NAME with the current date in DD/MM/YYYY

Page number will be output in field REP1PAGE

Initially a simple RDMLX function will be developed, to output a single page for a fixed employee number.

A second version of the report function will be called by a form or an RDML function, passing EMPNO, DEPTMENT, SURNAME and the type of report required (STD_FLAG). This report function will produce output based on reading the Employee file (PSLMST) based on EMPNO, DEPTMENT or SURNAME.