- Forum
- T24 Technical Discussions
- T24 Development & Customization
- Function that can be used to give the level of attachment of a routine
×
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
Less
More
- Posts: 11
- Thank you received: 0
2 years 2 weeks ago #23676
by McLanJohn
Function that can be used to give the level of attachment of a routine was created 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
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
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
2 years 2 weeks ago #23678
by VK
Cheers
VK
Replied by VK on topic Function that can be used to give the level of attachment of a routine
Hi
Would be surprised if such thing exists :))
What's the purpose of knowing it? Using the same routine in many places?
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
Less
More
- Posts: 11
- Thank you received: 0
2 years 2 weeks ago #23679
by McLanJohn
Replied by McLanJohn on topic Function that can be used to give the level of attachment of a routine
Thanks for the reply
Yes, I need to use the same routine on different levels
Yes, I need to use the same routine on different levels
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
2 years 2 weeks ago - 2 years 2 weeks ago #23680
by VK
Cheers
VK
Replied by VK on topic Function that can be used to give the level of attachment of a routine
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.
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.
- Forum
- T24 Technical Discussions
- T24 Development & Customization
- Function that can be used to give the level of attachment of a routine
Time to create page: 0.106 seconds