Sort Collection Templates

  • Updated

At the grocery store, the cashier has finished scanning the customer's grocery items, and you need to print a sales receipt. Wouldn't it be nice if the receipt were presented by category (dairy, produce, deli, staples, etc.) order? Inside each category, you want to show the items in description order.

You could sort the grocery items collection using a rule such as this:

mceclip11.png

However, you want to write it in business language:

mceclip12.png

Here is how this template would be defined:

mceclip13.png

Here are the possible settings on this screen:

Name

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.

Scope

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."

Business Language

Business language to be displayed in the business language editor.

Collection Expression

Identify the collection to be cleared.

Fields

Identify the collection member sort field(s). For each field, you may specify Ascending or Descending sort order.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.