× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Not able to Update the Concat file

  • Taurus121
  • Taurus121's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 2 months ago #20961 by Taurus121
Not able to Update the Concat file was created by Taurus121
Dear All,

I have a created an Auth routine and attached it in the version: ACCOUNT,NEWOPEN

The objective of development is during authorisation of the account, an automatic FT txn should be triggered and that FT ref id should be saved in a concat file.

I have achieved till the automatic FT trigger, now I am struggling to save the ID in a concat file.

Created a concat file named FT.ID.REF - TYPE 'T', In auth routine i use the below for updating the concat file, but it doesnt work.

CALL CONCAT.FILE.UPDATE(C.FILE,C.ID,'','I','AL')

i am getting the below error, while debugging. How to solve this ? and display the FT ref id in concat file ?

** FATAL ERROR IN (SENSITIVE ROUTINES CALLED IN LOCAL RTNS) **

Kindly guide me.

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 2 months ago - 7 years 2 months ago #20962 by VK
Replied by VK on topic Not able to Update the Concat file
Hi
just use F.WRITE to populate the record in your local file.
Then this write will be committed together with T24 "main" transaction.

Cheers
VK
Last edit: 7 years 2 months ago by VK.
The following user(s) said Thank You: Taurus121

Please Log in or Create an account to join the conversation.

  • Taurus121
  • Taurus121's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 2 months ago #20963 by Taurus121
Replied by Taurus121 on topic Not able to Update the Concat file
I have tried using F.WRITE but still i get the same error.

R.FT.ID.REF = ''
R.FT.ID.REF<AC.INTAC.FUNDS.TRANSFER.REF> = Y.FT.TXN.ID
CALL F.WRITE(FN.FT.ID.REF,Y.CR.AC,R.FT.ID.REF)
CALL JOURNAL.UPDATE(R.FT.ID.REF)

please find below

** FATAL ERROR IN (SENSITIVE ROUTINES CALLED IN LOCAL RTNS) **

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago - 7 years 2 months ago #20964 by madhulatha
Replied by madhulatha on topic Not able to Update the Concat file
Don't use JOURNAL.UPDATE in Auth Routines and you passed null value in V$FIELD.please check it once.
F.WRITE is not used for updating CONCAT files. don't use OFS in versions.

CONCAT.FILE.UPDATE(FILE.NAME,YCONCAT.ID,V$FIELD,V$INS,AR.OR.AL)
Routine to update concat files
* Input parameteres are : FILE.NAME = CONCAT.FILE NAME(FN.XXX)
YCONCAT.ID = CONCAT FILE ID(ID)
V$FIELD = KEY TO BE INSERTED(passed Field value)
V$INS = INSERT OR DELETE ('I' OR 'D')
AR.OR.AL = LEFT OR RIGHT JUSTIFICATION ('AL' OR 'AR')

* NO OUTPUT TO THE ARGUMENTS
Last edit: 7 years 2 months ago by madhulatha.
The following user(s) said Thank You: Taurus121

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 2 months ago #20966 by VK
Replied by VK on topic Not able to Update the Concat file
Hi
yes, don't use CALL JOURNAL.UPDATE in VERSION hooks.

As for calling a core routine, that should be the last resort (if nothing else helps) - definitely not your case :))

Cheers
VK

Please Log in or Create an account to join the conversation.

  • Taurus121
  • Taurus121's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 2 months ago #20968 by Taurus121
Replied by Taurus121 on topic Not able to Update the Concat file
** FATAL ERROR IN (SENSITIVE ROUTINES CALLED IN LOCAL RTNS) **

I have found the above error is because of the OFS.BULK.MANAGER

CALL OFS.BUILD.RECORD(Y.APPLICATION,Y.FUNCTION,Y.PROCESS,Y.VERSION,Y.GTS.MODE,Y.NO.AUTH,Y.OFS.TRANSACTION,R.FUNDS.TRS,Y.OFS.STRING
CALL OFS.CALL.BULK.MANAGER(Y.OFS.SOURCE,Y.OFS.STRING,Y.OFS.RESPONSE,Y.TRX.CODE)

when i comment the "CALL OFS.CALL.BULK.MANAGER..." the system can able to authorise the account record.

kindly guide me to solve this error.

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 2 months ago #20976 by VK
Replied by VK on topic Not able to Update the Concat file
Hi
you got this error because Temenos developers forbid calling certain core routines at the place where you try to call it. If they did not, you probably would ruin the core transaction data.

The answer to the question "what to do" is: don't do it. Find another way to fulfill your task. If there's no other way, the task is technically impossible.

Cheers
VK

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds