Written by

Technical Delivery Master at Deloitte
Question Michael Wood · Jun 9, 2023

Find business service in custom service class

I am writing a custom business class. I need to use the business service name that will be using the class within a SQL statement.   How can I get the business service name that is using the class?

Product version: IRIS 2021.1

Comments

Luis Angel Pérez Ramos · Jun 9, 2023

If your business service extends from Ens.BusinessService you can use this instruction to get the name of the Business Service:

set businessServiceName = ..%ConfigNameGet()
0
Michael Wood  Jun 12, 2023 to Luis Angel Pérez Ramos

Thanks. Worked like a charm. 

0