Welcome To T24All
Welcome, Guest
Username Password:

T.LOCALREF
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: T.LOCALREF

T.LOCALREF 4 years, 6 months ago #616

  • ironmaiden
  • OFFLINE
  • Expert Boarder
  • Posts: 83
  • Karma: 0
I guess 2 and 7 are field Numbers in the LOCAL.REF

NJOY LIFE TO THE FULLEST

No 4 years, 6 months ago #617

  • GvA
  • OFFLINE
  • Administrator
  • Posts: 472
  • Karma: 0
2 & 7 are not field numbers, they are some special positions. If you change the numbers it wont work.





Keep posting and make this community active|Thanks

Still mandatory 4 years, 6 months ago #618

  • Insane
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
I've got a problem with this mandatory field, when I open another ID in
current version, field still mandatory, does anyone knows, how to
return standard settings of T.LOCREF?

CHECK.REC.RTN 4 years, 6 months ago #619

  • GvA
  • OFFLINE
  • Administrator
  • Posts: 472
  • Karma: 0
Write a CHECK.REC.RTN and make your fields as non-mandatory.





Keep posting and make this community active|Thanks

CHECK.REC.RTN 4 years, 5 months ago #620

  • Insane
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Thank you, but can you give an advice to me, how to do it generalized? Not for specific fields?

No 4 years, 5 months ago #621

  • GvA
  • OFFLINE
  • Administrator
  • Posts: 472
  • Karma: 0
To my knowledge there is no other way.



Better you put the validation part in the input/auth routine.






Keep posting and make this community active|Thanks

CHECK.REC.RTN 4 years, 5 months ago #622

  • Insane
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Well, i found it. It's so simple! Just call
CALL EB.LOCREF.SETUP(APPLICATION, T.LOCREF)

NOINPUT 4 years, 5 months ago #623

  • Insane
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
I found a problem with system apps. For LD such way works perfectly, but for ACCOUNT, when I want to make field NOINPUT, even if I call REBULD.SCREEN, field not updates its preferences, it updates preferences only when I select Full View, for example, and then go back.
Does anyone knows how to solve this problem?

NOINPUT 4 years, 4 months ago #624

Did you try calling REFRESH.GUI.OBJECTS

Local ref mandatory fields 4 years, 6 months ago #625

  • tiger93
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Hi,



How we dynamically make a local field a mandatory. I mean when a user inputs one field, depending on the value following 2 local ref fields are to be made mandatory. This has to be done while user inputs using any version of application.

I wonder how to change N array for LOCAL.REF field. Immediately mandatory fields are to be shown in yellow color in desktop.



regards

Check this 4 years, 6 months ago #626

  • KingArthur
  • OFFLINE
  • Senior Boarder
  • Posts: 75
  • Karma: 1
There is a comman variable T.LOCREF. I think this will solve your problems.



Once you done the codings, please share with us.






King Arthur

Dynamic change to the attributes of Local Ref fields 4 years, 6 months ago #627

  • sulthana
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
See the below example for your query
--------------------------------------
FIELD1 = local ref position is FLD1.POS
FIELD2 = local ref position is FLD2.POS

Based on the value of the local ref fielD

* Make the FLD2 as a mandatory field if the FLD1 is 'YES' else Make the field a NOINPUT field



IF R.NEW(LOCAL.REF.FLD) EQ 'Y' THEN
T.LOCREF = ''
T.LOCREF = 20.1
END ELSE
T.LOCREF = ''
T.LOCREF = 'NOINPUT'
END


Regards;Sulthana

Welcome Back 4 years, 6 months ago #628

  • GvA
  • OFFLINE
  • Administrator
  • Posts: 472
  • Karma: 0
Hi Sulthana, seeing you here after such a long time.



In your example whats the meaning for 2 & 7. Is there any other values as such?






Keep posting and make this community active|Thanks

Mandatory field 4 years, 6 months ago #629

  • tiger93
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Thank you very much. It is working as required. I am able to find in I_RULES what does T.LOCREF exactly mean.

Thank you very much

Re:T.LOCALREF 1 year, 8 months ago #5051

Hi to all,

After some research,

This is the solution that I found for the enrichement problem :

- If you are using DESKTOP client : then you can use T.ENRI or COMI.ENRI (depends on your rtn type Vld or Input) and then call the REBUILD.SCREEN function.

- If you are using BROWSER client : unfortunatly the REBUILD.SCREEN can't be used ... then you can use I_GTS.COMMON lib:

$INSERT GLOBUS.BP I_GTS.COMMON

OFS$ENRI<field_position> = "my enrichement"

Good luck.
  • Page:
  • 1
Time to create page: 0.34 seconds