How to search for multiple objects

Sometimes you may need to search for instances of different business object based on the values of attributes common to all of them. For example, let us assume you have defined SavingAccount and CreditAccount objects. Both objects contain different attributes and yet both of them have the Balance attribute defined. Suppose you want to find all accounts (saving and credit) with the balance greater than 1000 dollars.

The solution is to add both objects to a business group (called Account, for example) – see the “Adding/Editing Business Object Groups” section – and define a query that will look for the business object group rather than an individual business object (see the “Adding/Editing Queries” section).

  • Last modified: 2022/09/13 18:15