You are on page 1of 19

Deal Slip Routines

TEMENOS EDUCATION CENTRE


NOTICE
These training materials are the copyrighted work of Temenos Headquarters SA and other companies in the TEMENOS group of companies
(The Copyright Owner). The training materials contain protected logos, graphics and images. Use of the training materials is restricted solely for
use by licensed end users, partners and employees. Any un-licensed reproduction by any means, redistribution, editing, transformation,
publishing, distribution, or public demonstration of the training materials whether for commercial or personal gain is expressly prohibited by law,
and may result in severe civil and criminal penalties. Violators will be prosecuted to the maximum extent possible. Such training materials shall
not be represented, extracted into or included in part, or in whole, as part of any other training documentation without the express permission of
the Copyright Owner, which must given in writing by an authorised agent of the Copyright Owner to be valid. Where such permission is given a
clear and prominent notice must be displayed on any and all documentation accrediting the Copyright Owner with having copyright over the
materials. End-user licenses will in no event contain permissions extending the use of these training materials to third parties for commercial
training purposes.
Without limiting the foregoing, copying or reproduction of the training materials in part or in whole to any other sever or location for further
reproduction or redistribution is expressly prohibited, unless such reproduction is expressly licensed by the Copyright Owner.
Copyright © 2010 Temenos Headquarters SA
Objectives

At the end of the session you will be able to

 Explain the need for Deal slip routines


 Create deal slip routines and execute them

Slide 2
Introduction to Deal slip routines

 Deal slip routines are similar to ENQUIRY conversion routines

 They are attached to specific fields in the deal slip

 Get invoked after the data is picked up for the specific field but before
the field’s data can be displayed

Slide 3
Example 1

Issue a DEAL SLIP to a customer, every time an account is opened for


him/her. It should contain the details given in the screenshot shown
below.
NOTE: While printing the deal slip all the accounts (including the one
created currently) should be printed separated by ; (semi colon)

Slide 4
Algorithm

 Pass the CUSTOMER ID as an input parameter to the deal slip routine


 Read the record pertaining to the specific CUSTOMER ID from the
CUSTOMER.ACCOUNT application
 The record contains all accounts of a particular customer separated by
FM
 Convert the FM to ‘;’ (This is the display format as per requirement)

All deal slip routines take one parameter – the value of the field they are
attached to.

Slide 5
Solution 1

 Where do we attach the subroutine ?

 Application : DEAL.SLIP.FORMAT
 Field : FORMAT

 Name of the subroutine needs to be prefixed with an @

Slide 6
Solution 1

 Write, compile and catalog

SUBROUTINE ACCOUNT.DSLIP.RTN(DSLIP.DATA)
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.CUSTOMER.ACCOUNT
CUS.ACC.ERR = ''
FN.CUS.ACC = 'F.CUSTOMER.ACCOUNT'
F.CUS.ACC = ''
CALL OPF(FN.CUS.ACC,F.CUS.ACC)
CALL F.READ(FN.CUS.ACC,DSLIP.DATA,R.CUS.ACC,F.CUS.ACC,CUS.ACC.ERR)
IF CUS.ACC.ERR = ’’ THEN
DSLIP.DATA = ’’
DSLIP.DATA=R.CUS.ACC
CONVERT @FM TO ';' IN DSLIP.DATA ;*Convert because the
data is to be displayed separated by semicolon
END
RETURN
END

Slide 7
Solution 1

 Make an entry in the PGM.FILE with field TYPE set to ‘S’

Slide 8
Printing Flow

User prints a deal slip


Read PRINTER.ID and obtain name of jBASE
level Form Queue

Read DEAL.SLIP.FORMAT and obtain Search for a device type associated with the
REPORT.CONTROL Id form queue in jBASE

Based on the device type process the print


Read REPORT.CONTROL and obtain request
DE.FORM.TYPE Id

Read DE.FORM.TYPE, load form settings and


obtain PRINTER.ID Id
Step 1 – Create PRINTER.ID

Slide 10
Step 2 – Create DE.FORM.TYPE

Slide 11
Step 3 – Create a record in REPORT.CONTROL

Slide 12
Step 4 – Create the DEAL.SLIP using DEAL.SLIP.FORMAT

Slide 13
Step 4 – Create the DEAL.SLIP using DEAL.SLIP.FORMAT (Cont.)

Slide 14
Step 5 – Create the VERSION
Step 6 – Test the Result

Final Step

 Input and authorise the account record using the VERSION just created
 The DEAL SLIP will pop up in BROWSER
Summary

Now you will be able to

 Explain the need for Deal slip routine


 Create deal slip routines and execute them
Quiz

 Deal slip routines are attached to the DEAL.SLIP.FORMAT application


– True / False

 Deal slip routines do not have any parameters – True / False

 Deal slip routines need to have an entry in the PGM.FILE application


with the field TYPE set to S

Slide 18
Thank You
TEMENOS EDUCATION CENTRE
NOTICE
These training materials are the copyrighted work of Temenos Headquarters SA and other companies in the TEMENOS group of companies
(The Copyright Owner). The training materials contain protected logos, graphics and images. Use of the training materials is restricted solely for
use by licensed end users, partners and employees. Any un-licensed reproduction by any means, redistribution, editing, transformation,
publishing, distribution, or public demonstration of the training materials whether for commercial or personal gain is expressly prohibited by law,
and may result in severe civil and criminal penalties. Violators will be prosecuted to the maximum extent possible. Such training materials shall
not be represented, extracted into or included in part, or in whole, as part of any other training documentation without the express permission of
the Copyright Owner, which must given in writing by an authorised agent of the Copyright Owner to be valid. Where such permission is given a
clear and prominent notice must be displayed on any and all documentation accrediting the Copyright Owner with having copyright over the
materials. End-user licenses will in no event contain permissions extending the use of these training materials to third parties for commercial
training purposes.
Without limiting the foregoing, copying or reproduction of the training materials in part or in whole to any other sever or location for further
reproduction or redistribution is expressly prohibited, unless such reproduction is expressly licensed by the Copyright Owner.
Copyright © 2010 Temenos Headquarters SA

You might also like