Вы находитесь на странице: 1из 18

Open Financial Service

TEMENOS EDUCATION CENTRE


Warning: This document, is protected by copyright law and international treaties. No part of this document
may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose,
without the express written permission of TEMENOS HEADQUARTERS SA Unauthorized reproduction or
distribution of this presentation or any portion of it, may result in severe civil and criminal penalties, and
will be prosecuted to the maximum extent possible under applicable law. Information in this document is
subject to change without notice

Session 7 -Objectives

At the end of the session you should be able to

Describe the two kinds of OFS Special messages


Input and test a Forex Swap deal and LD using through OFS

Slide 2

Special Transactions

2 in 1 transaction. Input supplied to two different records simultaneously

Can be records within the same application (Eg: Forex Swap)


Can be one record within one application and another within related
application (eg: LD & LD Schedule)

These are the only two cases for special transactions

Forex Swaps

Forex swap deals involve the exchange of currencies at the spot rate
with an agreement to reverse the transaction with an identical amount
of currency at a later date at a specified rate.

Slide 4

Swap Deal example 1st leg


Key fields with sample data
Fields

Sample data

Deal type

SW

Counterparty

100472

Currency bought

USD

Amount Bought

3680000

Value Date Buy

20080110

Currency sold

GBP

Spot rate

1.84

Transaction type

SW

Slide 5

Swap Deal example 2nd leg


Key fields with sample data
Fields

Sample data

Deal type

SW

Counterparty

100472

Currency bought

GBP

Amount Bought (no


input)

2000000

Value Date Buy

20080121

Currency sold

USD

Forward rate

1.86

Transaction type

SW

Slide 6

OFS & Forex Swaps things that matter

Information for both legs supplied within a single message


Information for the first leg is separated from information for the second
leg by an underscore (_).
This applies to the multi value number, sub value number, and field
data parts of the message.

Forex Swap deal sample request

FOREX,/I/PROCESS//0,INPUTT/123123,,DEAL.TYPE=SW,COUNTERPARTY=100472,CU
RRENCY.BOUGHT=USD,AMOUNT.BOUGHT=3680000,CURRENCY.SOLD=GBP,SPOT.RATE=1.
84,DEAL.DATE=20080110,VALUE.DATE.BUY=20080110_10D,FORWARD.RATE=_1.86,N
OTES:1_1="first leg"_"second leg",NOTES:_2=_"second-line"

Forex Swap deal sample response

FX0801000010/OL080100000238170.00/1,DEAL.TYPE:1:1=SW,COUNTERPARTY:1:1=100472,DEALER.DE
SK:1:1=00,CURRENCY.MARKET:1:1=1,CURRENCY.BOUGHT:1:1=GBP,AMOUNT.BOUGHT:1:1=2000000.00,V
ALUE.DATE.BUY:1:1=20080121,CURRENCY.SOLD:1:1=USD,AMOUNT.SOLD:1:1=3720000.00,VALUE.DATE
.SELL:1:1=20080121,SPOT.RATE:1:1=1.84,FORWARD.RATE:1:1=1.86,SWAP.BASE.CCY:1:1=GBP,LIMI
T.REFERENCE.NO:1:1=1030.01,POSITION.TYPE.BUY:1:1=TR,POSITION.TYPE.SELL:1:1=TR,DEAL.DAT
E:1:1=20080110,REVALUATION.TYPE:1:1=IN,SPOT.DATE:1:1=20080110,BASE.CCY:1:1=GBP,SPOT.LC
Y.AMOUNT:1:1=3680000.00,SWAP.REF.NO:1:1=FX0801000009,SWAP.REF.NO:2:1=FX0801000010,INT.
RATE.BUY:1:1=7.322580645161,INT.RATE.SELL:1:1=42.873896800,OUR.ACCOUNT.PAY:1:1=23779,O
UR.ACCOUNT.REC:1:1=15393,DEL.DATE.BUY:1:1=20080121,DEL.AMOUNT.BUY:1:1=2000000.00,DEL.D
ATE.SELL:1:1=20080121,DEL.AMOUNT.SELL:1:1=3720000.00,ACTIVITY.CODE:1:1=1010,CONFIRM.SE
NT:1:1=D20081204000023817802,BUY.LCY.EQUIV:1:1=-3680000.00,
SEL.LCY.EQUIV:1:1=3720000.00,
BUY.DAILY.ACC.L:1:1=793.94,BUY.ACC.TDATE.L:1:1=0.00,BUY.DAILY.ACC.F:1:1=401.24,BUY.ACC
.TDATE.F:1:1=0.00,SEL.DAILY.ACC.L:1:1=4430.30,SEL.ACC.TDATE.L:1:1=0.00,SEL.DAILY.ACC.F
:1:1=4430.30,SEL.ACC.TDATE.F:1:1=0.00,SWIFT.COMMON.REF:1:1=DEMOPX0186IRVT33,CATEGORY.C
ODE:1:1=20030,ACCOUNT.OFFICER:1:1=27,FED.FUNDS:1:1=C,SEND.CONFIRMATION:1:1=NORMAL,SEND
.PAYMENT:1:1=NORMAL,SEND.ADVICE:1:1=NORMAL,NOTES:1:1=second leg,NOTES:2:1=secondline,TOTAL.INT.BOUGHT:1:1=4413.61, TOTAL.INT.SOLD:1:1 =48733.33,
EQUIV.INT.BOUGHT:1:1=8733.33,EQUIV.INT.SOLD:1:1=48733.33,INT.BASIS.BOUGHT:1:1=E,INT.BA
SIS.SOLD:1:1=B,TRANSACTION.TYPE:1:1=SW,NETTING.STATUS:1:1=N,AMORTISE.POSITION:1:1=NO,S
WAP.PL.FWD.POS:1:1=NO,SOD.MAT:1:1=YES,CLS.DEAL:1:1=NO,OVERRIDE:1:1=Spot rate exceeds
tolerance by &}{-5.64%,OVERRIDE:2:1=NO.LINE}NO LINE
ALLOCATED{{{{{100472{{100472.0001000.01{,CURR.NO:1:1=1,INPUTTER:1:1=2_INPUTTER___OFS_T
EST.TELNET,DATE.TIME:1:1=0812041036,AUTHORISER:1:1=2_INPUTTER_OFS_TEST.TELNET,CO.CODE:
1:1=GB0010001,DEPT.CODE:1:1=1

Loans and Deposits


Key fields with sample data
Fields

Sample data

Customer Id

100297

Currency

GBP

Amount

2,000,000

Fin Mat Date

9 Jan 2009

Category

21002

Interest Rate

2.34

Define Scheds

YES

Example; Mr.Branson deposits 2 million pounds for two years at an


interest rate of 2.34%

Loans and Deposits Schedule

Key fields with sample data


Fields

Sample data

Forward Backward
Key

Base Date Key

Sch

I for Interest
P for Principal

Date

for interest and


principal

Amount

2000000
For principal only.

Slide 11

OFS & LD things that matter

A Loans and Deposits contract with a payment schedule requires the


information for the linked application LD.SCHEDULE.DEFINE.
This can be done by adding the field information for
LD.SCHEDULE.DEFINE to the Message Data portion of the Loans and
deposits message, separated by 2 forward slashes (//).
When using OFS to update LD, a version is mandatory

LD request

LD.LOANS.AND.DEPOSITS,LD.THRU.OFS/I/PROCESS,INPUTT/123123,,CUSTOMER.ID
=100297,CURRENCY=GBP,AMOUNT=2000000,FIN.MAT.DATE::=20100111,CATEGORY::
=21002,INTEREST.RATE::=2.34,DEFINE.SCHEDS::=YES//FORWARD.BACKWARD::=4,
BASE.DATE.KEY::=3,CURRENCY:1:1=GBP,SCH.TYPE:1:1:=I,DATE:1:1:=20080710,
CURRENCY:2:1=GBP,SCH.TYPE:2:1:=I,DATE:2:1:=20090110,CURRENCY:3:1=GBP,S
CH.TYPE:3:1:=I,DATE:3:1:=20090710,CURRENCY:4:1=GBP,SCH.TYPE:4:1:=I,DAT
E:4:1:=20100111,CURRENCY:5:1=GBP,SCH.TYPE:5:1:=P,DATE:4:1:=20100111,AM
OUNT:5=2000000

LD Response
LD0801000014/OL080100000261054.00/1,CUSTOMER.ID=100297:1:1,CURRENCY=GBP:1:1,CURRENCY.M
ARKET=1:1:1,AMOUNT=2000000.00:1:1,BUS.DAY.DEFN=GB:1:1,VALUE.DATE=20080110:1:1,FIN.MAT.
DATE=20100111:1:1,LIMIT.REFERENCE=9900.01:1:1,CATEGORY=21002:1:1,DRAWDOWN.ACCOUNT=1152
5:1:1,INT.RATE.TYPE=1:1:1,INTEREST.BASIS=E:1:1,INT.PAYMT.METHOD=1:1:1,INTEREST.RATE=2.
34:1:1,CAPITALISATION=NO:1:1,TOT.INTEREST.AMT=23335.89:1:1,LIQUIDATION.CODE=1:1:1,LIQU
IDATION.MODE=AUTOMATIC:1:1,POSITION.TYPE=TR:1:1,DELIVERY.LINK=1:1:1,PRIN.LIQ.ACCT=1152
5:1:1,INT.LIQ.ACCT=11525:1:1,CHRG.LIQ.ACCT=11525:1:1,MIS.ACCT.OFFICER=34:1:1,AGREEMENT
.DATE=20080110:1:1,STATUS.CONTROL=AUTOMATIC:1:1,STATUS=CUR:1:1,DRAWDOWN.ISSUE.PRC=2000
000.00:1:1,DRAWDOWN.NET.AMT=2000000:1:1,ISSUE.PL.AMOUNT=0:1:1,ISSUE.PRICE=100:1:1,ISSU
E.ACCRUAL=NO:1:1,REIMBURSE.PRICE=100:1:1,REIMBURSE.AMOUNT=2000000.00:1:1,REIMBURSE.ACC
RUAL=NO:1:1,FEE.PAY.ACCOUNT=11525:1:1,DRAWDOWN.ENT.DATE=20080110:1:1,AUTO.SCHEDS=NO:1:
1,DEFINE.SCHEDS=YES:1:1,SEND.PAYMENT=NO:1:1,SEND.CONFIRMATION=Y:1:1,YIELD.METHOD=NO:1:
1,MATURE.AT.SOD=YES:1:1,CURRENCY.CODE=GBP:1:1,EXCG.RATE=1.950000000:1:1,SETTLEMENT.MAR
KET=1:1:1,CONVERSION.TYPE=MID:1:1,DEFAULTED.VALUE=NO:1:1,DEALER.DESK=00:1:1,NEGATIVE.R
ATE=NO:1:1,FWD.PROJ=5:1:1,STMT.NO=VAL:1:1,OVERRIDE=WITHDRAWL.LT.MIN.BAL}WITHDRAWL
MAKES A/C BAL LESS THAN MIN BAL:1:1,OVERRIDE=ACCT.UNAUTH.OD}Unauthorised overdraft of
& & on account .
{GBP}3009237.84}11525{GBP{3009237.84{11525{100297{41{{:2:1,RECORD.STATUS=INAU:1:1,CURR
.NO=1:1:1,INPUTTER=2_INPUTTER___OFS_TEST.TELNET:1:1,DATE.TIME=0812041657:1:1,CO.CODE=G
B0010001:1:1,DEPT.CODE=1:1:1//CURRENCY:1:1=GBP,FORWARD.BACKWARD:1:1=4,BASE.DATE.KEY:1:
1=3,SCH.TYPE:1:1=I,SCH.TYPE:2:1=I,SCH.TYPE:3:1=I,SCH.TYPE:4:1=I,SCH.TYPE:5:1=P,DATE:1:
1=20080710,DATE:2:1=20090110,DATE:3:1=20090710,DATE:4:1=20100111,DATE:5:1=20100111,AMO
UNT:5:1=2000000.00,CYCLED.DATES:1:1=20080710,CYCLED.DATES:2:1=20090110,CYCLED.DATES:3:
1=20090710,CYCLED.DATES:4:1=20100111,CYCLED.DATES:5:1=20100111,OVERRIDE:1:1=LD.NOT.A.W
ORKING.DAY}& IS NOT A WORKING DAY
{10/01/2009,RECORD.STATUS:1:1=INAU,CURR.NO:1:1=1,INPUTTER:1:1=2_INPUTTER___OFS_TEST.TE
LNET,DATE.TIME:1:1=0812041657,CO.CODE:1:1=GB0010001,DEPT.CODE:1:1=1

Quiz

Description

Who am I?

I separate the two data portions of a


swap
LD.SCHEDULE.DEFINE needs to
be specified in a OFS message only
if I am set to yes in LD
I must be defined to use LD in a
OFS message

Slide 15

Quiz - Answers

Description

Who am I?

I separate the two data portions of a


swap

Underscore

LD.SCHEDULE.DEFINE needs to
be specified in a OFS message only
if I am set to yes in LD

Define Scheds

You must include me in the OFS


message for LDs

Version

Slide 16

Workshop 7.1

Create a Special Transaction type request to INPUT and AUTHORIZE


a FOREX Swap contract.

Create a Special Transaction type request to INPUT a


LOANS.AND.DEPOSITS contract with schedules.

Also see the OFS.RQUEST.DETAILS table for the updates related to


your messages (if any).

Summary

You should now be able to

Describe the two kinds of OFS Special messages


Input and test a Forex Swap deal and LD through OFS

Slide 18

Вам также может понравиться