× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

local ref field in OFS

  • yorn_panha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 months ago #17174 by yorn_panha
local ref field in OFS was created by yorn_panha
Dear all,
I have problem with how to code local ref field in OFS t24 temenos.

Thanks you in advance

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
10 years 3 months ago #17183 by jpb
Replied by jpb on topic local ref field in OFS
You can either use the name of your local field or LOCAL.REF:1:vm:sm.

e.g. when your field is named PANHA.VAL at position 5 in your application :

,PANHA.VAL::="new value",
or
,LOCAL.REF:1:5:="new value",

In the used OFS.SOURCE you can set ATTRIBUTES to USE.LOCAL.REF if you want to see 'LOCAL.REF' in the OFS output instaed of the real name.
The following user(s) said Thank You: yorn_panha

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

  • yorn_panha
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 months ago #17193 by yorn_panha
Replied by yorn_panha on topic local ref field in OFS
Here is another solution that i guess, and it works:
CND.OFS.MSG:=",LOCAL.REF:4:=NULL,LOCAL.REF:5:=NULL,LOCAL.REF:6:=NULL"
4, 5, 6 is the position of the local ref field.

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

More
10 years 2 months ago #17249 by Peter
Replied by Peter on topic local ref field in OFS
Handling local ref field in OFS is same as you handle other fields in an application, the only difference is Instead of the Actual field name you will be using the 'LOCAL.REF' and the actual position local ref field can be given in the value marker.

Ex :
if TEST.FIELD is the local reference field which is at the 5 position, then get the position of the TEST.FIELD from GET.LOC.REF call routine & form the OFS message as below.
OFS.MSG = ",LOCAL.REF:5:=Testing,"

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

Time to create page: 0.031 seconds