Académique Documents
Professionnel Documents
Culture Documents
Dashboard
For Oracle EBS (12.1.x)
Contents
1. Introduction .................................................................................................................................... 2
2. Data Flow ........................................................................................................................................ 2
3. Packages .......................................................................................................................................... 2
4. Views ............................................................................................................................................... 3
5. Tables to be created ....................................................................................................................... 3
6. QVC Components ............................................................................................................................ 4
7. Folder Structure .............................................................................................................................. 4
8. QVD Generator ............................................................................................................................... 4
9. Presentation File ............................................................................................................................. 6
10. Dashboard Tabs .......................................................................................................................... 8
Invoice ................................................................................................................................................. 9
Aging ................................................................................................................................................. 10
Payments........................................................................................................................................... 11
Vendors ............................................................................................................................................. 12
Requisitions ....................................................................................................................................... 13
Purchases .......................................................................................................................................... 13
Receipts ............................................................................................................................................. 14
Team Efficiency ................................................................................................................................. 15
11. Other Important Information ................................................................................................... 16
12. Oracle Scripts for packages and Views ..................................................................................... 16
13. Steps to Load the Files .............................................................................................................. 16
Updated 20/05/2014 (Added the Requisition and Receipts tables to complete the Procure to pay
cycle)
By Ishaq Baig
ishaqbaig@yahoo.com
1
1. Introduction
AP Analysis Dashboard has been designed to provide an overview of the health of the payables side
of the business and enables Finance to best manage its cash outflows and ensure timely payments to
its suppliers.
The Dashboard is based on Oracle EBS (E-Business Suite) Version 12.1.1 to 12.1.3. It is directly based
on Oracle EBS, AP related tables. The scripts provided can be created in a separate user/schema
which has rights to view APPS tables and views or they can be created in the APPS schema. All the
Views and packages created have a prefix (XX_).
Access to the AP Data is restricted by using a security table XX_AP_USER_ACCESS. Data in this table
controls the access of users to different operating units.
Technologies Used
Qlikview Desktop 11.2 (SP5)
Oracle Database 11.2.0.1
PL/SQL
2. Data Flow
3. Packages
The Packages script contains the packages needed to created. The packages have some functions
which are used by views to get lookups data.
Package Name
XX_APPS_AP_UTIL_API AP Related Functions
XX_APPS_GL_CODE_COMB_UTIL_API Functions to get the GL Segment Description based on the
ValueSetID of the Segment.
2
XX_APPS_GL_UTIL_API
XX_APPS_HR_UTIL_API Functions to get Person Name, Location Code, Name, Org Name
XX_APPS_INV_UTIL_API Inventory Module related Functions
XX_APPS_PO_UTIL_API Purchasing Area related functions
4. Views
All columns have been prefixed to prevent Qlikview to create unnecessary joins. (ER Diagram
Attached for reference)
5. Tables to be created
CREATE TABLE XX_AP_USER_ACCESS Table to grant access to the Qlikview user A
( USER_ACCESS_ORG_ID VARCHAR2(100), particular Operating Unit. Insert records into
USERID VARCHAR2(30), this table to grant access to Operating Units to
DISPLAY_NAME VARCHAR2(50),
BOOKMARK_NAME VARCHAR2(50), a Qlikview user.
EMAIL_ADDRESS VARCHAR2(50) Example 12, IBAIG
) 15, IBAIG
3
Which means IBAIG has access to 2 Operating
Units.
6. QVC Components
Qvc Components for Qlikview were used for incremental load of tables. To incrementally load data
from Oracle Views into the QVD Files.
http://code.google.com/p/qlikview-components/downloads/list
7. Folder Structure
The below Folders can be on any drive (C: or D: )
8. QVD Generator
The QVD generator loads data from the underlying Oracle Views and stores them into QVD Files. The
QVD files are stored in Folder/Directory set by the variable Qvc.Loader.v.QvdDirectory
4
The first tab set the Initial Variables.
The following tables are loaded fully from the Oracle Database on each load
HR_OPERATING_UNITS
GL_SET_OF_BOOKS
AP_TERMS_ALL
PAYMENT_DOCUMENTS
XX_AP_USER_ACCESS
AP_SUPPLIERS
AP_VENDOR_BANK_DETAILS
The sub-sequent tabs Have logic to incrementally load data from the views in Oracle. Using the QVC
Incremental load routines. Below screen shot show info of the incremental load screen.
All the other tabs have similar code which loads data from the respective tables
5
Please note Data is incrementally loaded from XX_PO_LINES_ALL table using the revision number
instead of LAST_UPDATE_DATE. (The LAST_UPDATE_DATE is number column which stores the latest
revision number)
9. Presentation File
The presentation files loads data from the QVD Files and the joins between tables is established
here. User is shown the data in different visual perspectives. The Below diagram shows the
relationship established between the tables
Mapping Tab has the In-Line Tables used for Aging Bucket Classification/Grouping and other
Mapping tables.
QVD Loads Loads the data from the QVD files stored in (C:\Qliview\QVDs Folder) into Qlikview
Tables. (Diagram on next page specifies the relationship/joins among the tables and their fields)
6
7
10. Dashboard Tabs
8
Invoice
Data in this tab is based on the Invoice Date perspective
9
Aging
NOTE Date is not to be taken into consideration here. The tab shows Outstanding and Overdue
Invoices, It also shows in which Aging bucket the invoice fall.
10
Payments
Check date is taken into consideration here
11
Vendors
12
Requisitions
Shows Purchase Requisition line details. Requisition header date is the filter here
Purchases
Show Purchase order and PO line details of a particular invoice, PO header date is the filter here.
13
Receipts
Shows Purchase receipt details of a particular purchase order/Invoice. Receipt header date is the
filter here
14
Team Efficiency
Shows info of the data entry statistics
Below sheet shows the user and their access to the operating units
15
11. Other Important Information
Aging is based on Due Date as of system/current date. The Age of the invoice is (Today()
DueDate)
Dates on the Tab are important
(Invoice Tab Analysis is done based on Invoice Date)
(Aging Tab Dates should not be considered as Aging is as of system/current date)
(Payments Tab Analysis done based on Check/Payment date)
(Vendor Tab Invoice date)
(Requisitions Requisition Header date)
(Purchases Purchase date)
(Receipts Receipts Header date)
(Team Efficiency Invoice Creation Date)
16
Reload Screen shot of file AP Analysis - QVD Generator Incremental.
17