oTrans object available in custom class?

Hi all,
Is there a way to make the oTrans object available to custom classes?
I’d like to call an Epicor adapter in my custom class but not quite sure how to do this without oTrans being available. Thanks

What do you mean by “Custom Class”?

A class that is not part of the standard Script class in a form customization.

But is your class defined within a customization? If so you can just pass the oTrans in when you invoke your object.

Ah that was it, I needed to pass oTrans as part of calling the method for that class. Thank you!