MYOB Greentree

HideShow

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

 

Page Maintenance


Use this form to create pages that WebView users can see.

Options Reference

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

Code

Enter a code to represent the page, up to 30 alphanumeric characters.

Name

Enter an extended description for the page, up to 200 alphanumeric characters.

Page Type

The page type you select determines what additional information you must enter on the Main tab on this form:

  • onlineEnquiry - An online enquiry references a Greentree Desktop Explorer query.
  • onlineWebForm - An online web form references a WebView form.
  • onlineReport - An online report form references any of the reports under the Greentree > Reports > Other Reports menu.

Online Enquiry

If onlineEnquiry is selected as the page type, you can define the Explorer query to link to the page in the Query Details section.

Query

Select from a list of existing Explorer queries.

Maintain

Click this button to open the Explorer query to view or modify it.

Import Query

Click this button to import an Explorer query.

Allow Export to Excel

Use this option to determine whether the user can export the results displayed on the WebView page to Excel:

  • User Default - If you select this option, the User Maintenance setting for the WebView user determines whether or not they can export the page results. If the user's option is Yes, they can export the page results to Excel; if the user's option is No or Never, they can't export page results to Excel.
  • Yes - Users can export page results to Excel, unless the user's setting is Never.
  • No - Users can't export page results to Excel, even if the user's setting allow this.

# Rows to Display

This setting determine how many record rows displays on the page when it is viewed using WebView. It is taken from WebView Module Control when you are creating a new page, but it may be changed for an individual page.

When records display in WebView, if the number of records is greater than the number of rows setting, the records exceeding that number displays on subsequent pages.

Selection Criteria

This section of the form displays the selection criteria (if any), selected by the user in the Explorer query.

  • Field Name - The Greentree Desktop database label for the field.
  • Display Name - The name the user wants to display when the enquiry is viewed using WebView. Click into the field to enter a display name.
  • Web Visible? - Indicates whether the selection parameter is visible to the user in WebView. If you select this option, you can view and use this parameter when generating a WebView enquiry.

Query Columns

This section of the form outlines the display columns selected by the user in the Explorer query.

Field Name

This is the database label for the field.

Note: If you right-click the field name column within a row, you can select the Add Custom Script Column option.

You can return data (to web pages based on an explorer query) based on a custom script. The script may see a runtime variable if variable data applies — for example, date ranges. When you select the option, the Script Editor for class form displays.

You must enter a password to edit the script. This is the same password used for Approvals & Alerts — contact your Greentree support consultant for information.

Click Compile to ensure there are no errors, and OK to close the form. A new row will then be added to the query column table to represent the script output.

Display Name

This is the name the user wants to display for the column when the enquiry is viewed using WebView. Click into the field to enter a display name.

Alignment

This is the display alignment for the column label and contents. Click into the field and select Right, Centre, or Left alignment.

Format

This is the display format for the column data. Click the Select button to edit the format. Select whether the data should be displayed as a number, date, boolean, or time. Further options displays based on the format selected.

Footer

Select None, Count, or Sum as the enquiry footer. If Count is selected, a count of instances displays in the page footer section. If Sum is selected, a total of column values displays in the footer section.

Filter

Select one of these, depending on the type of data that displays in the column: Select, Text, Numeric, and None. Each option enables a new selection row to display under the column headings when viewing a page using the web:

  • Select displays a dropdown box listing displayed values. You can select one to view.
  • Text enables you to enter characters to filter, and results displays based on those characters. Lines not containing the characters do not display in the results.
  • Numeric can only be selected for a numeric field. Use it to enter a numeric expression to use as a filter — for example, >5000 or =0, and the like.

Allow Group

If you want the column to be grouped using the value in the column, select this option. When you view the report, you can select one of these to group results.

Drill Down

Click the <Select> button to link the page to another query or form when the records display using WebView:

  • Page Type - onlineEnquiry - Select this page type to link to a query created or to be created using Explorer.
    • Query Collection - Select the collection on which the Explorer query is based.
    • Page - Select/enter the Explorer query (the option are limited to queries based on the selected collection). Leave empty to create a new query (click New).
  • Page Type - onlineWebForm - Select this page type to link to a WebView form.
  • Page - Select or enter the form to link to.
  • Page Type - other - Select this page type to link to a hard-coded page type.
  • Page - Select/enter the hard coded page. Select arinvoicepreview to display a PDF copy of an AR invoice, or View Attachment to display an attachment to the linked record. Note: If you select arinvoicepreview, the link must be from an AR invoice record, such as a reference field in the original query.

Navigator

If onlineEnquiry is selected as the page type, this information displays on the Navigator tab. Any links to other WebView pages, forms or menus display.

Online Web Form

If onlineWebForm is selected as the page type, select the Form to display on the page in WebView.

This information displays on the Navigator tab. Any links to other WebView pages, forms, or menus display.

GL Report Menu

If a page type of glreportmenu is selected, no further setup is required.

Online Report Form

If onlineReport is selected as the page type, select the Report to display on the page in WebView. When you select a menu item from WebView that is a report, a page displays listing all the selection criteria down the left side of the page. If any of the criteria are date related, click a calendar icon to select a date.

You can preview or print the report. If printed, the report prints to the user's default printer.