FCUBS-FD03!03!02-Extensibility by Example Volume 2
FCUBS-FD03!03!02-Extensibility by Example Volume 2
FCUBS-FD03!03!02-Extensibility by Example Volume 2
0
Extensibility By Example Volume 2
Release 1.0
May 2012
Contents
1 Preface .......................................................................................................................................................... 3
1.1 Audience .................................................................................................................................................. 3
1.2 Related documents.................................................................................................................................... 3
1.3 Conventions ............................................................................................................................................. 3
1.4 Pre-request for Extensibility development ................................................................................................. 4
2 Introduction .................................................................................................................................................. 4
2.1 How to use this Guide ............................................................................................................................... 4
3 Extensibility Requirement and Development approach ................................................................................... 5
3.1 Credit turnover limit for capital account .................................................................................................... 5
3.1.1 Requirement .................................................................................................................................... 5
3.1.2 Approach......................................................................................................................................... 5
3.1.3 Assumptions .................................................................................................................................... 5
4 RAD – STDACCLS extensibility changes ..................................................................................................... 5
4.1 Create Table STTM_ACCOUNT_DAILY ................................................................................................ 5
4.2 Add STTM_ACCOUNT_DAILY Data source ......................................................................................... 6
4.3 Add BLK_STTM_ACCOUNT_DAILY data block .................................................................................. 7
4.4 Generate files and Deploy ........................................................................................................................ 8
4.5 Test the changes ....................................................................................................................................... 9
5 Accounting package – extensibility changes................................................................................................. 11
6 Testing the extensibility changes ................................................................................................................. 13
1.1 Audience
The Extensibility By Example book is intended for FLEXCUBE Application
Developers/Users who are authorized to perform the following tasks:
Extend the existing screen to have fields based on customer specific table/fields
Add customer specific validations at extension hooks
Add customer specific processing logics in batch processing
To Use this manual, you need conceptual and working knowledge of the below:
Proficiency Resources
FLEXCUBE UBS Development FCUBS-FD01-01-01-Development
overview Overview Guide
1.3 Conventions
Convention Meaning
boldface Boldface type indicates graphical user interface elements (for example,
menus and menu items, buttons, tabs, dialog controls), including
options that you select.
italic italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates language and syntax elements, directory and
file names, URLs, text that appears on the screen, or text that you enter.
FD03-03-02 Extensibility By Example – volume 2 3
1.4 Pre-request for Extensibility development
The following are pre-request for extendibility development:
RAD Tools environment that linked with Target environment data base schema.
Ensure the RAD project release type is set either CUSTOM /CLUSTER depending
upon your requirement.
2 Introduction
2.1 How to use this Guide
Chapter 2, “Introduction”
This is introduction section.
Define the daily credit turnover limit on certain identified account classes.
During accounting, validate the limit for every account that belong to defined account
class and reject the transaction if exceeds.
Example:
If an account belongs to CAPIT (capital account) class that defined daily credit turnover limit
as 1000, the total credits should not exceed 1000 for a day.
3.1.2 Approach
Extend the Account class screen to define the credit turnover limit.
o Add the flag to enable/disable this limit verification
o Add amount field to capture the limit amount
During the accounting, add the validation in extended Custom package, to check and
return error.
3.1.3 Assumptions
Only daily turnovers are checked. This is applicable for only online transactions.
l_total := 0;
dbg('pacno: '||pacno||' p_lcy_amount: '||p_lcy_amount);
begin
select VALIDATE_LIMIT, DAILY_LIMIT_AMOUNT
into l_check, l_amount
from sttms_account_daily
where account_class = (select account_class
from sttm_cust_account
where cust_ac_no = pacno
and branch_code = pac_branch
and exists
(select 1 from sttbs_account where ac_gl_no = pacno and
ac_or_gl = 'A'));
exception
when others then
dbg('Failure :: sttm_cust_account select ::
'||sqlerrm);
return false;
end;
dbg('l_check: '||l_check||' l_amount: '||l_amount);
Launch STDACCLS screen and save the record with following paramters
o Daily credit turnover limit – 1500
o Enable the Daily Credit Turnover Limit Applicable
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
www.oracle.com/ financial_services/
Copyright © 2012 - Oracle Financial Services Software Limited. All rights reserved.
No part of this work may be reproduced, stored in a retrieval system, adopted or transmitted in
any form or by any means, electronic, mechanical, photographic, graphic, optic recording or
otherwise, translated in any language or computer language, without the prior written
permission of Oracle Financial Services Software Limited.
Due care has been taken to make this FD03-03-02 Extensibility By Example – volume 2 and
accompanying software package as accurate as possible. However, Oracle Financial Services
Software Limited makes no representation or warranties with respect to the contents hereof and
shall not be responsible for any loss or damage caused to the user by the direct or indirect use of
FD03-03-02 Extensibility By Example – volume 2 and the accompanying Software System.
Furthermore, Oracle Financial Services Software Limited reserves the right to alter, modify or
otherwise change in any manner the content hereof, without obligation of Oracle Financial
Services Software Limited to notify any person of such revision or changes.
All company and product names are trademarks of the respective companies with which they
are associated.