You are on page 1of 3

How do we pass field value from one version to next version in browser? https://basecamp.temenos.com/s/article-detail/a042K00001LAtoHQAT/how-do-we-pass-field-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

Article Details
Explore product details, discuss issues, find the latest news, and
contribute to best practices.

How to (/s/how-to)  >  How do we pass field value from one version to next version in browser?

        
Rate Like Bookmark

(/s/profile/0056A000000izetQAA) H
Hoow
w do
owwe
eppa
assss f i e
elld
d vva
allu
uee fro
ommo
onne
e v e rrssiio
onn to
onne
exxtt v e
errssiio
onn i n b rro
owwsse
err??
Vinay Jain - Admin (/s/profile/0056A000000izetQAA)  •  Apr 06, 2021  •  Technology > Core Infra > System Core (EB)

      18

How do we pass field values from one version to the next version in the browser?

As browser application is a stateless connection, the passing of values from first version to next version can be achieved by using CURRENT variables set up.

The procedure is to attach an AUTH.RTN/BEFORE.AUTH.RTN/AFTER.UNAU.RTN (based on your requirement) to the first version and inside the routine we can store the required first version values as

CURRENT variable values by calling core routine (System.setVariable).

The stored current variable values can then be accessed or defaulted inside the next version.

TToo ssiim
mppllyy tthhee sstteep
pss::

1. Develop a routine like the one shared below. 

The routine will populate the CURRENT variable (CURRENT.DEBIT) from the first version using the core API System.setVariable.

1 of 3 2/10/2023, 8:45 PM
How do we pass field value from one version to next version in browser? https://basecamp.temenos.com/s/article-detail/a042K00001LAtoHQAT/how-do-we-pass-field-...

 
((//ss//)) C
Coom
mmmuun
niittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
   SUBROUTINE PASS.VALUE.FT
   $INSERT I_COMMON
   $INSERT I_EQUATE
   $INSERT I_F.FUNDS.TRANSFER
   variableName = 'CURRENT.DEBIT'
   variableValue = R.NEW(FT.DEBIT.ACCT.NO)
   CALL System.setVariable('CURRENT.DEBIT',variableValue )
   RETURN
 

2) Compile/Catalog the routine. Create a PGM.FILE and EB.API entries.

3) Create a first version ‘FUNDS.TRANSFER,TEST’ and attach the routine created as AUTH routine as per your requirement and attach the NEXT.VERSION field with ‘FUNDS.TRANSFER,TEST2’

4) Define the data expected field in AUTOM.FIELD.NO(here DEBIT.ACCT.NO) and the CURRENT variable name in AUT.NEW.CONTENT in the version ‘FUNDS.TRANSFER,TEST2’.

5) During the authorisation, the NEXT.VERSION will be triggered and the same AUTH routine will be called which in turn populates the DEBIT.ACCT.NO value with the data passed.

0 Comments

PPo
osstt Q
Quueessttiio
onn

Share an update... Share

Sort by:

Most Recent Activity Search this feed...

2 of 3 2/10/2023, 8:45 PM
How do we pass field value from one version to next version in browser? https://basecamp.temenos.com/s/article-detail/a042K00001LAtoHQAT/how-do-we-pass-field-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

Collaborate here!
Here's where you start talking with your colleagues about this.

Supplier Information Terms of use Base Camp FAQ


www.temenos.com (https://www.temenos.com (https://www.temenos.com (https://basecamp.temenos.com Follow US
nformation /information-for- /legal-information /s/article-detail
suppliers/) /website-terms-and- /a046A000001lZe4QAE/temenos- (https://www.linkedin.com (https://www.linkedin.com (
conditions/) base-camp-faq) /company/temenos) /company/temenos/) /Temenos

3 of 3 2/10/2023, 8:45 PM

You might also like