× 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...

Field Validation Routine Executing Twice

  • manjunath7862
  • Topic Author
  • Visitor
  • Visitor
12 years 9 months ago #12840 by manjunath7862
Field Validation Routine Executing Twice was created by manjunath7862
Hi All,

In our development area we are facing an issue where the field validation routines are getting executed twice Continuously the movement we input the value in the field that is set as HOT FIELD and TAB button is pressed. [Note: i am aware that the field validation routine gets executed again when the record is committed but here its not the case]

Its only happening in BROWSER

Please help me out.........!!!!!


Thanks

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

  • praveenb.chennai
  • praveenb.chennai's Avatar
  • Offline
  • Senior Member
  • Senior Member
More
12 years 9 months ago #12848 by praveenb.chennai
Replied by praveenb.chennai on topic Field Validation Routine Executing Twice
Hi Manjunath,

Do you mean routines are getting triggered thrice ? field validation routines will be triggered twice only.. one for hot field and other while committing. I think thats how it works.

Have I understood the problem correctly ?

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

  • manjunath7862
  • Topic Author
  • Visitor
  • Visitor
12 years 9 months ago #12849 by manjunath7862
Replied by manjunath7862 on topic Field Validation Routine Executing Twice
Hi,

Thanx for your reply....

Ya its executing getting thrice............!!!!

twice during inputting & once during commit...........!!!!

Generally it should execute only once during the Input. & once during Commit.


Thanx.....

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

  • praveenb.chennai
  • praveenb.chennai's Avatar
  • Offline
  • Senior Member
  • Senior Member
More
12 years 9 months ago #12851 by praveenb.chennai
Replied by praveenb.chennai on topic Field Validation Routine Executing Twice
What is the T24 version? can you trace the path from the field validation routine using j -g from debug mode?

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 8 months ago #12893 by jpb
Any change when you disable hot fields in BROWSER.PREFERENCES ?

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

  • manjunath7862
  • Topic Author
  • Visitor
  • Visitor
12 years 8 months ago #12897 by manjunath7862
Replied by manjunath7862 on topic Field Validation Routine Executing Twice
Hi Jpb,

Thanks for replying....


Actually we not using "BROWSER.PREFERENCES" for this.

and can you explain about "BROWSER.PREFERENCES" ???? which purpose we are using it?????

Thanks,

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 8 months ago #12903 by jpb
I think the useage of BROWSER.PREFERENCES is self explanating in the helptext :

This file defines a user's preferences for the appearance and behaviour of the Browser product screens. The application is keyed on the user's Id.

This allows the user to define various parameters, such as, which 'skin' the user would like to run the Browser with thus determine the 'look and feel' of the Browser windows, as well as a number of optional attributes defining whether they wish to see Hot Fields and Auto Launch Enquiries in their Browser.

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

  • manjunath7862
  • Topic Author
  • Visitor
  • Visitor
12 years 8 months ago #12920 by manjunath7862
Replied by manjunath7862 on topic Field Validation Routine Executing Twice
Hi Jpb,

Thank you so much for your information regarding "BROWSER.PREFERENCES".

As i used for Browser.Preference "Print Location" - [Local, Server] for Printing the Deal-Slip as it before set "SERVER", i changed it as "Local" so its printing locally, and popup while commit the particular transaction where i attached the Deal-Slip in version.


But for this Subjected topic, Browser.Preference will not come into picture. becz its for particular user rite.
[Its not only for me, but every one also who is working under the area they are facing same problem]

So pls. if you/anybody found any Technical Solution to this.... Kindly Share it.

Thanks

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 8 months ago #12921 by jpb
I completely understand, but my questions was just intended to know if there is a change in behaviour when you disable Hot... using BROWSER.PREFERENCES or if the routine is stll triggered (or only once...)

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

  • manjunath7862
  • Topic Author
  • Visitor
  • Visitor
12 years 8 months ago #12922 by manjunath7862
Replied by manjunath7862 on topic Field Validation Routine Executing Twice
Hi Jpb,

NO..!.I am not Disable HOT.FIELDS in "BROWSER.PREFERENCES".


BUT Still its triggering twice @ the time of pressing the Tab after the enter the data in particular text box [Browser.]

Thanks

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

More
12 years 8 months ago #12924 by T24power
Replied by T24power on topic Field Validation Routine Executing Twice
Hi,

In your validation routine, can you please include the below lines which will help us to trace the routine flow.

BP.ID = 'TRACE-':ID.NEW:SYSTEM(12)
FN.BP = 'LOCAL.BP'
F.BP = ''
CALL OPF(FN.BP,F.BP)
STORE.TXT<-1> = SYSTEM(1029)
CALL LOG.WRITE(FN.BP,BP.ID,STORE.TXT,'')
END

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

More
12 years 8 months ago #12985 by sourav1986
Replied by sourav1986 on topic Field Validation Routine Executing Twice
if u r in R8
Insert I_EB.TRANS.COMMON and try to check cTxn_CommitRequests variable value, based on this variable u can skip generating twice

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

More
6 years 1 month ago #22160 by Garakishiyev
Replied by Garakishiyev on topic Field Validation Routine Executing Twice
Hi, You can check variable MESSAGE. It should be 'VAL'.
Regarding on this value you can skip this routine.

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
6 years 1 week ago #22205 by VK
Hi
you're an optimist :))) expecting somebody to wait for 6 years for an answer :)))

Cheers
VK

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

More
5 years 6 months ago #22529 by me@t24
Replied by me@t24 on topic Field Validation Routine Executing Twice
Hi

I am having little cofussion among the hot.field hot.validate setcheck.

can you brief it...?

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

More
5 years 6 months ago #22530 by me@t24
Replied by me@t24 on topic Field Validation Routine Executing Twice
Hi

I am having little cofussion among the hot.field hot.validate setcheck.

can you brief it...?

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

More
5 years 6 months ago #22531 by me@t24
Replied by me@t24 on topic Field Validation Routine Executing Twice
Hi

I am having little cofussion among the hot.field hot.validate setcheck.

can you brief it...?

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

More
5 years 6 months ago #22532 by me@t24
Replied by me@t24 on topic Field Validation Routine Executing Twice
Hi

I am having little cofussion among the hot.field hot.validate setcheck.

can you brief it...?

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

Time to create page: 0.062 seconds