SlideShare a Scribd company logo
1 of 16
Download to read offline
Cloud Computing Using
Oracle Application
Express
Develop Internet-Facing Business
Applications Accessible Anywhere
and Anytime
Second Edition
Riaz Ahmed
Cloud Computing Using Oracle Application Express: Develop Internet-Facing
Business Applications Accessible Anywhere and Anytime
ISBN-13 (pbk): 978-1-4842-4242-1			 ISBN-13 (electronic): 978-1-4842-4243-8	
https://doi.org/10.1007/978-1-4842-4243-8
Library of Congress Control Number: 2018964483
Copyright © 2019 by Riaz Ahmed
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microfilms or in any other physical way, and transmission or information
storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now
known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the
trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not
identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. The publisher makes no warranty, express or implied, with respect to the
material contained herein.
Managing Director, Apress Media LLC: Welmoed Spahr
Acquisitions Editor: Celestin Suresh John
Development Editor: Matthew Moodie
Coordinating Editor: Shrikant Vishwakarma
Cover designed by eStudioCalamar
Cover image designed by Freepik (www.freepik.com)
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street,
6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-
sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member
(owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a
Delaware corporation.
For information on translations, please e-mail rights@apress.com, or visit http://www.apress.com/
rights-permissions.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and
licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales
web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available to
readers on GitHub via the book’s product page, located at www.apress.com/978-1-4842-4242-1. For more
detailed information, please visit http://www.apress.com/source-code.
Printed on acid-free paper
Riaz Ahmed
Karachi, Pakistan
iii
Table of Contents
Chapter 1: Introduction to Cloud Computing and the Application Project���������������� 1
1.1 An Introduction to Cloud Computing��������������������������������������������������������������������������������������� 1
1.2 Public vs. Private Cloud���������������������������������������������������������������������������������������������������������� 2
1.3 What Is Accounting?���������������������������������������������������������������������������������������������������������������� 4
1.4 Accounting System����������������������������������������������������������������������������������������������������������������� 4
1.5 General Ledger������������������������������������������������������������������������������������������������������������������������ 5
1.6 The Cloud Accountant General Ledger Project������������������������������������������������������������������������ 6
1.7 Development Environment������������������������������������������������������������������������������������������������������ 7
1.8 Application Segments������������������������������������������������������������������������������������������������������������� 7
1.9 Summary�������������������������������������������������������������������������������������������������������������������������������� 9
Chapter 2: Application Navigation�������������������������������������������������������������������������� 11
2.1 Create the Main Application Menu���������������������������������������������������������������������������������������� 11
2.2 Modify/Add Navigation Bar Entries��������������������������������������������������������������������������������������� 14
2.3 Summary������������������������������������������������������������������������������������������������������������������������������ 16
Chapter 3: Companies�������������������������������������������������������������������������������������������� 17
3.1 Create Application Tables������������������������������������������������������������������������������������������������������ 17
3.2 Create Pages for Company Setup����������������������������������������������������������������������������������������� 18
3.3 Summary������������������������������������������������������������������������������������������������������������������������������ 19
About the Author�����������������������������������������������������������������������������������������������������xv
About the Technical Reviewers�����������������������������������������������������������������������������xvii
Introduction������������������������������������������������������������������������������������������������������������xix
iv
Chapter 4: Fiscal Year��������������������������������������������������������������������������������������������� 21
4.1 Create List of Values������������������������������������������������������������������������������������������������������������� 22
4.2 Create Page and Parameters Region������������������������������������������������������������������������������������ 23
4.3 Create a Fiscal Year Grid������������������������������������������������������������������������������������������������������� 25
4.4 Add Items to Hold Months/Dates������������������������������������������������������������������������������������������� 27
4.5 Create Buttons to Generate, Save, and Remove a Fiscal Year����������������������������������������������� 28
4.6 Generate Fiscal Year Process������������������������������������������������������������������������������������������������ 30
4.7 Save Fiscal Year Process������������������������������������������������������������������������������������������������������ 30
4.8 Delete Fiscal Year Process���������������������������������������������������������������������������������������������������� 31
4.9 Fetch Fiscal Year Dynamic Action����������������������������������������������������������������������������������������� 31
4.10 Create Validation: Check Transaction���������������������������������������������������������������������������������� 32
4.11 Create Branch��������������������������������������������������������������������������������������������������������������������� 33
4.12 Dynamic Actions to Hide Buttons���������������������������������������������������������������������������������������� 34
4.13 Test Your Work��������������������������������������������������������������������������������������������������������������������� 38
4.14 Summary���������������������������������������������������������������������������������������������������������������������������� 39
Chapter 5: Voucher Types��������������������������������������������������������������������������������������� 41
5.1 Create List of Values������������������������������������������������������������������������������������������������������������� 41
5.2 Create Pages for Voucher Types Setup��������������������������������������������������������������������������������� 42
5.2.1 Convert Text Item to Radio Group��������������������������������������������������������������������������������� 43
5.3 Create Validation: Check Transaction������������������������������������������������������������������������������������ 44
5.4 Test Your Work����������������������������������������������������������������������������������������������������������������������� 44
5.5 Summary������������������������������������������������������������������������������������������������������������������������������ 45
Chapter 6: Application Segments��������������������������������������������������������������������������� 47
6.1 Create Lists of Values������������������������������������������������������������������������������������������������������������ 48
6.2 Create Segments Setup Pages��������������������������������������������������������������������������������������������� 48
6.3 Modify Segments Form��������������������������������������������������������������������������������������������������������� 49
6.4 Add Tree View Region������������������������������������������������������������������������������������������������������������ 51
6.5 Create Buttons���������������������������������������������������������������������������������������������������������������������� 51
6.6 Create Validations����������������������������������������������������������������������������������������������������������������� 53
Table of Contents
v
6.7 Create Branch����������������������������������������������������������������������������������������������������������������������� 53
6.8 Test Your Work����������������������������������������������������������������������������������������������������������������������� 54
6.9 Summary������������������������������������������������������������������������������������������������������������������������������ 56
Chapter 7: User Groups������������������������������������������������������������������������������������������� 57
7.1 Page and Parameters Region������������������������������������������������������������������������������������������������ 58
7.2 Buttons���������������������������������������������������������������������������������������������������������������������������������� 61
7.3 New Group Process��������������������������������������������������������������������������������������������������������������� 62
7.4 Delete Group Button�������������������������������������������������������������������������������������������������������������� 63
7.5 Delete Group Process������������������������������������������������������������������������������������������������������������ 63
7.6 Group Privileges Region�������������������������������������������������������������������������������������������������������� 64
7.7 Tree Region��������������������������������������������������������������������������������������������������������������������������� 65
7.8 Add Classic Report Region���������������������������������������������������������������������������������������������������� 66
7.9 Dynamic Action to Refresh Region���������������������������������������������������������������������������������������� 67
7.10 Add Button and a Process to Allow/Revoke Segment Access Right����������������������������������� 68
7.11 Test Your Work��������������������������������������������������������������������������������������������������������������������� 69
7.12 Summary���������������������������������������������������������������������������������������������������������������������������� 70
Chapter 8: Create Users������������������������������������������������������������������������������������������ 71
8.1 Create Pages������������������������������������������������������������������������������������������������������������������������� 72
8.2 Create/Modify Items�������������������������������������������������������������������������������������������������������������� 73
8.3 Create a Process to Set Company, Year, and Month�������������������������������������������������������������� 75
8.4 Test Your Work����������������������������������������������������������������������������������������������������������������������� 75
8.5 Summary������������������������������������������������������������������������������������������������������������������������������ 76
Chapter 9: Reset Password������������������������������������������������������������������������������������� 77
9.1 Add Custom Functions���������������������������������������������������������������������������������������������������������� 77
9.2 Create Page��������������������������������������������������������������������������������������������������������������������������� 79
9.3 Check User ID and Match Password Validations������������������������������������������������������������������� 82
9.4 Update Password Process���������������������������������������������������������������������������������������������������� 82
9.5 Change Authentication Scheme�������������������������������������������������������������������������������������������� 83
9.6 Summary������������������������������������������������������������������������������������������������������������������������������ 84
Table of Contents
vi
Chapter 10: Switch Company, Year, and Month������������������������������������������������������ 85
10.1 Create Page������������������������������������������������������������������������������������������������������������������������� 85
10.2 Add Button�������������������������������������������������������������������������������������������������������������������������� 88
10.3 Add Validations�������������������������������������������������������������������������������������������������������������������� 89
10.4 Update User Profile Process����������������������������������������������������������������������������������������������� 90
10.5 Display Company, Year, and Month�������������������������������������������������������������������������������������� 90
10.6 Summary���������������������������������������������������������������������������������������������������������������������������� 92
Chapter 11: Cost Centers���������������������������������������������������������������������������������������� 93
11.1 Create Pages����������������������������������������������������������������������������������������������������������������������� 93
11.2 Delete Processes���������������������������������������������������������������������������������������������������������������� 95
11.3 Modify Delete Button���������������������������������������������������������������������������������������������������������� 95
11.4 Add Button�������������������������������������������������������������������������������������������������������������������������� 95
11.5 Modify Page Items�������������������������������������������������������������������������������������������������������������� 96
11.6 Add Dynamic Action: Evaluate Level����������������������������������������������������������������������������������� 97
11.7 Validation: Check Level������������������������������������������������������������������������������������������������������� 97
11.8 Validation: Check Parent Level�������������������������������������������������������������������������������������������� 98
11.9 Validation: Check Child Level���������������������������������������������������������������������������������������������� 98
11.10 Validation: Check in Transaction���������������������������������������������������������������������������������������� 99
11.11 Validation: Disallow Code Modification����������������������������������������������������������������������������� 99
11.12 Process: Save Record����������������������������������������������������������������������������������������������������� 100
11.13 Process: Delete Record��������������������������������������������������������������������������������������������������� 101
11.14 Add Button: Refresh�������������������������������������������������������������������������������������������������������� 101
11.15 Test Your Work����������������������������������������������������������������������������������������������������������������� 102
11.16 Summary������������������������������������������������������������������������������������������������������������������������ 103
Chapter 12: Chart of Accounts������������������������������������������������������������������������������ 105
12.1 Create Three Lists of Values���������������������������������������������������������������������������������������������� 106
12.2 Create Pages��������������������������������������������������������������������������������������������������������������������� 107
12.3 Modify the Report Page (Page 15)������������������������������������������������������������������������������������ 108
12.4 Modify the Form Page (Page 16)��������������������������������������������������������������������������������������� 108
12.5 Create Dynamic Actions���������������������������������������������������������������������������������������������������� 111
Table of Contents
vii
12.6 Create Validations������������������������������������������������������������������������������������������������������������� 116
12.7 Modify Process: Process Row of GL_COA������������������������������������������������������������������������� 118
12.8 Create Process: Delete Record������������������������������������������������������������������������������������������ 119
12.9 Modify Delete Button�������������������������������������������������������������������������������������������������������� 119
12.10 Modify Save Button��������������������������������������������������������������������������������������������������������� 120
12.11 Delete the Create Button������������������������������������������������������������������������������������������������� 120
12.12 Create a Highlight Rule��������������������������������������������������������������������������������������������������� 120
12.13 Test Your Work����������������������������������������������������������������������������������������������������������������� 121
12.14 Summary������������������������������������������������������������������������������������������������������������������������ 123
Chapter 13: Copy Chart of Accounts��������������������������������������������������������������������� 125
13.1 Create Page����������������������������������������������������������������������������������������������������������������������� 125
13.2 Add Button������������������������������������������������������������������������������������������������������������������������ 127
13.3 Add Validations������������������������������������������������������������������������������������������������������������������ 127
13.4 Copy COA Process������������������������������������������������������������������������������������������������������������� 128
13.5 Test Your Work������������������������������������������������������������������������������������������������������������������� 128
13.6 Summary�������������������������������������������������������������������������������������������������������������������������� 129
Chapter 14: Enter Vouchers���������������������������������������������������������������������������������� 131
14.1 Create List of Values��������������������������������������������������������������������������������������������������������� 133
14.2 Create Pages��������������������������������������������������������������������������������������������������������������������� 134
14.3 Modify the Master Page (Page 42)������������������������������������������������������������������������������������ 135
14.4 Add Items (Page 42)���������������������������������������������������������������������������������������������������������� 136
14.5 Modify Button (Page 42)���������������������������������������������������������������������������������������������������� 138
14.6 Modify the Detail Page (Page 43)�������������������������������������������������������������������������������������� 138
14.7 Add/Modify Items�������������������������������������������������������������������������������������������������������������� 140
14.8 Modify Validations on Page 43������������������������������������������������������������������������������������������ 141
14.9 Add Page Items to Show Totals����������������������������������������������������������������������������������������� 142
14.10 Add JavaScript to Evaluate Difference���������������������������������������������������������������������������� 144
14.11 Create Dynamic Actions�������������������������������������������������������������������������������������������������� 144
14.12 Add Validations to Page 43���������������������������������������������������������������������������������������������� 146
14.13 Modify Processes������������������������������������������������������������������������������������������������������������ 148
Table of Contents
viii
14.14 Control Buttons��������������������������������������������������������������������������������������������������������������� 150
14.15 Test Your Work����������������������������������������������������������������������������������������������������������������� 150
14.16 Summary������������������������������������������������������������������������������������������������������������������������ 152
Chapter 15: Search Transactions�������������������������������������������������������������������������� 153
15.1 Create Page and Parameters Region�������������������������������������������������������������������������������� 153
15.2 Create an Interactive Report Region��������������������������������������������������������������������������������� 156
15.3 Add a Dynamic Action������������������������������������������������������������������������������������������������������� 158
15.4 Test Your Work������������������������������������������������������������������������������������������������������������������� 159
15.5 Summary�������������������������������������������������������������������������������������������������������������������������� 160
Chapter 16: Vouchers Verification������������������������������������������������������������������������ 161
16.1 Create Page and Parameters Region�������������������������������������������������������������������������������� 161
16.2 Create Interactive Report Region�������������������������������������������������������������������������������������� 163
16.3 Create Verification Page���������������������������������������������������������������������������������������������������� 166
16.4 Modify, Delete, and Create Page Buttons�������������������������������������������������������������������������� 166
16.5 Modify Page-Rendering Process��������������������������������������������������������������������������������������� 168
16.6 Delete Validations������������������������������������������������������������������������������������������������������������� 168
16.7 Delete Processes�������������������������������������������������������������������������������������������������������������� 168
16.8 Add Processes������������������������������������������������������������������������������������������������������������������� 169
16.9 Handle Branches��������������������������������������������������������������������������������������������������������������� 170
16.10 Test Your Work����������������������������������������������������������������������������������������������������������������� 171
16.11 Summary������������������������������������������������������������������������������������������������������������������������ 172
Chapter 17: Vouchers Report�������������������������������������������������������������������������������� 173
17.1 Download and Configure JasperReportsIntegration��������������������������������������������������������� 173
17.2 Install Apache Tomcat������������������������������������������������������������������������������������������������������� 174
17.3 Grant Network Privileges�������������������������������������������������������������������������������������������������� 175
17.4 Creating PDF Reports in Oracle APEX Using JasperReports��������������������������������������������� 176
17.5 Create Database Connection��������������������������������������������������������������������������������������������� 176
17.6 Create Vouchers Report���������������������������������������������������������������������������������������������������� 179
17.6.1 Specify Data Source������������������������������������������������������������������������������������������������� 179
17.6.2 Designing Report������������������������������������������������������������������������������������������������������ 183
Table of Contents
ix
17.7 Copy the Compiled Report������������������������������������������������������������������������������������������������ 188
17.8 Integrating Report with Oracle APEX��������������������������������������������������������������������������������� 188
17.8.1 Create a List of Values���������������������������������������������������������������������������������������������� 189
17.8.2 Create the Parameters Form������������������������������������������������������������������������������������ 189
17.9 Summary�������������������������������������������������������������������������������������������������������������������������� 194
Chapter 18: Ledger Report������������������������������������������������������������������������������������ 195
18.1 Create Page and Parameters Form����������������������������������������������������������������������������������� 195
18.2 Create an Interactive Report Region��������������������������������������������������������������������������������� 199
18.3 Formatting Ledger Report������������������������������������������������������������������������������������������������� 200
18.4 Get Ledger Report in PDF�������������������������������������������������������������������������������������������������� 201
18.5 Drill Down to Source Voucher������������������������������������������������������������������������������������������� 201
18.5.1 Create Link in Interactive Report������������������������������������������������������������������������������ 201
18.5.2 Create Voucher Page������������������������������������������������������������������������������������������������ 202
18.6 Test Your Work������������������������������������������������������������������������������������������������������������������ 203
18.7 Summary�������������������������������������������������������������������������������������������������������������������������� 204
Chapter 19: Trial Balance Report�������������������������������������������������������������������������� 205
19.1 Trial Balance Report Table������������������������������������������������������������������������������������������������� 205
19.2 Create a List of Values������������������������������������������������������������������������������������������������������ 206
19.3 Create Page and Parameters Form����������������������������������������������������������������������������������� 206
19.4 Create the Interactive Report Region�������������������������������������������������������������������������������� 209
19.5 Create a Process to Generate Trial Balance���������������������������������������������������������������������� 209
19.6 Formatting the Trial Balance Report��������������������������������������������������������������������������������� 210
19.7 Print the Selected Level���������������������������������������������������������������������������������������������������� 212
19.7.1 Create Process��������������������������������������������������������������������������������������������������������� 212
19.8 Eliminate Zero Balances��������������������������������������������������������������������������������������������������� 213
19.8.1 Create a Process������������������������������������������������������������������������������������������������������ 214
19.9 Create a Validation������������������������������������������������������������������������������������������������������������ 215
19.10 Get the Trial Balance Report in PDF�������������������������������������������������������������������������������� 215
19.11 Drill Down to the Ledger Report�������������������������������������������������������������������������������������� 215
19.12 Test Your Work����������������������������������������������������������������������������������������������������������������� 216
19.13 Summary������������������������������������������������������������������������������������������������������������������������ 217
Table of Contents
x
Chapter 20: Opening Bank Transactions��������������������������������������������������������������� 219
20.1 Create Page����������������������������������������������������������������������������������������������������������������������� 220
20.2 Modify Region Source Query�������������������������������������������������������������������������������������������� 220
20.3 Modify Interactive Grid Column����������������������������������������������������������������������������������������� 221
20.4 Test Your Work������������������������������������������������������������������������������������������������������������������� 222
20.5 Summary�������������������������������������������������������������������������������������������������������������������������� 222
Chapter 21: Bank Reconciliation�������������������������������������������������������������������������� 223
21.1 Create Page and Parameters Form����������������������������������������������������������������������������������� 223
21.2 Display Outstanding Opening Transactions����������������������������������������������������������������������� 225
21.3 Modify Reconcile Opening Form��������������������������������������������������������������������������������������� 227
21.4 Current Transactions Region��������������������������������������������������������������������������������������������� 228
21.5 Test Your Work������������������������������������������������������������������������������������������������������������������� 230
21.6 Summary�������������������������������������������������������������������������������������������������������������������������� 231
Chapter 22: Bank Reconciliation Report��������������������������������������������������������������� 233
22.1 The Bank Reconciliation Report Table������������������������������������������������������������������������������� 233
22.2 Create the Parameters Form��������������������������������������������������������������������������������������������� 234
22.3 Create the Interactive Report�������������������������������������������������������������������������������������������� 236
22.4 Create the Reconciliation Report Generation Process������������������������������������������������������ 236
22.5 Format the Reconciliation Report������������������������������������������������������������������������������������� 237
22.6 Generate the PDF Report��������������������������������������������������������������������������������������������������� 238
22.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 238
22.8 Summary�������������������������������������������������������������������������������������������������������������������������� 239
Chapter 23: Month Closure����������������������������������������������������������������������������������� 241
23.1 Create Page and Page Items��������������������������������������������������������������������������������������������� 241
23.2 Show Unverified Vouchers������������������������������������������������������������������������������������������������ 243
23.3 Add Validation������������������������������������������������������������������������������������������������������������������� 244
23.4 Close Month Process�������������������������������������������������������������������������������������������������������� 245
23.5 Hide Buttons��������������������������������������������������������������������������������������������������������������������� 246
23.6 Summary�������������������������������������������������������������������������������������������������������������������������� 248
Table of Contents
xi
Chapter 24: Year-End Processes��������������������������������������������������������������������������� 249
24.1 Enter Opening Balances���������������������������������������������������������������������������������������������������� 249
24.2 Temporary Year-End (TYE)������������������������������������������������������������������������������������������������� 251
24.3 Create the Page and Page Items��������������������������������������������������������������������������������������� 251
24.4 Create a Validation������������������������������������������������������������������������������������������������������������ 253
24.5 Generate the Fiscal Year Process�������������������������������������������������������������������������������������� 254
24.6 A Process to Generate a Closing Entry������������������������������������������������������������������������������ 254
24.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 255
24.8 Permanent Year End (PYE)������������������������������������������������������������������������������������������������ 255
24.9 Create the Page and Page Items��������������������������������������������������������������������������������������� 256
24.10 Create the Validations����������������������������������������������������������������������������������������������������� 257
24.11 A Process to Close the Year Permanently����������������������������������������������������������������������� 258
24.12 Test Your Work����������������������������������������������������������������������������������������������������������������� 258
24.13 Summary������������������������������������������������������������������������������������������������������������������������ 259
Chapter 25: Budget Allocation������������������������������������������������������������������������������ 261
25.1 Budget Allocation Table����������������������������������������������������������������������������������������������������� 261
25.2 Create the Page and Parameters Form����������������������������������������������������������������������������� 261
25.3 Add an Interactive Grid������������������������������������������������������������������������������������������������������ 265
25.4 Budget Processes������������������������������������������������������������������������������������������������������������� 267
25.5 Test Your Work������������������������������������������������������������������������������������������������������������������� 268
25.6 Summary�������������������������������������������������������������������������������������������������������������������������� 269
Chapter 26: Budget Report����������������������������������������������������������������������������������� 271
26.1 Budget Report Table���������������������������������������������������������������������������������������������������������� 271
26.2 Create Page and Parameters Form����������������������������������������������������������������������������������� 271
26.3 Create Computations�������������������������������������������������������������������������������������������������������� 277
26.4 Create Interactive Report�������������������������������������������������������������������������������������������������� 278
26.5 Budget Report Generation Process����������������������������������������������������������������������������������� 279
26.6 Test Your Work������������������������������������������������������������������������������������������������������������������ 279
26.7 Summary�������������������������������������������������������������������������������������������������������������������������� 281
Table of Contents
xii
Chapter 27: Set Up Accounts for Financial Statements���������������������������������������� 283
27.1 Accounts Table for the Financial Statements�������������������������������������������������������������������� 283
27.2 Create a List of Values������������������������������������������������������������������������������������������������������ 284
27.3 Create Page and Page Items��������������������������������������������������������������������������������������������� 285
27.4 Add an Interactive Grid������������������������������������������������������������������������������������������������������ 290
27.5 Create Validations������������������������������������������������������������������������������������������������������������� 291
27.6 Modify Save Interactive Grid Data Process����������������������������������������������������������������������� 292
27.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 293
27.8 Summary�������������������������������������������������������������������������������������������������������������������������� 294
Chapter 28: Financial Statements������������������������������������������������������������������������ 295
28.1 Financial Statements Table����������������������������������������������������������������������������������������������� 295
28.2 Create Page and Page Items��������������������������������������������������������������������������������������������� 295
28.3 Create Interactive Report and Buttons������������������������������������������������������������������������������ 301
28.4 Create Computations�������������������������������������������������������������������������������������������������������� 302
28.5 Create Ajax Callback Processes���������������������������������������������������������������������������������������� 304
28.6 Create Branches���������������������������������������������������������������������������������������������������������������� 305
28.7 Create Page for Financial Statements Notes�������������������������������������������������������������������� 307
28.8 Create Column Link����������������������������������������������������������������������������������������������������������� 308
28.9 Enter Vouchers������������������������������������������������������������������������������������������������������������������ 309
28.10 Test Your Work���������������������������������������������������������������������������������������������������������������� 309
28.11 Summary������������������������������������������������������������������������������������������������������������������������ 310
Chapter 29: Executive Dashboard������������������������������������������������������������������������� 311
29.1 Dashboard Table��������������������������������������������������������������������������������������������������������������� 311
29.2 Copy Components to the Home Page�������������������������������������������������������������������������������� 311
29.3 Create Regions������������������������������������������������������������������������������������������������������������������ 313
29.4 Create Chart Subregion����������������������������������������������������������������������������������������������������� 314
29.5 Create a Hidden Item�������������������������������������������������������������������������������������������������������� 315
29.6 Copy Chart Regions����������������������������������������������������������������������������������������������������������� 315
29.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 319
29.8 Summary�������������������������������������������������������������������������������������������������������������������������� 320
Table of Contents
2019 bookmatter cloud_computingusingoracleappli
2019 bookmatter cloud_computingusingoracleappli
2019 bookmatter cloud_computingusingoracleappli
2019 bookmatter cloud_computingusingoracleappli

More Related Content

Similar to 2019 bookmatter cloud_computingusingoracleappli

News Of The World (Kyiv Project Conference, 28/03/2014)
News Of The World (Kyiv Project Conference, 28/03/2014)News Of The World (Kyiv Project Conference, 28/03/2014)
News Of The World (Kyiv Project Conference, 28/03/2014)
Olexiy Prosnitskyy
 
Социальная сеть для бизнеса
Социальная сеть для бизнесаСоциальная сеть для бизнеса
Социальная сеть для бизнеса
Maxim Kunnik
 
Презентация - Академическая инициатива IBM_final, 11.11.14
Презентация - Академическая инициатива IBM_final, 11.11.14Презентация - Академическая инициатива IBM_final, 11.11.14
Презентация - Академическая инициатива IBM_final, 11.11.14
Alexey Polunin
 
общая презентация услуг Ircit
общая презентация услуг Ircitобщая презентация услуг Ircit
общая презентация услуг Ircit
guest11b3140
 
дмитрий андреев Microsoft и инновационное предпринимательство в россии
дмитрий андреев   Microsoft и инновационное предпринимательство в россиидмитрий андреев   Microsoft и инновационное предпринимательство в россии
дмитрий андреев Microsoft и инновационное предпринимательство в россии
UNOVA
 
Adj sample memo i presst ru v 0 9 копия
Adj sample memo i presst ru v 0 9   копияAdj sample memo i presst ru v 0 9   копия
Adj sample memo i presst ru v 0 9 копия
ivgeniya
 
Adj sample memo i presst ru v 0 9
Adj sample memo i presst ru v 0 9Adj sample memo i presst ru v 0 9
Adj sample memo i presst ru v 0 9
ivgeniya
 
BIG DIG presentation 2012 eng
BIG DIG presentation 2012 engBIG DIG presentation 2012 eng
BIG DIG presentation 2012 eng
Sergey Pontus
 

Similar to 2019 bookmatter cloud_computingusingoracleappli (20)

Создание сайта
Создание сайтаСоздание сайта
Создание сайта
 
News Of The World (Kyiv Project Conference, 28/03/2014)
News Of The World (Kyiv Project Conference, 28/03/2014)News Of The World (Kyiv Project Conference, 28/03/2014)
News Of The World (Kyiv Project Conference, 28/03/2014)
 
В. Лиходеевский (PwC) - Мировые тренды - сектор технологий
В. Лиходеевский (PwC) - Мировые тренды - сектор технологийВ. Лиходеевский (PwC) - Мировые тренды - сектор технологий
В. Лиходеевский (PwC) - Мировые тренды - сектор технологий
 
Социальная сеть для бизнеса
Социальная сеть для бизнесаСоциальная сеть для бизнеса
Социальная сеть для бизнеса
 
Журнал форума CloudsNN 2014
Журнал форума CloudsNN 2014Журнал форума CloudsNN 2014
Журнал форума CloudsNN 2014
 
Microsoft и поддержка софтверного предпринимательства в России
Microsoft и поддержка софтверного предпринимательства в РоссииMicrosoft и поддержка софтверного предпринимательства в России
Microsoft и поддержка софтверного предпринимательства в России
 
Artery, company presentation
Artery, company presentationArtery, company presentation
Artery, company presentation
 
Презентация - Академическая инициатива IBM_final, 11.11.14
Презентация - Академическая инициатива IBM_final, 11.11.14Презентация - Академическая инициатива IBM_final, 11.11.14
Презентация - Академическая инициатива IBM_final, 11.11.14
 
общая презентация услуг Ircit
общая презентация услуг Ircitобщая презентация услуг Ircit
общая презентация услуг Ircit
 
Splunk как платформа и интеграция Splunk с решениями Cisco
Splunk как платформа и интеграция Splunk с решениями CiscoSplunk как платформа и интеграция Splunk с решениями Cisco
Splunk как платформа и интеграция Splunk с решениями Cisco
 
дмитрий андреев Microsoft и инновационное предпринимательство в россии
дмитрий андреев   Microsoft и инновационное предпринимательство в россиидмитрий андреев   Microsoft и инновационное предпринимательство в россии
дмитрий андреев Microsoft и инновационное предпринимательство в россии
 
Adj sample memo i presst ru v 0 9 копия
Adj sample memo i presst ru v 0 9   копияAdj sample memo i presst ru v 0 9   копия
Adj sample memo i presst ru v 0 9 копия
 
Adj sample memo i presst ru v 0 9
Adj sample memo i presst ru v 0 9Adj sample memo i presst ru v 0 9
Adj sample memo i presst ru v 0 9
 
!буклет
!буклет!буклет
!буклет
 
BIG DIG presentation 2012 eng
BIG DIG presentation 2012 engBIG DIG presentation 2012 eng
BIG DIG presentation 2012 eng
 
Услуги КРОК по разработке ПО
Услуги КРОК по разработке ПОУслуги КРОК по разработке ПО
Услуги КРОК по разработке ПО
 
Strashnov_Speech_RSU
Strashnov_Speech_RSUStrashnov_Speech_RSU
Strashnov_Speech_RSU
 
about_AREALIDEA, Interactive Agency
about_AREALIDEA, Interactive Agencyabout_AREALIDEA, Interactive Agency
about_AREALIDEA, Interactive Agency
 
AREALIDEA
AREALIDEAAREALIDEA
AREALIDEA
 
Локализация и глобализация для Windows Phone Store приложений
Локализация и глобализация для Windows Phone Store приложенийЛокализация и глобализация для Windows Phone Store приложений
Локализация и глобализация для Windows Phone Store приложений
 

More from Mohamedcpcbma (9)

Spawithapex0 150815075436-lva1-app6891
Spawithapex0 150815075436-lva1-app6891Spawithapex0 150815075436-lva1-app6891
Spawithapex0 150815075436-lva1-app6891
 
Sewtz apex ui
Sewtz apex uiSewtz apex ui
Sewtz apex ui
 
Oracleapex 150914085107-lva1-app6892
Oracleapex 150914085107-lva1-app6892Oracleapex 150914085107-lva1-app6892
Oracleapex 150914085107-lva1-app6892
 
E fw b4rbr62uiizvvipyb_cannell_lowcodelowdown_apex_vbcs
E fw b4rbr62uiizvvipyb_cannell_lowcodelowdown_apex_vbcsE fw b4rbr62uiizvvipyb_cannell_lowcodelowdown_apex_vbcs
E fw b4rbr62uiizvvipyb_cannell_lowcodelowdown_apex_vbcs
 
Apexandfreeadboow19tues 190924225740
Apexandfreeadboow19tues 190924225740Apexandfreeadboow19tues 190924225740
Apexandfreeadboow19tues 190924225740
 
201505 beena v0
201505 beena v0201505 beena v0
201505 beena v0
 
2019 dev-marc sewtz-session-keynote-oracle_apex_19__neue_features_und_roadmap...
2019 dev-marc sewtz-session-keynote-oracle_apex_19__neue_features_und_roadmap...2019 dev-marc sewtz-session-keynote-oracle_apex_19__neue_features_und_roadmap...
2019 dev-marc sewtz-session-keynote-oracle_apex_19__neue_features_und_roadmap...
 
2016 bookmatter oracle_applicationexpressadmini
2016 bookmatter oracle_applicationexpressadmini2016 bookmatter oracle_applicationexpressadmini
2016 bookmatter oracle_applicationexpressadmini
 
2016 bookmatter oracle_applicationexpressadmini (1)
2016 bookmatter oracle_applicationexpressadmini (1)2016 bookmatter oracle_applicationexpressadmini (1)
2016 bookmatter oracle_applicationexpressadmini (1)
 

2019 bookmatter cloud_computingusingoracleappli

  • 1. Cloud Computing Using Oracle Application Express Develop Internet-Facing Business Applications Accessible Anywhere and Anytime Second Edition Riaz Ahmed
  • 2. Cloud Computing Using Oracle Application Express: Develop Internet-Facing Business Applications Accessible Anywhere and Anytime ISBN-13 (pbk): 978-1-4842-4242-1 ISBN-13 (electronic): 978-1-4842-4243-8 https://doi.org/10.1007/978-1-4842-4243-8 Library of Congress Control Number: 2018964483 Copyright © 2019 by Riaz Ahmed This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Managing Director, Apress Media LLC: Welmoed Spahr Acquisitions Editor: Celestin Suresh John Development Editor: Matthew Moodie Coordinating Editor: Shrikant Vishwakarma Cover designed by eStudioCalamar Cover image designed by Freepik (www.freepik.com) Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer- sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation. For information on translations, please e-mail rights@apress.com, or visit http://www.apress.com/ rights-permissions. Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales web page at http://www.apress.com/bulk-sales. Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the book’s product page, located at www.apress.com/978-1-4842-4242-1. For more detailed information, please visit http://www.apress.com/source-code. Printed on acid-free paper Riaz Ahmed Karachi, Pakistan
  • 3. iii Table of Contents Chapter 1: Introduction to Cloud Computing and the Application Project���������������� 1 1.1 An Introduction to Cloud Computing��������������������������������������������������������������������������������������� 1 1.2 Public vs. Private Cloud���������������������������������������������������������������������������������������������������������� 2 1.3 What Is Accounting?���������������������������������������������������������������������������������������������������������������� 4 1.4 Accounting System����������������������������������������������������������������������������������������������������������������� 4 1.5 General Ledger������������������������������������������������������������������������������������������������������������������������ 5 1.6 The Cloud Accountant General Ledger Project������������������������������������������������������������������������ 6 1.7 Development Environment������������������������������������������������������������������������������������������������������ 7 1.8 Application Segments������������������������������������������������������������������������������������������������������������� 7 1.9 Summary�������������������������������������������������������������������������������������������������������������������������������� 9 Chapter 2: Application Navigation�������������������������������������������������������������������������� 11 2.1 Create the Main Application Menu���������������������������������������������������������������������������������������� 11 2.2 Modify/Add Navigation Bar Entries��������������������������������������������������������������������������������������� 14 2.3 Summary������������������������������������������������������������������������������������������������������������������������������ 16 Chapter 3: Companies�������������������������������������������������������������������������������������������� 17 3.1 Create Application Tables������������������������������������������������������������������������������������������������������ 17 3.2 Create Pages for Company Setup����������������������������������������������������������������������������������������� 18 3.3 Summary������������������������������������������������������������������������������������������������������������������������������ 19 About the Author�����������������������������������������������������������������������������������������������������xv About the Technical Reviewers�����������������������������������������������������������������������������xvii Introduction������������������������������������������������������������������������������������������������������������xix
  • 4. iv Chapter 4: Fiscal Year��������������������������������������������������������������������������������������������� 21 4.1 Create List of Values������������������������������������������������������������������������������������������������������������� 22 4.2 Create Page and Parameters Region������������������������������������������������������������������������������������ 23 4.3 Create a Fiscal Year Grid������������������������������������������������������������������������������������������������������� 25 4.4 Add Items to Hold Months/Dates������������������������������������������������������������������������������������������� 27 4.5 Create Buttons to Generate, Save, and Remove a Fiscal Year����������������������������������������������� 28 4.6 Generate Fiscal Year Process������������������������������������������������������������������������������������������������ 30 4.7 Save Fiscal Year Process������������������������������������������������������������������������������������������������������ 30 4.8 Delete Fiscal Year Process���������������������������������������������������������������������������������������������������� 31 4.9 Fetch Fiscal Year Dynamic Action����������������������������������������������������������������������������������������� 31 4.10 Create Validation: Check Transaction���������������������������������������������������������������������������������� 32 4.11 Create Branch��������������������������������������������������������������������������������������������������������������������� 33 4.12 Dynamic Actions to Hide Buttons���������������������������������������������������������������������������������������� 34 4.13 Test Your Work��������������������������������������������������������������������������������������������������������������������� 38 4.14 Summary���������������������������������������������������������������������������������������������������������������������������� 39 Chapter 5: Voucher Types��������������������������������������������������������������������������������������� 41 5.1 Create List of Values������������������������������������������������������������������������������������������������������������� 41 5.2 Create Pages for Voucher Types Setup��������������������������������������������������������������������������������� 42 5.2.1 Convert Text Item to Radio Group��������������������������������������������������������������������������������� 43 5.3 Create Validation: Check Transaction������������������������������������������������������������������������������������ 44 5.4 Test Your Work����������������������������������������������������������������������������������������������������������������������� 44 5.5 Summary������������������������������������������������������������������������������������������������������������������������������ 45 Chapter 6: Application Segments��������������������������������������������������������������������������� 47 6.1 Create Lists of Values������������������������������������������������������������������������������������������������������������ 48 6.2 Create Segments Setup Pages��������������������������������������������������������������������������������������������� 48 6.3 Modify Segments Form��������������������������������������������������������������������������������������������������������� 49 6.4 Add Tree View Region������������������������������������������������������������������������������������������������������������ 51 6.5 Create Buttons���������������������������������������������������������������������������������������������������������������������� 51 6.6 Create Validations����������������������������������������������������������������������������������������������������������������� 53 Table of Contents
  • 5. v 6.7 Create Branch����������������������������������������������������������������������������������������������������������������������� 53 6.8 Test Your Work����������������������������������������������������������������������������������������������������������������������� 54 6.9 Summary������������������������������������������������������������������������������������������������������������������������������ 56 Chapter 7: User Groups������������������������������������������������������������������������������������������� 57 7.1 Page and Parameters Region������������������������������������������������������������������������������������������������ 58 7.2 Buttons���������������������������������������������������������������������������������������������������������������������������������� 61 7.3 New Group Process��������������������������������������������������������������������������������������������������������������� 62 7.4 Delete Group Button�������������������������������������������������������������������������������������������������������������� 63 7.5 Delete Group Process������������������������������������������������������������������������������������������������������������ 63 7.6 Group Privileges Region�������������������������������������������������������������������������������������������������������� 64 7.7 Tree Region��������������������������������������������������������������������������������������������������������������������������� 65 7.8 Add Classic Report Region���������������������������������������������������������������������������������������������������� 66 7.9 Dynamic Action to Refresh Region���������������������������������������������������������������������������������������� 67 7.10 Add Button and a Process to Allow/Revoke Segment Access Right����������������������������������� 68 7.11 Test Your Work��������������������������������������������������������������������������������������������������������������������� 69 7.12 Summary���������������������������������������������������������������������������������������������������������������������������� 70 Chapter 8: Create Users������������������������������������������������������������������������������������������ 71 8.1 Create Pages������������������������������������������������������������������������������������������������������������������������� 72 8.2 Create/Modify Items�������������������������������������������������������������������������������������������������������������� 73 8.3 Create a Process to Set Company, Year, and Month�������������������������������������������������������������� 75 8.4 Test Your Work����������������������������������������������������������������������������������������������������������������������� 75 8.5 Summary������������������������������������������������������������������������������������������������������������������������������ 76 Chapter 9: Reset Password������������������������������������������������������������������������������������� 77 9.1 Add Custom Functions���������������������������������������������������������������������������������������������������������� 77 9.2 Create Page��������������������������������������������������������������������������������������������������������������������������� 79 9.3 Check User ID and Match Password Validations������������������������������������������������������������������� 82 9.4 Update Password Process���������������������������������������������������������������������������������������������������� 82 9.5 Change Authentication Scheme�������������������������������������������������������������������������������������������� 83 9.6 Summary������������������������������������������������������������������������������������������������������������������������������ 84 Table of Contents
  • 6. vi Chapter 10: Switch Company, Year, and Month������������������������������������������������������ 85 10.1 Create Page������������������������������������������������������������������������������������������������������������������������� 85 10.2 Add Button�������������������������������������������������������������������������������������������������������������������������� 88 10.3 Add Validations�������������������������������������������������������������������������������������������������������������������� 89 10.4 Update User Profile Process����������������������������������������������������������������������������������������������� 90 10.5 Display Company, Year, and Month�������������������������������������������������������������������������������������� 90 10.6 Summary���������������������������������������������������������������������������������������������������������������������������� 92 Chapter 11: Cost Centers���������������������������������������������������������������������������������������� 93 11.1 Create Pages����������������������������������������������������������������������������������������������������������������������� 93 11.2 Delete Processes���������������������������������������������������������������������������������������������������������������� 95 11.3 Modify Delete Button���������������������������������������������������������������������������������������������������������� 95 11.4 Add Button�������������������������������������������������������������������������������������������������������������������������� 95 11.5 Modify Page Items�������������������������������������������������������������������������������������������������������������� 96 11.6 Add Dynamic Action: Evaluate Level����������������������������������������������������������������������������������� 97 11.7 Validation: Check Level������������������������������������������������������������������������������������������������������� 97 11.8 Validation: Check Parent Level�������������������������������������������������������������������������������������������� 98 11.9 Validation: Check Child Level���������������������������������������������������������������������������������������������� 98 11.10 Validation: Check in Transaction���������������������������������������������������������������������������������������� 99 11.11 Validation: Disallow Code Modification����������������������������������������������������������������������������� 99 11.12 Process: Save Record����������������������������������������������������������������������������������������������������� 100 11.13 Process: Delete Record��������������������������������������������������������������������������������������������������� 101 11.14 Add Button: Refresh�������������������������������������������������������������������������������������������������������� 101 11.15 Test Your Work����������������������������������������������������������������������������������������������������������������� 102 11.16 Summary������������������������������������������������������������������������������������������������������������������������ 103 Chapter 12: Chart of Accounts������������������������������������������������������������������������������ 105 12.1 Create Three Lists of Values���������������������������������������������������������������������������������������������� 106 12.2 Create Pages��������������������������������������������������������������������������������������������������������������������� 107 12.3 Modify the Report Page (Page 15)������������������������������������������������������������������������������������ 108 12.4 Modify the Form Page (Page 16)��������������������������������������������������������������������������������������� 108 12.5 Create Dynamic Actions���������������������������������������������������������������������������������������������������� 111 Table of Contents
  • 7. vii 12.6 Create Validations������������������������������������������������������������������������������������������������������������� 116 12.7 Modify Process: Process Row of GL_COA������������������������������������������������������������������������� 118 12.8 Create Process: Delete Record������������������������������������������������������������������������������������������ 119 12.9 Modify Delete Button�������������������������������������������������������������������������������������������������������� 119 12.10 Modify Save Button��������������������������������������������������������������������������������������������������������� 120 12.11 Delete the Create Button������������������������������������������������������������������������������������������������� 120 12.12 Create a Highlight Rule��������������������������������������������������������������������������������������������������� 120 12.13 Test Your Work����������������������������������������������������������������������������������������������������������������� 121 12.14 Summary������������������������������������������������������������������������������������������������������������������������ 123 Chapter 13: Copy Chart of Accounts��������������������������������������������������������������������� 125 13.1 Create Page����������������������������������������������������������������������������������������������������������������������� 125 13.2 Add Button������������������������������������������������������������������������������������������������������������������������ 127 13.3 Add Validations������������������������������������������������������������������������������������������������������������������ 127 13.4 Copy COA Process������������������������������������������������������������������������������������������������������������� 128 13.5 Test Your Work������������������������������������������������������������������������������������������������������������������� 128 13.6 Summary�������������������������������������������������������������������������������������������������������������������������� 129 Chapter 14: Enter Vouchers���������������������������������������������������������������������������������� 131 14.1 Create List of Values��������������������������������������������������������������������������������������������������������� 133 14.2 Create Pages��������������������������������������������������������������������������������������������������������������������� 134 14.3 Modify the Master Page (Page 42)������������������������������������������������������������������������������������ 135 14.4 Add Items (Page 42)���������������������������������������������������������������������������������������������������������� 136 14.5 Modify Button (Page 42)���������������������������������������������������������������������������������������������������� 138 14.6 Modify the Detail Page (Page 43)�������������������������������������������������������������������������������������� 138 14.7 Add/Modify Items�������������������������������������������������������������������������������������������������������������� 140 14.8 Modify Validations on Page 43������������������������������������������������������������������������������������������ 141 14.9 Add Page Items to Show Totals����������������������������������������������������������������������������������������� 142 14.10 Add JavaScript to Evaluate Difference���������������������������������������������������������������������������� 144 14.11 Create Dynamic Actions�������������������������������������������������������������������������������������������������� 144 14.12 Add Validations to Page 43���������������������������������������������������������������������������������������������� 146 14.13 Modify Processes������������������������������������������������������������������������������������������������������������ 148 Table of Contents
  • 8. viii 14.14 Control Buttons��������������������������������������������������������������������������������������������������������������� 150 14.15 Test Your Work����������������������������������������������������������������������������������������������������������������� 150 14.16 Summary������������������������������������������������������������������������������������������������������������������������ 152 Chapter 15: Search Transactions�������������������������������������������������������������������������� 153 15.1 Create Page and Parameters Region�������������������������������������������������������������������������������� 153 15.2 Create an Interactive Report Region��������������������������������������������������������������������������������� 156 15.3 Add a Dynamic Action������������������������������������������������������������������������������������������������������� 158 15.4 Test Your Work������������������������������������������������������������������������������������������������������������������� 159 15.5 Summary�������������������������������������������������������������������������������������������������������������������������� 160 Chapter 16: Vouchers Verification������������������������������������������������������������������������ 161 16.1 Create Page and Parameters Region�������������������������������������������������������������������������������� 161 16.2 Create Interactive Report Region�������������������������������������������������������������������������������������� 163 16.3 Create Verification Page���������������������������������������������������������������������������������������������������� 166 16.4 Modify, Delete, and Create Page Buttons�������������������������������������������������������������������������� 166 16.5 Modify Page-Rendering Process��������������������������������������������������������������������������������������� 168 16.6 Delete Validations������������������������������������������������������������������������������������������������������������� 168 16.7 Delete Processes�������������������������������������������������������������������������������������������������������������� 168 16.8 Add Processes������������������������������������������������������������������������������������������������������������������� 169 16.9 Handle Branches��������������������������������������������������������������������������������������������������������������� 170 16.10 Test Your Work����������������������������������������������������������������������������������������������������������������� 171 16.11 Summary������������������������������������������������������������������������������������������������������������������������ 172 Chapter 17: Vouchers Report�������������������������������������������������������������������������������� 173 17.1 Download and Configure JasperReportsIntegration��������������������������������������������������������� 173 17.2 Install Apache Tomcat������������������������������������������������������������������������������������������������������� 174 17.3 Grant Network Privileges�������������������������������������������������������������������������������������������������� 175 17.4 Creating PDF Reports in Oracle APEX Using JasperReports��������������������������������������������� 176 17.5 Create Database Connection��������������������������������������������������������������������������������������������� 176 17.6 Create Vouchers Report���������������������������������������������������������������������������������������������������� 179 17.6.1 Specify Data Source������������������������������������������������������������������������������������������������� 179 17.6.2 Designing Report������������������������������������������������������������������������������������������������������ 183 Table of Contents
  • 9. ix 17.7 Copy the Compiled Report������������������������������������������������������������������������������������������������ 188 17.8 Integrating Report with Oracle APEX��������������������������������������������������������������������������������� 188 17.8.1 Create a List of Values���������������������������������������������������������������������������������������������� 189 17.8.2 Create the Parameters Form������������������������������������������������������������������������������������ 189 17.9 Summary�������������������������������������������������������������������������������������������������������������������������� 194 Chapter 18: Ledger Report������������������������������������������������������������������������������������ 195 18.1 Create Page and Parameters Form����������������������������������������������������������������������������������� 195 18.2 Create an Interactive Report Region��������������������������������������������������������������������������������� 199 18.3 Formatting Ledger Report������������������������������������������������������������������������������������������������� 200 18.4 Get Ledger Report in PDF�������������������������������������������������������������������������������������������������� 201 18.5 Drill Down to Source Voucher������������������������������������������������������������������������������������������� 201 18.5.1 Create Link in Interactive Report������������������������������������������������������������������������������ 201 18.5.2 Create Voucher Page������������������������������������������������������������������������������������������������ 202 18.6 Test Your Work������������������������������������������������������������������������������������������������������������������ 203 18.7 Summary�������������������������������������������������������������������������������������������������������������������������� 204 Chapter 19: Trial Balance Report�������������������������������������������������������������������������� 205 19.1 Trial Balance Report Table������������������������������������������������������������������������������������������������� 205 19.2 Create a List of Values������������������������������������������������������������������������������������������������������ 206 19.3 Create Page and Parameters Form����������������������������������������������������������������������������������� 206 19.4 Create the Interactive Report Region�������������������������������������������������������������������������������� 209 19.5 Create a Process to Generate Trial Balance���������������������������������������������������������������������� 209 19.6 Formatting the Trial Balance Report��������������������������������������������������������������������������������� 210 19.7 Print the Selected Level���������������������������������������������������������������������������������������������������� 212 19.7.1 Create Process��������������������������������������������������������������������������������������������������������� 212 19.8 Eliminate Zero Balances��������������������������������������������������������������������������������������������������� 213 19.8.1 Create a Process������������������������������������������������������������������������������������������������������ 214 19.9 Create a Validation������������������������������������������������������������������������������������������������������������ 215 19.10 Get the Trial Balance Report in PDF�������������������������������������������������������������������������������� 215 19.11 Drill Down to the Ledger Report�������������������������������������������������������������������������������������� 215 19.12 Test Your Work����������������������������������������������������������������������������������������������������������������� 216 19.13 Summary������������������������������������������������������������������������������������������������������������������������ 217 Table of Contents
  • 10. x Chapter 20: Opening Bank Transactions��������������������������������������������������������������� 219 20.1 Create Page����������������������������������������������������������������������������������������������������������������������� 220 20.2 Modify Region Source Query�������������������������������������������������������������������������������������������� 220 20.3 Modify Interactive Grid Column����������������������������������������������������������������������������������������� 221 20.4 Test Your Work������������������������������������������������������������������������������������������������������������������� 222 20.5 Summary�������������������������������������������������������������������������������������������������������������������������� 222 Chapter 21: Bank Reconciliation�������������������������������������������������������������������������� 223 21.1 Create Page and Parameters Form����������������������������������������������������������������������������������� 223 21.2 Display Outstanding Opening Transactions����������������������������������������������������������������������� 225 21.3 Modify Reconcile Opening Form��������������������������������������������������������������������������������������� 227 21.4 Current Transactions Region��������������������������������������������������������������������������������������������� 228 21.5 Test Your Work������������������������������������������������������������������������������������������������������������������� 230 21.6 Summary�������������������������������������������������������������������������������������������������������������������������� 231 Chapter 22: Bank Reconciliation Report��������������������������������������������������������������� 233 22.1 The Bank Reconciliation Report Table������������������������������������������������������������������������������� 233 22.2 Create the Parameters Form��������������������������������������������������������������������������������������������� 234 22.3 Create the Interactive Report�������������������������������������������������������������������������������������������� 236 22.4 Create the Reconciliation Report Generation Process������������������������������������������������������ 236 22.5 Format the Reconciliation Report������������������������������������������������������������������������������������� 237 22.6 Generate the PDF Report��������������������������������������������������������������������������������������������������� 238 22.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 238 22.8 Summary�������������������������������������������������������������������������������������������������������������������������� 239 Chapter 23: Month Closure����������������������������������������������������������������������������������� 241 23.1 Create Page and Page Items��������������������������������������������������������������������������������������������� 241 23.2 Show Unverified Vouchers������������������������������������������������������������������������������������������������ 243 23.3 Add Validation������������������������������������������������������������������������������������������������������������������� 244 23.4 Close Month Process�������������������������������������������������������������������������������������������������������� 245 23.5 Hide Buttons��������������������������������������������������������������������������������������������������������������������� 246 23.6 Summary�������������������������������������������������������������������������������������������������������������������������� 248 Table of Contents
  • 11. xi Chapter 24: Year-End Processes��������������������������������������������������������������������������� 249 24.1 Enter Opening Balances���������������������������������������������������������������������������������������������������� 249 24.2 Temporary Year-End (TYE)������������������������������������������������������������������������������������������������� 251 24.3 Create the Page and Page Items��������������������������������������������������������������������������������������� 251 24.4 Create a Validation������������������������������������������������������������������������������������������������������������ 253 24.5 Generate the Fiscal Year Process�������������������������������������������������������������������������������������� 254 24.6 A Process to Generate a Closing Entry������������������������������������������������������������������������������ 254 24.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 255 24.8 Permanent Year End (PYE)������������������������������������������������������������������������������������������������ 255 24.9 Create the Page and Page Items��������������������������������������������������������������������������������������� 256 24.10 Create the Validations����������������������������������������������������������������������������������������������������� 257 24.11 A Process to Close the Year Permanently����������������������������������������������������������������������� 258 24.12 Test Your Work����������������������������������������������������������������������������������������������������������������� 258 24.13 Summary������������������������������������������������������������������������������������������������������������������������ 259 Chapter 25: Budget Allocation������������������������������������������������������������������������������ 261 25.1 Budget Allocation Table����������������������������������������������������������������������������������������������������� 261 25.2 Create the Page and Parameters Form����������������������������������������������������������������������������� 261 25.3 Add an Interactive Grid������������������������������������������������������������������������������������������������������ 265 25.4 Budget Processes������������������������������������������������������������������������������������������������������������� 267 25.5 Test Your Work������������������������������������������������������������������������������������������������������������������� 268 25.6 Summary�������������������������������������������������������������������������������������������������������������������������� 269 Chapter 26: Budget Report����������������������������������������������������������������������������������� 271 26.1 Budget Report Table���������������������������������������������������������������������������������������������������������� 271 26.2 Create Page and Parameters Form����������������������������������������������������������������������������������� 271 26.3 Create Computations�������������������������������������������������������������������������������������������������������� 277 26.4 Create Interactive Report�������������������������������������������������������������������������������������������������� 278 26.5 Budget Report Generation Process����������������������������������������������������������������������������������� 279 26.6 Test Your Work������������������������������������������������������������������������������������������������������������������ 279 26.7 Summary�������������������������������������������������������������������������������������������������������������������������� 281 Table of Contents
  • 12. xii Chapter 27: Set Up Accounts for Financial Statements���������������������������������������� 283 27.1 Accounts Table for the Financial Statements�������������������������������������������������������������������� 283 27.2 Create a List of Values������������������������������������������������������������������������������������������������������ 284 27.3 Create Page and Page Items��������������������������������������������������������������������������������������������� 285 27.4 Add an Interactive Grid������������������������������������������������������������������������������������������������������ 290 27.5 Create Validations������������������������������������������������������������������������������������������������������������� 291 27.6 Modify Save Interactive Grid Data Process����������������������������������������������������������������������� 292 27.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 293 27.8 Summary�������������������������������������������������������������������������������������������������������������������������� 294 Chapter 28: Financial Statements������������������������������������������������������������������������ 295 28.1 Financial Statements Table����������������������������������������������������������������������������������������������� 295 28.2 Create Page and Page Items��������������������������������������������������������������������������������������������� 295 28.3 Create Interactive Report and Buttons������������������������������������������������������������������������������ 301 28.4 Create Computations�������������������������������������������������������������������������������������������������������� 302 28.5 Create Ajax Callback Processes���������������������������������������������������������������������������������������� 304 28.6 Create Branches���������������������������������������������������������������������������������������������������������������� 305 28.7 Create Page for Financial Statements Notes�������������������������������������������������������������������� 307 28.8 Create Column Link����������������������������������������������������������������������������������������������������������� 308 28.9 Enter Vouchers������������������������������������������������������������������������������������������������������������������ 309 28.10 Test Your Work���������������������������������������������������������������������������������������������������������������� 309 28.11 Summary������������������������������������������������������������������������������������������������������������������������ 310 Chapter 29: Executive Dashboard������������������������������������������������������������������������� 311 29.1 Dashboard Table��������������������������������������������������������������������������������������������������������������� 311 29.2 Copy Components to the Home Page�������������������������������������������������������������������������������� 311 29.3 Create Regions������������������������������������������������������������������������������������������������������������������ 313 29.4 Create Chart Subregion����������������������������������������������������������������������������������������������������� 314 29.5 Create a Hidden Item�������������������������������������������������������������������������������������������������������� 315 29.6 Copy Chart Regions����������������������������������������������������������������������������������������������������������� 315 29.7 Test Your Work������������������������������������������������������������������������������������������������������������������� 319 29.8 Summary�������������������������������������������������������������������������������������������������������������������������� 320 Table of Contents