Professional Documents
Culture Documents
Joyce Lush
Yale University
Fred Gerbino
Yale University
Frances Dykstra
Yale University
Table of Contents
1. ABSTRACT: ....................................................................................................................................... 1
2. EXECUTIVE SUMMARY:..................................................................................................................... 1
3. YALE’S ENVIRONMENT ..................................................................................................................... 2
Applications ..................................................................................................................................... 2
Transaction Volume ......................................................................................................................... 2
Chart of Accounts............................................................................................................................. 2
4. REQUIREMENTS FOR TRANSACTION ENTRY ...................................................................................... 4
5. GL AND PA/GA STANDARD ORACLE FUNCTIONALITY .................................................................... 4
GL Functionality .............................................................................................................................. 4
PA Functionality .............................................................................................................................. 5
Gaps ................................................................................................................................................. 5
6. SOLUTION ......................................................................................................................................... 6
Disadvantages.................................................................................................................................. 6
7. PROCESS FLOWS ............................................................................................................................... 7
Process Flow – Import Batch or Spreadsheet File .......................................................................... 7
Process Flow – Transaction Correction, Manual Entry and Approval ........................................... 7
Process Flow – Transfer to Operational Set of Books ..................................................................... 8
8. GL SETUP FOR STAGING AREA SET OF BOOKS ................................................................................. 8
9. CUSTOM PROGRAMS AND TABLES – SUMMARY ............................................................................. 10
10. REMAINING PROBLEMS ................................................................................................................... 13
11. REMAINING OPPORTUNITIES ........................................................................................................... 13
12. CUSTOM PROGRAMS AND TABLES – DETAIL .................................................................................. 14
Registration Table and supporting functionality............................................................................ 14
Yale Authorization System (YAS) ................................................................................................... 14
Validation Extension ...................................................................................................................... 14
Import Batch and Spreadsheet Files .............................................................................................. 15
On-line Transaction Correction..................................................................................................... 18
Manually Entered Transactions ..................................................................................................... 21
Transaction Approval..................................................................................................................... 21
Transfer to the Operational Set of Books....................................................................................... 21
Yale Reports ................................................................................................................................... 22
Spreadsheet Templates................................................................................................................... 22
13. APPENDICES .................................................................................................................................... 23
Yale Registration Table Layout...................................................................................................... 23
Yale JSA Table Layout ................................................................................................................... 23
1. Abstract:
Using straightforward extensions to the General Ledger, Yale University created a single-entry
point for financial transactions for both Oracle Projects and General Ledger. This entry-point
supports manual, spreadsheet, and data file modes of input and provides distributed access,
transaction validation and department authorization.
2. Executive Summary:
Yale University uses Oracle Projects for all expense transactions, but posts balance sheet and
revenue transactions directly to the General Ledger. Transactions are originated by over 300
distributed departments, using a mixture of automated feeds, spreadsheets, and manual entry.
From a training and usability perspective, it was essential to Yale’s implementation that journal
entries, regardless of their destination, be input, validated, corrected and authorized using a single
entry point.
Yale’s requirements include consistent entry of charging instructions, distributed and flexible
mode of entry, distributed correction of validation errors, limiting department access to their own
transactions, and central control of the official set of books. For Oracle Projects, additional
requirements include transaction transfer between Expenditure Types and Expenditure
Organizations and the ability to input two-sided entries. For General Ledger, additional
requirements include enforcement of Yale validation rules.
This paper describes Yale’s “Journal Staging Area” (JSA) application, which provides a single
entry and correction point for all journals. JSA consists of creative Oracle General Ledger setup
supplemented by standard technical extensions of the application. The presentation covers
functionality and a high-level overview of the technical approach. Technical details are found in
the paper.
JSA is an extension of the Oracle General Ledger. A separate set of books (the “JSA” set of
books) was created to support transaction entry. Segments in the JSA set of books were defined to
support both Yale’s GL account structure and Oracle Project’s Project/Task/Expenditure
Type/Organization. GL Journal Categories were used to provide a framework for Yale validation
and processing. For example, some Categories are Projects-only, some are GL-only, and some
result in transactions to both applications. The GL Journal Entry Form was extended using the
Custom Library and a separate set of Responsibilities. For the JSA responsibilities, the set of
books is limited to the JSA set of books; the contents of the Segment LOVs are determined by the
Category; and Yale validation rules are enforced. Transactions can be manually entered into the
form. Data files and spreadsheets are validated and then loaded into JSA via the GL Interface file
for distributed error correction and authorization. “Authorization” functionality is supported by
the “posting” button – the button is renamed to “Authorize”; all transactions in the batch must be
valid; and the result of “authorization” is posting to the JSA set of books in the General Ledger. A
centrally controlled concurrent request extracts “authorized” batches from the JSA set of books,
reformats them, and interfaces them to the destination application’s interface file (Oracle Projects
and/or General Ledger).
This extension successfully supports distributed Journal Entry regardless of destination
application, while enforcing Yale business rules and maintaining central control over the official
accounting records.
8/16/00 Page 1
Consistent Journal Entry for Projects/Grants
Management and General Ledger
3. Yale’s Environment
Applications
JSA was developed for a 10.7 Smart Client environment. Yale is currently upgrading to 11i.
Oracle Applications used are General Ledger (GL), Oracle Projects (PA), Accounts Payables,
Purchasing, Human Resources, Payroll, Fixed Assets, Labor Distribution, and Grants Accounting
(GA). Labor Distribution is a module that transfers transactions from Payroll to Oracle
Projects/Grants Management. Grants Accounting is essentially an extension of Oracle Projects to
meet specific requirements of Higher Education.
For the purposes of this paper, Oracle Projects and Grants Accounting are synonymous. Although
Yale is using Grants Accounting, all of the concepts and techniques of this paper apply equally to
an Oracle Projects implementation. Grants Accounting adds the concept of “Award” to the
charging instruction – along with Oracle Projects Project, Task, Expenditure Type and
Expenditure Organization, Grants Accounting uses “Award” on every transaction. Grants
Accounting adds other functionality that is not pertinent to this topic.
Transaction Volume
Chart of Accounts
8/16/00 Page 2
Consistent Journal Entry for Projects/Grants
Management and General Ledger
8/16/00 Page 3
Consistent Journal Entry for Projects/Grants
Management and General Ledger
GL Functionality
• GL Interface Table for support of batch entry
• On-line form for Journal Entry and Update
8/16/00 Page 4
Consistent Journal Entry for Projects/Grants
Management and General Ledger
• Cross-validation rules
• Value-based security available at Responsibility level
• Desktop Integrator (GLDI at the time) for input of journals into a spreadsheet
PA Functionality
• PA Interface Table for support of batch entry
• On-line form for entry of Pre-approved Expenditure Items
• On-line form for transfers and splits of original Expenditure Items, limited to Project, Task
and Award
• Enforcement of validation rules, including Yale validation rules
Gaps
• Three separate on-line Forms. All have different look-and-feel.
• PA lacks on-line Form for maintenance of Interface Table. (Available in 11.)
• PA adjustments limited to Project, Task and Award (no Expenditure Type or Organization).
• PA adjustments done at original line level. No mass adjustment capability. (Improved in 11.)
• PA on-line Form for transaction entry does not support input of negative amounts. (Available
in 11.)
• PA functionality for ISP credits requires too much setup and maintenance of data.
• PA security requires too much setup and maintenance of data.
• GL security requires too much setup and maintenance of data.
• Two different security designs add complexity.
• No GL support for complex validation rules that can’t be implemented using cross-validation
rules.
• Neither GL nor PA support approval concept.
• Did not want distributed users posting directly to Operational set of books.
• Desktop Integrator (GLDI) not enforcing Yale validation rules; format of spreadsheet does
not meet requirements.
8/16/00 Page 5
Consistent Journal Entry for Projects/Grants
Management and General Ledger
6. Solution
Yale needed:
• A single batch file and spreadsheet layout that supported all of the required GL and PA/GA
transactions.
• A single transaction validation routine.
• A single distributed on-line Form for entry of new transactions, correction of invalid
transactions, and approval of batches. Form had to limit access to batches associated with the
user, and limit access to the approval function.
• A centrally run process to interface approved batches to GL and PA/GA.
• All up and running in 6 months.
To accomplish all of the above within the 6 month timeframe, Yale had to leverage existing
functionality. Oracle’s GL application came the closest to providing the needed functionality.
The GL Journal Entry form supported all of the necessary types of transactions (e.g., allows mass
adjustment of original transactions) and was suitable for distributed use. All Yale had to do was to
add support for PA/GA transactions, security, approval functionality, expanded validation rules,
loading of batch files and spreadsheets into the GL Interface Table, and interfacing of approved
transactions to the GL Operational set of books and to PA/GA!
Yale accomplished this with creative GL setup, use of the custom library to modify the behavior
of the GL Journal Entry and GL Posting Forms, and custom concurrent programs to handle
loading data into Interface Tables.
Disadvantages
The JSA design omits functionality that is found in the standard Oracle GL and PA/GA process.
This functionality was not of value to Yale. Lost functionality includes:
1. Correction and adjustment JSA transactions do not tie back to the original transaction,
unless their originator manually inputs information about the original transaction. It is
very difficult to reliably report the impact on the original transaction.
2. JSA users can create negative account balances, by transferring more costs than were
originally charged.
8/16/00 Page 6
Consistent Journal Entry for Projects/Grants
Management and General Ledger
7. Process Flows
JSA GL
Batch Batch Interface
Staging
File File Table
Tables
Results Validation
Report GL
Headers,
Batches,
Lines
E-Mail
Message Bold - visible to Distributed User
Dashed - Native Functionality
Custom.pll
Bold - visible to Distributed User
Dashed - Native Functionality
8/16/00 Page 7
Consistent Journal Entry for Projects/Grants
Management and General Ledger
GL
GL
GL Categories Interface
Headers, Table
Batches, Reformat
Lines Data
Approved JSA PA
Batches PA/GA
Categories
Interface
Table
8/16/00 Page 8
Consistent Journal Entry for Projects/Grants
Management and General Ledger
• GL Segments and value sets for JSA set of books. Segments combine GL Operational Set of
Books Value Sets with PA/GA PTAEO values. Views are used to combine values.
8/16/00 Page 9
Consistent Journal Entry for Projects/Grants
Management and General Ledger
For invalid transactions, suspense account processing is used. The original Charging
Instructions and the Validation Error Message are stored in the Transaction Description to
make them easily accessible to the user. The original Transaction Description is saved in a
DFF attribute and replaced when the transaction is corrected.
• Import Batch and Spreadsheet Files. This process starts with input files and ends with
validated transactions available for correction and approval in the GL Journal Batches,
Headers and Lines table, in the JSA set of books. Originators of batch and spreadsheet files
FTP their files to their own Unix directory. A Unix Autosys job runs periodically to move
input file from the originator’s Unix directory to a central directory. A Central user invokes a
concurrent request to import input files into JSA. This process loads batches into the JSA
Yale Tables, invokes the JSA validation extension, and loads batches into the GL Interface
Table. It provides feedback to the originator in the form of an e-mail message and a detail
report. The detail report is placed in the originator’s Unix directory.
• On-Line Journal Correction. The native GL Journal Entry Form is used to correct invalid
transactions. It is the responsibility of the originator of the batch to correct errors - 300
different people use this form. JSA users are identified by the two specific responsibilities
that they use. These responsibilities are limited to the JSA Set of Books.
The custom library (custom.pll) is used to modify the behavior of the GL Journal Entry form
for JSA users. These modifications are:
• LOV of Batch Names altered to contain only batches where Organization in Batch Name
matches User’s YAS list of allowed Organizations.
• Validation extension called for every line modified on-line.
• For Journal Categories headed to GL, “Task” is set to “00000000”. For Journal
Categories headed to PA/GA, “Balancing Segment” is set to “00”.
• User can optionally display only invalid lines, using standard Find functionality.
8/16/00 Page 10
Consistent Journal Entry for Projects/Grants
Management and General Ledger
JSA Batch Header Form:
8/16/00 Page 11
Consistent Journal Entry for Projects/Grants
Management and General Ledger
JSA Segment Value Entry:
8/16/00 Page 12
Consistent Journal Entry for Projects/Grants
Management and General Ledger
• Manually Entered Transactions. The native GL Journal Entry Form is also used to
manually input JSA Batches. The custom library Form modifications described above also
apply to new Batches.
• Transaction Approval. The native GL Journal Posting Form is used to support Approval of
a Batch. It is the originating department’s responsibility to approve each batch. The
“Approval” action physically results in posting of the Batch to the JSA set of books. The
custom library is used to modify the behavior of this form:
• Batches must have a Set of Books value of “JSA Set of Books”.
• LOV of Batch Names altered to contain only batches where Organization in Batch Name
matches User’s YAS list of allowed Organizations.
• All lines must be valid before the batch can be approved.
• “Posted” button modified. Name changed to “Approve”. Button disabled unless user’s
responsibility is “YUGL Staging Manager”.
• Transfer to Operational Set of Books. “Approved” batches are ready to be interfaced to the
“Operational Set of Books”. For GL Journal Categories, “approved” batches are extracted
from JSA and loaded into the GL Interface Table a Set of Books value of “Operational”.
Other than the Set of Books, they contain the same data as is found in JSA. For PA/GA
Categories, “approved” batches are extracted from JSA, reformatted, and loaded into the PA
Interface Table.
PA/GA does not have enough DFF attributes to store all of the JSA data, due to GA
restrictions. Therefore, transactions are not deleted from the JSA set-of-books. The JSA
Header ID and Line ID are stored in the destination system to support navigation back to the
JSA transaction for reporting purposes.
• Yale Reports. Several custom reports were created to support Department use of JSA. These
reports have a more meaningful format of the JSA transaction.
• Spreadsheet Templates. Spreadsheet users are provided with Templates for creation of their
JSA Batches. A separate template is provided for each JSA Journal Category, to assist the
user in providing accurate and complete data.
8/16/00 Page 13
Consistent Journal Entry for Projects/Grants
Management and General Ledger
A simple table maintenance form was created to query, insert, update and delete records on
YUGL_EXT_SYS_REGISTRATION.
Validation Extension
All records in the GL_INTERFACE table must pass through a validation process. Yale validation
rules are enforced, including specific validation rules for the various Journal Categories. The
standard PA validation program, patc.get_status is called to enforce PA/GA validation rules. Yale
has additional PA/GA validation rules in patcx.tc_extension, which are automatically invoked.
The validation extension is called whenever a JSA transaction is input or updated. It is part of the
import process for Batch and Spreadsheet files. It is called via custom.pll when a transaction is
updated using the on-line form.
8/16/00 Page 14
Consistent Journal Entry for Projects/Grants
Management and General Ledger
To facilitate correction of invalid transactions, the validation routine stores the invalid segment
values and the error messages in the Transaction Description. It saves the original Transaction
Description in a DFF attribute. With GL Suspense processing turned on for the JSA Set of Books,
the invalid segment values are overlaid with the Suspense Account when the transaction is
imported into JSA. The original segment values had to be stored somewhere for reference by the
user, and the Transaction Description is an easily accessible location that can be referenced by the
“Find” functionality of the Journal Entry Form. When the transaction is corrected, the original
Transaction Description is restored.
Sample Error Messages:
8/16/00 Page 15
Consistent Journal Entry for Projects/Grants
Management and General Ledger
During the AWK and SQLLOAD processes, various fields are populated with data values that are
not contained in the external data files. Some of these values are constants and others are derived
(e.g., detail line number). A list of attributes and the values they are populated with follows.
Fields populated by the AWK process are denoted with an asterisk (*).
YUGL_STAGING_HEADER
header_id * sequence yugl_header_seq
group_id * sequence gl_interface_control_s
header_status constant ‘LOADED’
YUGL_STAGING_LINES
header_id * sequence yugl_header_seq
group_id * sequence gl_interface_control_s
journal_line sequential line counter
status constant ‘NEW’
set_of_books_id constant ‘2’
currency_code constant ‘USD’
date_created system date formatted DD-MON-YYYY
created_by value of batch_organization
actual_flag constant ‘A’
user_je_source_name constant ‘Yale External’
reference7 constant ‘NO’
reference1 batch_organization-batch_source-batch_date-
batch_seq_no
Once an external file has been loaded into the Yale JSA Staging tables, the shell script will then
initiate the validation procedure, yugl_stg_validation. The fields that are checked and the criteria
for validation is as follows:
• Date Fields: batch_date, fiscal_period, accounting_date, and transaction_date. All fields
that should contain dates are checked for the standard date format of DD-MON-YYYY.
Since these fields are defined as character fields, the data contained within them is also
checked for successful conversion to a date datatype. The accounting_date is checked to
verify that it is in an OPEN or FUTURE ENTERABLE period. Also, the transaction_date
(which is stored in attribute1) is tested to verify that it is not greater than the current system
date. Note that prior to any date comparison the date values will need to have the hours,
minutes and seconds truncated.
• Numeric Fields: entered_cr, entered_dr, and total_debits. Because the data is being
captured as character data types, it is necessary to verify that all fields that will eventually be
converted to numbers only contain numeric entries. This is accomplished by checking to see
that each of these values can be successfully converted to a number. An additional test is
performed to verify that each detail record has exactly one entry in either the entered_cr or
entered_dr field, but not in both. To further validate the batch, running totals are calculated
for the entered_cr and entered_dr for comparison with each other and for comparison with the
value of total_debits. If any of these tests fail the record is flagged with an error message
• Journal Category: The journal category, stored in the field user_je_category_name, is
validated against the entries in the table gl_je_categories. In addition, each subsequent
record’s journal category is checked against that of the first record for consistency.
• Batch Organization: The value given in batch_organization is tested for 6 valid numeric
digits and if it passes that check the function yugl_valid_org_unit_fcn is called to verify that it
is a valid batch organization.
• Duplicate Batch: The values in batch_organization, batch_source, batch_date, and
batch_seq_no are checked against the existing records in yugl_staging_header to see if this
batch has already been received and processed.
8/16/00 Page 16
Consistent Journal Entry for Projects/Grants
Management and General Ledger
Whenever these validation checks fail, the appropriate error message is written to the offending
record and the header_status is set to ‘FAILED’.
Batch acceptance/rejection
Once the validation checks have completed, the Invalid Batch Report is generated. This report
lists the validation errors found for each detail line. It also displays the batch organization, batch,
source, and sequence number for processed file, as well as, the journal line number, journal
category, and the accounting date. If no errors were found then this file is empty. In all cases an
e-mail is generated and sent to the Source System’s Functional Contact indicating whether the
staging load and validation process was successful or if it had failed. In the latter case an e-mail
message is also sent to the Source System’s Technical Contact and gives more details regarding
the cause of the failure.
Sample of the Invalid Batch Report:
YALE UNIVERSITY GL EXTERNAL FILE LOAD
INVALID BATCH REPORT
BATCH: GLIMCPOSI26OCT19981234.LDR
****END OF REPORT****
FILENAME: GLITESTHM23OCT19980003.LDR
VALIDATION STATUS: Data Validation Successful
FILENAME: GLITESTHM21OCT19980005.LDR
ERROR: Invalid Batch
8/16/00 Page 17
Consistent Journal Entry for Projects/Grants
Management and General Ledger
SEGMENT1 “02”
REFERENCE7 “NO”
REFERENCE22 Data contained in Reference10
REFERENCE27 Total Debit Amount for the Batch
The following custom.pll code example enforces the use of valid Organizations within the Batch Name.
BEGIN
-- All GL Customisations are only for the Staging Area Set of Books.
fnd_profile.get('GL_SET_OF_BKS_NAME', v_gl_set_of_bks_name);
IF (v_gl_set_of_bks_name = 'GL Journal Staging Area') then
8/16/00 Page 18
Consistent Journal Entry for Projects/Grants
Management and General Ledger
-- Validate that the first six characters of the batch name are a
valid organization number.
IF ((v_block_name = 'BATCH') AND
(event_name = 'WHEN-VALIDATE-RECORD') ) THEN
v_batch_name := NAME_IN('BATCH.NAME');
v_batch_attribute1:=substr(v_batch_name,1,6); -- rk06/12/2000
COPY (v_batch_attribute1,'BATCH.ATTRIBUTE1' ); -- rk06/12/2000
IF NOT
(yugl_stg_glint_valid_pkg.yugl_valid_org_unit_fcn(substr(v_batch_name,1,
6),v_err_code)) THEN
IF v_err_code = '2200' THEN
FND_MESSAGE.SET_STRING('Batch Name contains an Invalid
Organization Number. Please go back and correct it.');
FND_MESSAGE.ERROR;
RAISE FORM_TRIGGER_FAILURE;
END IF;
END IF;
END IF;
v_set_of_books_id varchar2(15);
v_user varchar2(30);
v_domain varchar(50) := 'ACCESS ORGS';
v_function_name varchar2(60) ;
v_query_ok number;
v_folder_query_blk varchar2(2000);
v_batch_query_blk varchar2(2000);
v_header_query_blk varchar2(2000);
v_batches_blk varchar2(2000);
v_folder_batch_qf_rg varchar2(2000);
v_batch_qf_rg varchar2(2000);
v_folder_header_qf_rg varchar2(2000);
v_header_header_qf_rg varchar2(3000);
v_batch_name_qf_rg varchar2(2000);
v_org_select varchar2(2000);
v_big_man_select varchar2(100);
fnd_profile.get('USERNAME',v_user);
fnd_profile.get('RESP_NAME', v_function_name);
fnd_profile.get('GL_SET_OF_BKS_ID', v_set_of_books_id);
8/16/00 Page 19
Consistent Journal Entry for Projects/Grants
Management and General Ledger
Journal Line Correction
To correct a transaction on-line, the user navigates to Enter Journal. The Find Journals screen
appears. The user inputs the batch name (or any part thereof followed by the %, the wild-card
symbol) and presses the FIND button. Any batch name matching the criteria entered is displayed.
The user selects the batch that requires correction. The user navigates to the line containing the
error and makes the necessary correction(s). At this point, the user has two options. Option 1 is to
commit the changes that were made. This causes the WHEN-VALIDATE-RECORD to fire and
the record is re-validated, using custom.pll logic. If no errors are found, the error messages in the
description box disappear and the original description is displayed. Option 2 is to navigate to
another line. This also causes the WHEN-VALIDATE-RECORD to fire and the record is re-
validated. If no errors are found, the error messages in the description box disappear and the
original description is displayed.
In either scenario, if more errors or additional errors are found during the validation process, the
error messages are put in the description box.
8/16/00 Page 20
Consistent Journal Entry for Projects/Grants
Management and General Ledger
name (or any part thereof followed by the %, the wild-card symbol) and presses the FIND button.
Any batch name matching the criteria entered is displayed. The user selects the batch they want to
modify, and presses the Review Batch button. The Batch screen appears and the user can modify
the control total. After changing the control total, the user must save the new information.
Pressing the icon that looks like a diskette or pressing F10 will save the data.
4) To create a new journal line, position the cursor in the line field, and press the + icon (add
record) or scroll to the end of the file, using the down arrow key. Regardless of which
method is used, the system is ready to accept a new transaction line. Each transaction is
validated as it is input. After inputting all of the transactions, the user must hit the diskette
icon or F10 to save his/her work.
Transaction Approval
The native GL Journal Posting Form is used to support Approval of a Batch. It is the originating
department’s responsibility to approve each batch. The “Approval” action physically results in posting of
the Batch to the JSA set of books. The custom library is used to modify the behavior of this form:
• Batches must have a Set of Books value of “JSA Set of Books”.
• LOV of Batch Names altered to contain only batches where Organization in Batch Name
matches User’s YAS list of allowed Organizations.
• All lines must be valid before the batch can be approved.
• “Posted” button modified. Name changed to “Approve”. Button disabled unless user’s
responsibility is “YUGL Staging Manager”.
In the Staging Area set of books, approving a batch means that the batch is error free and that it is
all right to send the data onto the Operational Set of Books. To approve a batch, the “YUGL
Staging Manager” responsibility must be used. The user does the following:
1) Navigate to Post Journals.
2) The Find Journal Batches screen appears. Type in the Batch Name, or any part thereof
followed by the %, in the Batch field. Press the Find button.
3) To select the batch you want to approve, click on the box to the left of the period field. If the
record becomes highlighted, then the batch contains no errors and it is can be approved.
However, if the record becomes gray, this indicates that the batch contains one or more
invalid transactions and it cannot be authorized. All validation errors have to be corrected
before the batch can be approved.
8/16/00 Page 21
Consistent Journal Entry for Projects/Grants
Management and General Ledger
Batches, Headers and Lines tables and inserts them into the GL Interface Table or the PA Interface
Table. From this point on, native GL and PA/GA functionality is used to process the transactions.
Transaction lines are not deleted from JSA. DFF limitations in PA/GA (due to GA restrictions)
prevented propagation of all of the necessary JSA data. Therefore, JSA transactions must be
maintained to record all of the pertinent data. In both the GL Operational Set of Books entries,
and in the PA/GA entries, data is stored to support navigation back to the JSA line. In PA/GA,
transaction_source is set to the JSA Journal Category and orig_transaction_reference is set to the
JSA GL Header ID concatenated to the JSA GL Journal Line ID.
There are currently five journal categories which require the creation of expense transactions in
OGM. These are ‘YInterDeptTrsf’, ‘YExpenseAdjust’, ‘YProcard’, ‘YGCCostTrsf’,
‘YRevAssement’.
The package YUPA_glintrfc_pkg (filename YUPAGLNTRFC.pkg) creates transactions in the PA
interface table from the JSA GL Journal Lines. The procedure load_ogm_interface receives a
batch id as an input parameter. If the batch is associated with an appropriate JSA Journal
Category, the lines within are converted to PA/GA transactions and written to the table
PA_Transaction_Interface_All. The process passes back a return code, and an error message if a
processing exception occurs.
Yale Reports
Several custom reports are needed to support use of JSA. They are:
• Yale Staging Journal Detail Attribute Report (YUGLJDEA.rdf)
Lists all attributes for all lines in the batch(es) specified.
• Yale Staging Journal Error Report (YUGLJERR.rdf)
Lists batches which have any journal lines with errors. Includes detail on lines with errors.
• Yale Staging Journal Detail Report (YUGLJDER.rdf)
Lists details for the batch specified. Includes detail on all lines.
• Staging Unposted Journal Aging Report (YUGLJSAA.rdf)
Lists unapproved (unposted) journals indicating how old the journals are. The journals fall
into one of 4 buckets: less than or equal to 2 weeks old, between 2 and 3 weeks old, Between
3 and 4 weeks old, and more than 4 weeks old.
Spreadsheet Templates
An Excel Spreadsheet Template exists for each Journal Category, to facilitate input of
transactions. The template contains properly formatted columns for all of the data elements
available for that Category. Both Header and Detail lines are input into the spreadsheet.
Once final, the user exports the spreadsheet contents as a comma delimited file. This file is then
FTP’d to a Unix directory, exactly as is done for a batch file. Processing of Spreadsheet files is
the same as processing for Batch files.
8/16/00 Page 22
Consistent Journal Entry for Projects/Grants
Management and General Ledger
13. Appendices
YUGL_STAGING_HEADER
HEADER_ID NUMBER(15)
HEADER_STATUS VARCHAR2(10)
HEADER_ERRMSG VARCHAR2(80)
RECORD_TYPE VARCHAR2(3)
BATCH_ORGANIZATION VARCHAR2(6)
BATCH_SOURCE VARCHAR2(6)
BATCH_DATE VARCHAR2(11)
BATCH_SEQ_NO VARCHAR2(4)
FISCAL_PERIOD VARCHAR2(11)
TOTAL_DEBITS VARCHAR2(38)
GROUP_ID VARCHAR2(15)
YUGL_STAGING_LINES
HEADER_ID NOT NULL NUMBER(15)
JOURNAL_LINE_NUMBER NOT NULL NUMBER(15)
BATCH_ORGANIZATION NOT NULL VARCHAR2(6)
BATCH_SOURCE NOT NULL VARCHAR2(6)
BATCH_DATE NOT NULL VARCHAR2(11)
BATCH_SEQ_NO NOT NULL VARCHAR2(4)
RECORD_STATUS VARCHAR2(15)
RECORD_TYPE VARCHAR2(3)
STATUS NOT NULL VARCHAR2(50)
SET_OF_BOOKS_ID NOT NULL VARCHAR2(15)
ACCOUNTING_DATE NOT NULL VARCHAR2(11)
CURRENCY_CODE NOT NULL VARCHAR2(15)
DATE_CREATED NOT NULL VARCHAR2(11)
CREATED_BY NOT NULL VARCHAR2(15)
ACTUAL_FLAG NOT NULL VARCHAR2(1)
USER_JE_CATEGORY_NAME NOT NULL VARCHAR2(25)
USER_JE_SOURCE_NAME NOT NULL VARCHAR2(25)
CURRENCY_CONVERSION_DATE VARCHAR2(11)
ENCUMBRANCE_TYPE_ID VARCHAR2(38)
BUDGET_VERSION_ID VARCHAR2(38)
USER_CURRENCY_CONVERSION_TYPE VARCHAR2(30)
CURRENCY_CONVERSION_RATE VARCHAR2(38)
AVERAGE_JOURNAL_FLAG VARCHAR2(1)
SEGMENT1 VARCHAR2(25)
SEGMENT2 VARCHAR2(25)
SEGMENT3 VARCHAR2(25)
SEGMENT4 VARCHAR2(25)
SEGMENT5 VARCHAR2(25)
SEGMENT6 VARCHAR2(25)
SEGMENT7 VARCHAR2(25)
SEGMENT8 VARCHAR2(25)
SEGMENT9 VARCHAR2(25)
SEGMENT10 VARCHAR2(25)
SEGMENT11 VARCHAR2(25)
SEGMENT12 VARCHAR2(25)
SEGMENT13 VARCHAR2(25)
SEGMENT14 VARCHAR2(25)
8/16/00 Page 23
Consistent Journal Entry for Projects/Grants
Management and General Ledger
SEGMENT15 VARCHAR2(25)
SEGMENT16 VARCHAR2(25)
SEGMENT17 VARCHAR2(25)
SEGMENT18 VARCHAR2(25)
SEGMENT19 VARCHAR2(25)
SEGMENT20 VARCHAR2(25)
SEGMENT21 VARCHAR2(25)
SEGMENT22 VARCHAR2(25)
SEGMENT23 VARCHAR2(25)
SEGMENT24 VARCHAR2(25)
SEGMENT25 VARCHAR2(25)
SEGMENT26 VARCHAR2(25)
SEGMENT27 VARCHAR2(25)
SEGMENT28 VARCHAR2(25)
SEGMENT28 VARCHAR2(25)
SEGMENT29 VARCHAR2(25)
SEGMENT30 VARCHAR2(25)
ENTERED_DR VARCHAR2(38)
ENTERED_CR VARCHAR2(38)
ACCOUNTED_DR VARCHAR2(38)
ACCOUNTED_CR VARCHAR2(38)
TRANSACTION_DATE VARCHAR2(11)
REFERENCE1 VARCHAR2(100)
REFERENCE2 VARCHAR2(240)
REFERENCE3 VARCHAR2(100)
REFERENCE4 VARCHAR2(100)
REFERENCE5 VARCHAR2(240)
REFERENCE6 VARCHAR2(100)
REFERENCE7 VARCHAR2(100)
REFERENCE8 VARCHAR2(100)
REFERENCE9 VARCHAR2(100)
REFERENCE10 VARCHAR2(240)
REFERENCE11 VARCHAR2(100)
REFERENCE12 VARCHAR2(100)
REFERENCE13 VARCHAR2(100)
REFERENCE14 VARCHAR2(100)
REFERENCE15 VARCHAR2(100)
REFERENCE16 VARCHAR2(100)
REFERENCE17 VARCHAR2(100)
REFERENCE18 VARCHAR2(100)
REFERENCE19 VARCHAR2(100)
REFERENCE20 VARCHAR2(100)
REFERENCE21 VARCHAR2(240)
REFERENCE22 VARCHAR2(240)
REFERENCE23 VARCHAR2(240)
REFERENCE24 VARCHAR2(240)
REFERENCE25 VARCHAR2(240)
REFERENCE26 VARCHAR2(240)
REFERENCE27 VARCHAR2(240)
REFERENCE28 VARCHAR2(240)
REFERENCE29 VARCHAR2(240)
REFERENCE30 VARCHAR2(240)
JE_BATCH_ID VARCHAR2(15)
PERIOD_NAME VARCHAR2(15)
JE_HEADER_ID VARCHAR2(15)
JE_LINE_NUM VARCHAR2(15)
CHART_OF_ACCOUNTS_ID VARCHAR2(15)
FUNCTIONAL_CURRENCY_CODE VARCHAR2(15)
CODE_COMBINATION_ID VARCHAR2(15)
DATE_CREATED_IN_GL VARCHAR2(11)
WARNING_CODE VARCHAR2(4)
STATUS_DESCRIPTION VARCHAR2(240)
STAT_AMOUNT VARCHAR2(38)
GROUP_ID VARCHAR2(15)
REQUEST_ID VARCHAR2(15)
SUBLEDGER_DOC_SEQUENCE_ID VARCHAR2(38)
SUBLEDGER_DOC_SEQUENCE_VALUE VARCHAR2(38)
ATTRIBUTE1 VARCHAR2(150)
ATTRIBUTE2 VARCHAR2(150)
ATTRIBUTE3 VARCHAR2(150)
ATTRIBUTE4 VARCHAR2(150)
ATTRIBUTE5 VARCHAR2(150)
ATTRIBUTE6 VARCHAR2(150)
ATTRIBUTE7 VARCHAR2(150)
ATTRIBUTE8 VARCHAR2(150)
8/16/00 Page 24
Consistent Journal Entry for Projects/Grants
Management and General Ledger
ATTRIBUTE9 VARCHAR2(150)
ATTRIBUTE10 VARCHAR2(150)
ATTRIBUTE11 VARCHAR2(150)
ATTRIBUTE12 VARCHAR2(150)
ATTRIBUTE13 VARCHAR2(150)
ATTRIBUTE14 VARCHAR2(150)
ATTRIBUTE15 VARCHAR2(150)
ATTRIBUTE16 VARCHAR2(150)
ATTRIBUTE17 VARCHAR2(150)
ATTRIBUTE18 VARCHAR2(150)
ATTRIBUTE19 VARCHAR2(150)
ATTRIBUTE20 VARCHAR2(150)
CONTEXT VARCHAR2(150)
CONTEXT2 VARCHAR2(150)
INVOICE_DATE VARCHAR2(11)
TAX_CODE VARCHAR2(15)
INVOICE_IDENTIFIER VARCHAR2(20)
INVOICE_AMOUNT VARCHAR2(38)
CONTEXT3 VARCHAR2(150)
USSGL_TRANSACTION_CODE VARCHAR2(30)
DESCR_FLEX_ERROR_MESSAGE VARCHAR2(240)
JGZZ_RECON_REF VARCHAR2(240)
8/16/00 Page 25