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

Function that can be used to give the level of attachment of a routine

  • McLanJohn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 weeks ago #23676 by McLanJohn
Hello, 

As the question mentions, I'm looking for a core function that can be used to give the level of attachment of a routine (e.g. Input Routines, unauth Routine, etc..)

thank you 

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
2 years 2 weeks ago #23678 by VK
Hi
Would be surprised if such thing exists :))

What's the purpose of knowing it? Using the same routine in many places?
 

Cheers
VK

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

  • McLanJohn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 weeks ago #23679 by McLanJohn
Thanks for the reply

Yes, I need to use the same routine on different levels

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
2 years 2 weeks ago - 2 years 2 weeks ago #23680 by VK
Hi
you can try to analyze some COMMON variables like MESSAGE but it won't give you the full picture I afraid. Maybe call stack might help but it has to be retested after every major upgrade (and it will be different depending on client software - classic/Desktop/Browser/whatever).

Also: on different levels you'll need to apply different methods, for example, to raise an error... (set either E or ETEXT; CALL STORE.END.ERROR or not to call)

If there's huge logic that you don't want to duplicate - put it to a separate subroutine and call it from "hooked" ones.
 

Cheers
VK
Last edit: 2 years 2 weeks ago by VK.
The following user(s) said Thank You: McLanJohn

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

Time to create page: 0.106 seconds