Execute Method Templates

  • Updated

The language rule you might use to call a User Defined Function or a .NET assembly method can be unfriendly. You can use an Execute Method template to make that rule easier to read and write.

For example, you could use a language rule to call a function as follows:


An example of authoring the same language rule using an Execute Method Template might be as follows:


Here is how this template would be defined:


Here are the possible settings on this screen:


Specifies the name of the vocabulary template. The name is used for irSDK access.

Display Name

Name of the template to be displayed in the business language template list.

Menu Group

Menu group under which the template will be listed. The user can choose to add his template to an existing menu group or can create his own menu group.


The scope of the template availability can be limited to only the context of the previously selected entity by checking "Available in rules and calculations for this entity." The availability can also be extended to those rule elements which have a reference to the previously selected entity by checking "Available in rules and calculations for entities referencing this entity."


The placeholders created in business language are configured here. For a detailed description of placeholders refer to "Configuring Placeholders".

Business Language

Business language to be displayed in the business language editor. Placeholders can be added to the template by enclosing them within $ symbols.

Function Library/Entity

Specify the User Defined Function library, .NET Assembly library, or .NET Assembly schema to be called.


Select the function or method in the library.

Assign Return To

If the function or method has a return value, specify the field where that return value should be assigned. You may specify a field, or you may use one of the placeholders surrounded by $ symbols, e.g. $taxrate$.

Leave this field blank if there is no return value, or if you want to ignore the return value.


Specify an expressions, including placeholders, to be used passing parameters to the query.

Was this article helpful?

0 out of 0 found this helpful



Please sign in to leave a comment.