Marc
A transform, like BPL is just a class. In studio, you could ‘view other’ and add methods in exactly the same way that you add methods to a business process.
The real issue here, is how you might invoke the method and I don’t think it is likely to be much help.
From a business process, message router or the testing page (or from your own code if you chose) the DTL is executed by calling the class method Transform(). The transform is never instantiated as an object, so you can’t call instance methods of the transform. That is why you have <NO CURRENT OBEJCT> from the test page.
You could add a class method to the transform and call it with the usual class method syntax, but this doesn’t normally give any advantage over calling a method from a utility class, such as one used to build custom functions.
Is there a particular reason you want to add a method?
dave
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Ensemble-in-Healthcare?hl=en