MYOB Greentree

HideShow

  • Contents
  • Index
  • Search
 
Display results with all search words

 

Performing Queries on Collections


When you select a collection in the Properties list, the first 200 objects display in the Value list. Click the Run query on collection name (if collection name is the name of the collection you have selected) at the base of the Value list to display a query form if you can to enter and run your query.

Click the Inspection Tool icon on the toolbar and then click Run query on allGLJournals.

Options Reference

Each option and field on the form is described below. Mandatory options and fields are highlighted in red.

Put query results into this data bucket

This option determines which data bucket the query results are put into.

and query on class

Select the class to query from the dropdown list. If the class has subclasses, the user can also select a specific subclass here.

For example, if you select the GLJournal class then only objects in this class will pass to the query.

And/Or

These options determine whether the search is an AND search or an OR search, if more than one query line is entered.

Query lines

Each query can consist, up to six lines. To add query lines click the More button. To remove query lines, click the Less button.

The query lines section has three parts: property, query type, and value. A value is not visible if no property is selected.

You can select a property that is on a path — for example: myGLAccount.accountNo.

The options for the query type depend on which type of property you have selected:

Property Type

Query Types

String

  • Is equal to
  • Is not equal to
  • Contains
  • Is greater than
  • Is greater than or equal to
  • Is less than
  • Is less than or equal to

Integer/Decimal (numeric)

  • Is equal to
  • Is not equal to
  • Is greater than
  • Is greater than or equal to
  • Is less than
  • Is less than or equal to

Boolean

  • Is true
  • Is false

Date

  • Is equal to
  • Is not equal to
  • Is after
  • Is before

Collection

  • Is empty
  • Is not empty

Reference

  • Is null
  • Is not null

Query and Close buttons

Click Query to run the query. A progress bar displays the query progress.

Click Close to close the query form.