T24 Knowledge Bank - T24 Programs and Routines
T24 Knowledge Bank - T24 Programs and Routines
T24 Knowledge Bank - T24 Programs and Routines
Customer Support
Portal
(/SitePages/Home.aspx)
OFS.addLocalRequest
What is "ofs.addLocalRequest"?:
The API "ofs.addLocalRequest" (available from R10 release onwards) is used to process multiple OFS requests (AA
related requests) in a synchronous manner.
(/SitePages/Home.aspx)
This routine will allow to add an OFS message to the existing transaction so that it process in a synchronous
manner i.e this will works in parent-child transaction.
(/SitePages/T24Intelligence.aspx)
Additional validation will be performed before accepting the message to ensure that we don't get a scenario that
cannot be handled.
(/TCSPProfileCenter/infodefault.aspx)
Working nature of "ofs.addLocalRequest" is explained below.
(/Support/DashBoard.aspx)
Validation to be performed before adding the OFS to queue:
1) It is not allowing GTS.CONTROL options where errors or overrides put the record into HLD status
4) It is not allowing Local messages other than VANILLA OFS type message
Rules to be followed:
- The user de ned BEFORE.AUTH.RTN will be invoked the new public API to add additional requests from the
authorisation of the master record. Multiple requests can be added.
- Child requests can also add additional requests through the BEFORE.AUTH.RTN applied to the version too. The
local code in the BEFORE.AUTH.RTN should be able to determine whether requests processed to date in the bulk
transaction are successful or not – this will allow exibility to only add additional requests when all previous
requests are successful.
- All the local messages will be added to a local internal message request queue. Was this page
- On successful completion of all the messages in the Core message queue, the local messages from the local
internal request queue would be considered for processing.
Yes
https://tcsp.temenos.com/HowTo/OfsAddLocal.aspx 1/3
12/17/2018 How to use ofs.addLocalrequest?
- The processing of the local messages will happen within the same transaction management boundary as with
the core messages and therefore even if one local OFS message fails the entire transaction will be rolled back.
Sample Routine:
SUBROUTINE ADD.LOCAL.OFS.REQUEST.ROUTINE
$INSERT I_COMMON
$INSERT I_EQUATE
GOSUB INITIALISE
RETURN
INITIALISE:
* Additional request for Master transaction
localOfsRequest =
'FUNDS.TRANSFER,SEAT.ONE/I/PROCESS,SUSER2/321321,FT0033570001,TRANSACTION.TYPE:1:1=AC,DEBIT.ACCT.NO
(/SitePages/Home.aspx)
:1:1=20575,
(/SitePages/T24Intelligence.aspx)
DEBIT.CURRENCY:1:1=USD,DEBIT.AMOUNT:1:1=70000,DEBIT.VALUE.DATE:1:1=20001215,CREDIT.ACCT.NO:1:1=6212
7,
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
CREDIT.CURRENCY:1:1=USD,CREDIT.VALUE.DATE:1:1=20001215,COMMISSION.CODE:1:1=WAIVE,CHARGE.CODE:1:1=
WAIVE'
localOfsError = ''
RETURN
ADD.REQUEST:
*** <desc>add local request to local queue </desc>
CALL ofs.addLocalRequest(localOfsRequest,'add',localOfsError)
E = localOfsError
END
RETURN
END
Arguments:
Three arguments need to be passed.
ofs.addLocalRequest(ofsRequest,insertOrAdd,error)
Was this page
ofsRequest - the vanilla message from the application
https://tcsp.temenos.com/HowTo/OfsAddLocal.aspx 2/3
12/17/2018 How to use ofs.addLocalrequest?
APPEND to add to the end of the local txn queue this is the default method
(/SitePages/Home.aspx)
(/SitePages/T24Intelligence.aspx)
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
Yes
https://tcsp.temenos.com/HowTo/OfsAddLocal.aspx 3/3