Govern Knowledge Base Help

Govern Help

Overview

What is Govern Help

The Govern Help is the term used to describe one or more technologies that are available for users of the Govern suite of applications. The Help system is an alternate implementation of the end-user Online Help found with Govern for Windows. In prior releases, Help came in the form of PDF files that required the installation of the Adobe AcrobatTM Reader.

Govern Help is invoked with the standard F1 key. This keystroke will invoke Govern Web Help. Web Help will display the contextual help information related to the feature or form within the Govern application. Govern Web Help displays help information through a Web browser. This browser must have access to the Govern Knowledge Base web site located at (http://kb.harrisgovern.com).

User Customized Help

In some instances, as in the case of the Govern application, there is a user configured Help feature. User configured help is initiated through the Ctrl + F1 key combination. When properly configured by the user, depending on the Govern application, Ctrl + F1 invokes the help document that has been configured by the user.

Availability

Unless otherwise stated, Govern Help is available in Release 6.0.1509 and Release 6.1.1509; the level of detail that will be provided to the user is found in the following grid.

NOTE: If Help information for the specific area of the application is not available, the top level information will be displayed by default.

Read More...

Govern Application Location Level of information
provide to user
Command Key
DeployEZ Help button (upper right hand side) or command key Top level – General application information F1
Govern New Administration (GNA) Help icon (in the ribbon under Help tab) Top level and select utilities and tools F1
Govern Security Manager (GSM) Ribbon (in the Help group) Top level – General application information F1
OpenForms Designer (OFD) Help button on ribbon Top level – General application information F1
Business Entity Designer (BED) Help button (upper right hand side) or command key Top level and application panes F1
Govern Help button under Help tab in the ribbon Top level – General application information Ctrl + F1 (F1 invokes PDF Help)
Govern Scheduler (GS) Help Menu (Help > Show Help) Top level – General application information F1
Query Tool (QT) Button on ribbon Top level – General application information F1

Troubleshooting

Although the requirements for Governs’ Web Help are basic, i.e. the installed Govern application and any one of the supported Web browsers, occasionally issues may arise. Resolution to some Web Help related issues will be listed below.

Access to the Knowledge Base

The most common error that is encountered with Govern Web Help is to ensure that you have an account to access the Govern Knowledge Base. If you do not have an access account, contact Govern Support.

Related Topics

R&D Developers – How to set-up new codes PRODUCT_RD 101-std-fea-027

 

 

101-std-fea-027

 

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this.
Loading...

Record Selector Feature

Standard Feature – Record Selector (aka ‘Mini Browse’)

Overview

When a sales tax record has multiple accounts, users can browse these accounts with navigation arrows located on the tab, or the drop down menu of the Record Selector.
By default additional accounts with the record are numbered, but we can further customize this dropdown menu with information that is relevant to the account. This is done through the OpenForms Designer (OFD). The Record Selector can be looked upon as a sort of “Mini Browser” to quickly view the individual accounts with a Self-Reported Business Tax record. Browsing can be enhanced with customization of the record information that is displayed.

Customization

In the OFD the Record Selector is customized with the “Record description” property. To customize the information displayed in the Record Selector display…

  1. Open the OFD.
  2. Click the icon to open the form to be modified; e.g. Business Tax (ST007).
  3. Select the tab that contains the Record Selector; for ST the Tax Account tab.
  4. On the Right-Hand Side (RHS), locate the Record description property.
  5. Click the ellipses button to display the Expression Selector form.
  6. In the Expression Selector form enter you statements in SQL format.
NOTE: The parameters that are to be displayed in the Record Selector, as in SQL, are concatenated with a “+“. Requested attributes are preceded with “@attr“. As there is real-time validation in this editor. Only valid attributes are displayed, any errors with your statements are displayed.

In the Expression Selector, the Evaluate group can be used to preview your result.
To test your statements…

  1. In the Evaluate group, enter values for the requested attributes in the fields that are displayed; these fields correspond with those requested in your SQL statement.
  2. Click Execute to display a preview of the results. If any errors are displayed, review your statements for correctness.
  3. After testing, click OK.
  4. Back in the OFD, click Save to save your changes.

Viewing a Customization in GNA

To view the results of a customization, click Options (tab) > Refresh.
Ensure that you are viewing the Record Selector on the tab that you have modified. Each tab with a Record Selector must be modified individually.

Related Topics

Govern Standard features.

 

 

101-std-fea-028

 

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this.
Loading...

OFD – Main Browse Feature

Standard Feature – Main Browse

Overview

The browse feature is available to all standard OpenForms in most Govern module applications. The attributes and their position in the data grid can be customized and totals can be added to the list.
For instance, the Self-Reported Business Tax Main Browse allows users to quickly browse filing records in an easily hidden pane within the form; previously the Browse would open in a separate window, this has now been incorporated into the main form as an expandable window.

Configuring the Main Browse

Read More...

The Main Browse is customized in the OpenForms Designer (OFD) using the parameters found under the Browse property. In the OFD, open the form and select the tab to be configured. on the right hand side expand the Browse property to display configurable parameters such as:

  • Columns – Select the columns to be displayed. Columns are configured by a “drag & drop” from the Available column to the Selected column.
    NOTE: If no columns have been configured to be displayed, the Main Browse icon will not appear on the OpenForm tab.
  • Hidden on load – Displayed when the form is opened, otherwise opened with a click on the icon. Select Hidden on Load to hide the Browse screen when the record is loaded to the form. The Browse screen can be opened at any time with a click on the Browse button.
  • Show on left – Display the pane vertically on the left of the pane, otherwise horizontally
  • Size – Specify the width (if vertical) or height (if horizontal)

When all selections have been made, click OK to accept the choices. Click Save to accept any changes that have been made to the form.

Viewing the Customization

To view the changes to the form that were made in the OFD, on the Govern ribbon, either select Options (tab) > Refresh, or close, then reopen the application. When enabled, the Main Browse is accessed through an icon that appears beside the Record Selector on the form tab. The button functions as a “toggle” that displays/hides the browse screen.

Searching in the Browse Data Grid

As a default, the Browse datagrid screen associated with the Personal Property Detail form is docked on the left side of the Govern user interface. When listed, should the number of records retrieved in a search exceed the size of the results display area, it becomes difficult to locate and select specific records. For example when there are 100 or more records retrieved in a search, it can be a challenge to select a single record at a glance. Currently the Govern UI has a Ctrl + F keyboard command to search the content of an OpenForm; this search is also applied to the Browse datagrid.

The User Interface (UI)

The search user interface consists of single line parameter (A) that is invoked with a Ctrl + F keyboard combination.

Closing the Field

When no longer required, placing a cursor in the search field to activate, followed by a click on Escape (Esc) will close the field. Alternatively, the Search field may also be closed with a click on the “x” on the right hand side of the field.
101-std-fea-029_MainBrowse01.png

Performing a Search

To perform a search of the Browse datagrid pane…

  1. Click on the form to focus on it.
  2. Press the Ctrl + F key combination.
  3. Type the required value in the parameter and press enter.

101-std-fea-029_MainBrowse02.png

If the item required is available within the OpenForm or in the Browse data grid pane (B), the Ctrl + F will locate it. The located result will be highlighted. When there are multiple entries with the same search value, pressing enter repeatedly will cycle through all valid results (B).

Configuration

To implement the search feature, no additional configuration is required by an administrator or the end-user.

Related Topic(s)

Govern Standard features.

 

What’s New

[6.0] New User Interface
[6.0] As of GA release 1511, a Search Feature was implemented within the Browse Data Grid

Govern Added Fields

Govern Added Fields

Version 6.0 | Version 6.1

Overview

It is possible to add user controlled fields in different Govern Application Modules including Mass Appraisal, Workflow Management, Self-Reported Business Tax, and so on. The following explains this functionality.

Added Fields Form

When adding a field, a form is presented and contains the following information.

Column Properties

New Column Name (Attribute)

  • Column Name that will be created in the Database Table

Description (Attribute)

  • Field description that will be recorded in the business entity and system dictionary

Column Type

  • Attribute type: Currency, Date and Time, Memo, Numeric (single), Numeric no decimals (integer), Text

Size

  • Attribute size: If Text is selected, you will need to specify the length of the field. The maximum text size for fields created automatically is 15 (v6.0) and 30 (v6.1).
  • Attribute size if Look-up table is used: The maximum text size for fields created is 15 if fields is used for user tables as the TABLE NAME is recorded as a CODE in the VT_USER and SYSTEM tables. – validate exceptions

Important Note

  • Once the added field is created, it is no longer possible to change its properties. Create with care!

Validation Rules

Column Name

  • Must be unique in the Table and Business Entity
  • Maximum length of Column Name
    • Version 6.0 = 15
    • Version 6.1+ = 30
  • Must Meet the Column Name Database constraints:
  • Maximum length of Column
  • Must start with a letter, can only contain letters, numbers and the special character underscore

101-std-fea-041-UI-Error Message.png

Column Size

  • Must be within the range of 1 to 8000

Column Description

  • Maximum length of Column Description = 50 — See Roadmap

System Dictionary

User added fields are recorded in the system dictionary table when creating Added Fields.
See 101-std-fea-040 for more information.

Workflow Added Fields

On save of KIND and CATEGORY, the fields are created in SY_DICT_DESC under table name = WM_KIND_(code) and WM_CATEGORY_(code)

User Added Fields Configuration

Once the field has been created, additional information can be setup in the Business Entity Designer system. See 104-all-bed for more information.

See Also

This section will contain related topics.

 

 

101-std-fea-041

 

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this.
Loading...

101-std-fea-015

Govern Hibernate

Overview

An area that is critical to productivity in Govern is the user interface and workspace. The Govern Hibernate standard feature is designed to enhance the user experience. Benefits of using the feature are the following:

  • Personalization of user interface and workspace.
  • Reduced time required to recommence work after restarting the application.
  • Increased productivity by not having to re-establish interface setting and searches.

When enabled, the Hibernate feature will create a snapshot of the user work area, save the snapshot, and restore the workspace when the user restarts the application. Interface settings, i.e. Window location and pane settings are stored in (Table: USR_HIBERNATE).

Location

The Hibernate feature is located under the Options tab > Hibernate Mode group in the Govern Ribbon.

NOTEHibernate Mode is securable in the Govern Security Manager (GSM) if it is not available in the Govern ribbon, users should verify with an administrator as to whether they have sufficient access rights.

Settings

WARNINGEffective from versions: 6.0.1409.0113 and 6.0.1410.0017, a new table (Table: USR_HIBERNATE) containing 2 fields. These fields contain the User_ID and details of the Hibernate Environment in XML format. As a result of this new table, before running Govern users must first run the Database Verification process in GNA.

There are three (3) user setting options/states for the Hibernate feature. Hibernate states/options are available as a drop down menu that is displayed with a click on Hibernate Mode in the ribbon.
Options are as follows:

Auto (Default)

Auto is the default state of the application. When Govern is installed, the Hibernate Mode will be enabled. Exiting from the application will result in the current workspace being saved.

NOTE: When Auto is selected, the Save User Interface option cannot be selected.

 

NOTEWhen there are multiple OpenForm Profiles opened prior to the hibernate process, i.e. save and exit, upon restarting, the last active profile will be opened in the forefront.

On Demand

Select On Demand to give the option to:

  • Save the current workspace; saves the current workspace; the current appearance will be restored when the application is reopened.
  • Keep previously saved workspace. When you click OK, the previously saved workspace will be saved, i.e. the setting that was displayed when the application was opened.
  • Clear Previously saved workspace.

The above three (3) options are user selectable through a dialog box that appears when exiting the application.

NOTE: If the dialog box is closed, or the user clicks Cancel, the user will be returned to the application.

Off

When Off is selected, the interface will not be saved. Upon restarting the interface will be reset, i.e. no user panes will be opened, neither will any query results be restored.

NOTEWhen Off is selected, the Save User Interface option cannot be selected.

Business Rules

When the Hibernate feature is enabled, and a user workspace is saved, the following business rules will apply
1. All open profiles will be recorded, and restored when the Govern application is restarted.
2. When there are multiple OpenForms profiles open, when Govern is restarted, the focus will be on the active profile.

  • Each profile will be defined in the user interface settings file by its unique code and instance number to establish layout hierarchy.
  • If previously opened, all profile items, i.e. forms, reports, view queries, etc. will be reopened.
  • All dataset record keys will be loaded.
  • Active record will be selected.
  • The toolboxes layout will be saved using the ActiPro (Save/Load layout) feature.

3. A click on Save User Interface in the ribbon will save a snapshot of the user interface/workspace following the above rules 1 and 2.
4. In the event of an unrecoverable system failure, i.e. application “crash” the stored user workspace file is reset; all settings will be erased. The “Hibernate” Mode is set to “Clear”.

What’s New

[6.0] Previously the XmlHibernateByUser.xml file was used. Now the information is recorded in (Table: USR_HIBERNATE).

 

 

101-std-fea-015

 

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this.
Loading...

Audit Trail (Entity Audit) Feature

Audit Trail (Entity Audit)

Overview

The Audit Trail feature is available as of Release 6.0.1410. This feature is standard in Govern OpenForms. When enabled, changes to entities are audited and user changes (Add-Delete-Modify) are recorded.
Details such as When the change was made, Who made the change, What the previous setting was, and so on are recorded and displayed in the Entity Audit form. It is recommended that this feature be enabled for sensitive data. (Table: USR_AUDIT_OPENFORMS).

WARNINGAs this feature is enabled on a “per attribute” basis, excessive use, i.e. enabling the AUDIT flag in multiple attributes can impact system performance. It is therefore recommended that the feature be used sparingly, and only when required. After the required Audit has been performed, AUDIT flags should be reset to the default values (i.e. FALSE).

 

Specifications

Read More...

The audit feature of the Audit Trail is performed on the following:

  • At the Business Entity level
  • For any Govern key, e.g. (p_id, na_id, pp_id, etc.)
  • Business Entity properties that are to be audited may be enabled/disabled to audit:
    • User View (when data is sensitive)
    • User Updates (A)dd, (D)elete, (M)odify)
    • Menu item

Configuring

Any Govern Business Entity can be flagged for auditing. When enabled the entity will be added to the Audit Trail. To add an entity to the Entity Audit Trail:

  1. In the BED, open the entity that you want to add to the Audit Trail.
  2. Under the Properties pane select To be Audited or To be Audited in View Mode under 1 – Basic Data Settings.
  3. Click Save.
NOTE: When you return to Govern, to view the results of the changes, ensure that you either close and re-open the application, or click Refresh under the options tab.

 

NOTE: An audit trail CANNOT be setup for Custom Controls.

Viewing

When enabled, the Entity Audit screen can be displayed by selecting View (tab) > Entity Audit. Alternatively, the Ctrl-H key combination may also be used.

Security

Users and Roles

Restricting the viewing of the Entity Audit screen is securable by Users and Roles.

mGovern

Audit trail works with the mGovern – Mobile application; changes made on the road will be loaded back to the master table for review.
NOTE: An audit trail CANNOT be setup for Custom Controls.

What’s New

Audit Trail Reports

Audit Trail (Entity Audit) Reports for Govern and GNA – See the Documentation section below

Implementation of Audit Trail

6.0.1410 Audit Trail has been implemented as Standard Feature 017 – Entity Audit.
Hot Key and Menu Item to VIEW Audit trail on demand with VIEW security. New tables (reminder for Upgrades changes to reports)

Best Practices

  • CTRL-H (Hot Key) to show AUDIT trail information on demand. Useful for testing, designing (form/report/….)
  • Provides the administrator and integrator with the DATA SOURCE.
  • There is always a temptation to want to control what is audited and what is not.
    CAUTION: Query and Search implementations can return a lot of records, to the extent that there may be system performance issues.

Technical Information

The Audit Trail feature is configured in the BED at the Entity Level. The Audit number is AUTO-GENERATED.
In release 6.0 of Govern, the following tables are used for Govern and GNA respectively:

Govern Audit Trail

The following tables are queried for Govern:

  • (Table: USR_AUDIT_OPENFORMS)
    • AUDIT_ID
    • AUDIT_ACTION
    • ENTITY_ID
    • FORM_CODE
    • USER_ID
    • AUDIT_DATE
    • IP_ADDRESS
    • SOURCE_COMPUTER_NAME
    • REMOTE_COMPUTER_NAME
  • (Table: USR_AUDIT_OPENFORMS_CHANGE)
    • AUDIT_ID
    • ATTRIBUTE_ID
    • TABLE_NAME
    • COLUMN_NAME
    • OLD_VALUE
    • NEW_VALUE
  • (Table: USR_AUDIT_OPENFORMS_KEY)
    • AUDIT_ID
    • ATTRIBUTE_ID
    • KEY_NAME
    • KEY_VALUE
    • IS_PRIMARY_KEY

GNA Audit Trail

The following tables are queried for the Govern New Administration (GNA)

  • (Table: USR_ADM_AUDIT_TRANS) – One record for each save
    • AUDIT_TRANS_ID
    • LAST_MODIF_UID
    • LAST_MODIF_DATE
    • IP_ADDRESS
    • SOURCE_COMPUTER_NAME
    • REMOTE_COMPUTER_NAME
  • (Table: USR_ADM_AUDIT_RECORD) – One record for each table included in a save
    • AUDIT_RECORD_ID
    • AUDIT_TRANS_ID
    • TABLE_NAME
    • RECORD_ID
    • MODIF_TYPE
    • RECORD_DESCRIPTION
  • (Table: USR_ADM_AUDIT_FIELD) – One record for each field, only when a modification
    • AUDIT_FIELD_ID
    • AUDIT_RECORD_ID
    • FIELD_NAME
    • OLD_VALUE
    • NEW_VALUE
NOTE: The legacy table USR_AUDIT_TRAIL will be kept for modules running in prior releases, but administrators should note the new modifications and table structures for any impact to their processes.

 

Documentation

Click to view or download the documentation for this feature.

Audit Trail Reports

Click below to view or download documentation for the Audit Trail Report
101-st-fea-017_Audit_Trail_Report.pdf

 

 

101-std-fea-017

 

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this.
Loading...

GNA – Setting up Profile Queries

Setting up Profile Queries

Overview

The Govern Profile Query is a visualization of query results. This visual representation can be in the form of Pie Charts, Graphs of Data, or Data grids. When a dataset is retrieved, the impact upon the end user is increased significantly when the data is presented in a format that is easy for the viewer to visualize. Profile queries are presented as icons that are displayed on the Govern Release 6.0 ribbon. When the user clicks the icon that is used to represent the Profile Query, the query result is displayed. Optionally after the data is displayed, the resulting chart may also be configured to display a report when the user clicks on the image of the chart.

TableSpacer.gifControl NameTableSpacer.gif TableSpacer.gifRibbon ImageTableSpacer.gif TableSpacer.gifDescriptionTableSpacer.gif
Label GOV60_DatQryCtrls_01.jpg Displays a user-defined text label in
the Govern ribbon.
Large Label GOV60_DatQryCtrls_02.jpg Unlike the text label, a large text label icon is
displayed in the Govern ribbon.
Descriptive text appears below the larger
text label.
Picture GOV60_DatQryCtrls_03.jpg This is a picture icon that will display a
thumbnail representation of the selected image.
Pie Chart GOV60_DatQryCtrls_04.jpg Based upon the statements that are in the
query, a pie chart is displayed to represent
the data results.
Column Chart GOV60_DatQryCtrls_05.jpg Based upon the statements that are in
the query, a column chart is displayed
to represent the data results.
Line Chart GOV60_DatQryCtrls_06.jpg Based upon the statements that are in
the query, a line chart is displayed to
represent the data results.

Configuring the Profile Query

Prior to configuring the control in the OpenForms Designer, it will be necessary to design queries to retrieve the data that will then be presented. In addition users must approach this process with the understanding that units that are being retrieved must also be formatted for use in the control.

Queries Tab

The parameters under the Queries tab are used to configure the profiles with queries.

Profile Editor – Queries tab command buttons

Add a New Query: Click this button to add a new Query to the current profile.
Remove Selected Query: To remove the currently selected query from the profile, click Remove Selected Query.

NOTE: You are able to make multiple or extended selections using the Ctrl or Shift keys in this list.

Profile Editor – Queries tab parameters

Control Type: Select one of the control types for your query from the drop down menu.

Query: This list will display the English Long Name of the available queries.

When the Open icon is clicked , the SQL Query editor is launched to create a new query; when a query is already configured in the parameter, it will be displayed. Refer to SQL Query Editor for information about creating queries with the Govern SQL Query Editor.

Tool Tip: Enter the text for a Tool Tip that is displayed when the user pointer is hovered over the ribbon icon. This parameter has 3 possible states that can be selected.

  • Fix – Select this option to display the current text string as a fixed text description, i.e. tool tip.
  • Query – When selected, the parameter will change to a drop down list of queries. The result of the queries can then be used to determine whether the tool tip is displayed.
  • Logical Expression – Select this option to display a list of logical expressions that can be used to determine whether the tool tip is displayed.

Visibility: This is a flag that is set to indicate that the icon will be displayed in the Govern Ribbon.

  • Fix – Select this option to display the icon as a fixed image.
  • Query – When selected, the parameter will change to a drop down list of queries. The result of the queries can then be used to determine whether the icon is displayed. Refer to SQL Query Editor for information about creating queries with the Govern SQL Query Editor.
  • Logical Expression – Select this option to display a list of logical Expressions; the visibility of the controls icon will be based upon the result of the expression. Refer to Logical Expression Editor for information about creating Logical Expressions with the Govern Logical Expression Editor.

On Click group

The options in the On Click group when selected will determine what action occurs when the selected query item is clicked in the ribbon. The options are as follows:

None: Selecting None is an indication that no action will be performed when the user clicks on the Profile Query; this is the default.

Open Form: When selected, you will have the option to indicate which is to be opened when the user clicks on the query.

Open Report: Click to select the option to choose a report that will be displayed.

Open View Query: Select the Open View Query option to open a selected View Query.

Execute Command: To execute a command, click this option; available commands can be selected from the list.

Open GIS: When selected, this option will open a window with an embedded GIS output screen.

Open Query Tool: Selecting this option will open the Govern Query Tool (QT).

Open Batch Process: To configure the query to load a batch process, select this option.

NOTE: Multiple or extended selections using the Ctrl or Shift keys are not allowed in this list.

Configuring a Profile Query Link

A Govern installation will contain a variety of Profile Queries; these “base queries” should never be modified. When a customized query is required, users can do one of the following after making copies of Govern base queries:

  • Users can study the query for an understanding of how they work and then create their own.
  • Users can directly modify the copied query to obtain their desired results.

NOTE: In Governs list of base SQL queries, Profile Queries are identified with a dh preceding the name. as in…dhQryNm – QueryName These queries are seen under the SQL Definition List: in the SQL Query Editor.

Depending on the type of Profile Query required, the configuration steps can be simple. The profile query type that can be used to display the results is dependent on the “Statement Keywords” that are used in the query. The following is a list of the type of profile query and the required SQL statement keyword.

Profile Query Type SQL Statement Keywords Required
Grid No specific statement keyword required.
Line Chart CHART_TITLE, SERIE_TITLE, CODE, VALUE
Column Chart CHART_TITLE, SERIE_TITLE, CODE, VALUE
Pie Chart CHART_TITLE, CODE, VALUE

When the above statement keywords are present in the query, then Profile Query Type will be valid. If the statement keywords are not present and an incompatible Profile Query Type is selected, the icon will not appear in the Govern ribbon.

Example Profile Queries

The following SQL statements should serve as example of Profile Query types in Govern. Queries are designed in the SQL Query Editor in the Govern New Administration (GNA); see SQL Query Editor for details about creating and editing SQL queries.

Example 1 – Grid

The following is an example of a Profile Query that will produce a Query Grid.

—-START—-

— smPC11
— Property Assessment (Current + Last 4 Year)
— Query Grid
SELECT
MA_MASTER.YEAR_ID ‘Fiscal Year’,
(‘$’ || CAST(ISNULL(MA_MASTER.LAND_VALUE,0) AS VARCHAR)) ‘Land Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.LAND_AG_VALUE,0) AS VARCHAR)) ‘Land Agricultural Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.BLDG_VALUE,0) AS VARCHAR)) ‘Building Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.MISC_VALUE,0) AS VARCHAR)) ‘Miscellaneous Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.CAMA_VALUE,0) AS VARCHAR)) ‘Cost Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.INCOME_GRM_VALUE,0) AS VARCHAR)) ‘Income GRM Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.INCOME_DIR_VALUE,0) AS VARCHAR)) ‘Income DIR Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.COMP_SALES_VALUE,0) AS VARCHAR)) ‘Comp. Sales Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.MRA_VALUE,0) AS VARCHAR)) ‘Market Value’,
(‘$’ || CAST(ISNULL(MA_MASTER.APPRAISED_VALUE,0) AS VARCHAR)) ‘Appraised Value’
FROM MA_MASTER
WHERE MA_MASTER.FROZEN_ID=0
AND MA_MASTER.YEAR_ID>=Year ID-4
AND MA_MASTER.P_ID=Parcel ID
ORDER BY MA_MASTER.YEAR_ID DESC

—-STOP—-

For a Grid type query, when data is retrieved from a column, that will not have a column heading. The query will need to specify the column headings with an alias as illustrated above after the SELECT statement.
NOTE: The above query will only work for a Column Chart or Line Chart type query.

Example 2 – Column Chart or Line Chart

The following is an example of a Profile Query that will produce a Column Chart or Line Chart.

—-START—-

— dhMA01
— Appraised Value by Year
— Column Chart or Line
SELECT (‘Appraised Value by Year (in $ 100K )’) CHART_TITLE,
(‘Appraised Value’) SERIE_TITLE,
MA_MASTER.YEAR_ID CODE,
CAST((SUM(CAST(ISNULL(MA_MASTER.APPRAISED_VALUE,0)AS NUMERIC (20,2))/100000)) AS
NUMERIC(20,2)) VALUE
FROM MA_MASTER
WHERE MA_MASTER.YEAR_ID>=(Year Id-4)
AND MA_MASTER.FROZEN_ID=0
GROUP BY MA_MASTER.YEAR_ID
ORDER BY MA_MASTER.YEAR_ID DESC

—-STOP—-

NOTE: The above query will only work for a Column Chart or Line Chart type query.

For the Column Chart or Line Chart type, as indicated in the grid above, a CHART_TITLE, a SERIE_TITLE, CODE, and VALUE statement keywords need to be
present. In addition the numeric data results should also as a rule be formatted as

well. This is seen in the AS NUMERIC statements.

Example 3 – Pie Chart

The following is an example of a Profile Query that will produce a Pie Chart.

— dhMA02
— Appraised Value By Property Type for the Current Year
— Pie Chart
SELECT (‘Appraised Value By Property Type for the Current Year (in $ 100K )’)
CHART_TITLE,
ISNULL((SELECT VT_USER.SHORT_DESC_EN FROM VT_USER WHERE
VT_USER.TABLE_NAME=’PROPTYPE’ AND
VT_USER.CODE=ISNULL(PC_LEGAL_INFO.PROPERTY_TYPE,’N/A’)),’N/A’) CODE,
CAST((SUM(CAST(ISNULL(MA_MASTER.APPRAISED_VALUE,0)AS NUMERIC (20,2))/100000)) AS
NUMERIC(20,2)) VALUE
FROM MA_MASTER
INNER JOIN PC_LEGAL_INFO
ON MA_MASTER.P_ID=PC_LEGAL_INFO.P_ID
AND MA_MASTER.YEAR_ID=PC_LEGAL_INFO.YEAR_ID
AND MA_MASTER.FROZEN_ID=PC_LEGAL_INFO.FROZEN_ID
WHERE MA_MASTER.FROZEN_ID=0
AND PC_LEGAL_INFO.YEAR_ID=Year Id
GROUP BY PC_LEGAL_INFO.PROPERTY_TYPE ORDER BY PC_LEGAL_INFO.PROPERTY_TYPE

—-STOP—-

NOTE: The above query will only work for a Column Chart or Line Chart type query.

For the Pie Chart type, as indicated in the grid above, a CHART_TITLE, a CODE, and a VALUE statement keywords need to be present. Again, as with the Column Chart and Line Chart types, numeric data results should also be formatted as well. This is seen in the AS NUMERIC statements.
Steps to Configure the Profile Query In order to illustrate the configuration of a profile query, we will first use an existing query.

Steps to Configure the Profile Query

In order to illustrate the configuration of a profile query, we will first use an existing query.

Step 1 – Design and Review the Query

Due to the fact that we will be using an existing Govern base query, no SQL design is required. It is nonetheless recommended that the SQL statements of the base query be reviewed. A review process can provide assurance that the required statement keywords are present for the desired Profile Query. Refer to the SQL Query Editor for details about creating queries.
For the example, the query will display a visual representation of the assessment for the past 5 years from the current fiscal year; a Line Chart profile query will be used.

To review the query…

1. In the Govern New Administration (GNA), select the Editors tab.
2. On the Ribbon select the SQL Query Editor.
3. Under the SQL Definition List pane on the Left Hand Side (LHS), locate the Assessment over the last 5 years query; as a profile query, its name will be preceded with a “dh”. The name used here is as follows, dhPC1 – Assessment over the last 5 years; this title will appear as Assessment over the last 5 years when the profile query is being configured.

SELECT (‘Appraised Value over last 5 years’)CHART_TITLE,’Current Parcel’
SERIE_TITLE,MA_MASTER.YEAR_ID CODE,SUM(ISNULL(MA_MASTER.APPRAISED_VALUE,0)) VALUE
FROM MA_MASTER
WHERE MA_MASTER.YEAR_ID>=(Year Id-4) AND MA_MASTER.FROZEN_ID=0 AND
MA_MASTER.P_ID=Parcel ID
GROUP BY MA_MASTER.YEAR_ID
ORDER BY MA_MASTER.YEAR_ID DESC

NOTE: As required the CHART_TITLE , SERIE_TITLE, CODE, and VALUE key words are required.

Step 2 – Configure in the Profile Editor

In the To review the query…

1. In the Govern New Administration (GNA), select the Editors tab.
2. On the Ribbon select the Profile Editor.
3. When the Profile Editor is open, select the Profile that will contain the Profile Query.
For this example select Property Control from the List of Profiles pane on the LHS.

Step 3 – Add the Profile Query to the Profile

As indicated earlier, Profile Queries are configured under the Queries tab of the Profile Editor.

To configure the Profile Query…
1. On the Queries tab, click Add a new query (A); a blank label will appear in the horizontal area directly below the Queries tab (B).
NOTE: This horizontal area can be used as a representation of the Govern Ribbon when the profile is open and a search has been performed.

The type of Profile Query control that we want to use is a Line Chart…

2. For Control Type, click to select Line Chart from the drop down menu.

3. For the Query parameter, select the Profile Query that was designed. For this example, a Govern base query is being used; select the English Long Description Name that appears in the drop down menu list.

NOTE: If a query needs to be modified or created, click the Open icon to launch the SQL Query Editor. By default if there is a currently selected query, it will be opened.

Queries are designed in the SQL Query Editor in the Govern New Administration (GNA); see SQL Query Editor for details about creating and editing SQL queries.

4. In the optional Tool Tip field enter a description that will be displayed when the users pointer hovers over the control displayed in the Govern Ribbon; by default the Fix option is selected. Refer to Tool Tip for details on this option.

5. The Visibility option is by default set to True, an indication that the control’s icon will be visible; by default the Fix option is selected. Refer to Visibility for details on this option.

6. In the On Click group, the option of None is selected by default. If a Form, Query, or Report is required to be opened when the Profile Query result screen is opened, then it will be necessary to select one of the options. Refer to the On Click group for option details.
After the changes have been made, note the red dot on the Profile tab, an indication that a modification has been made to the profile.

7. Click Save on the Profile tab, after a brief pause the changes will be saved to the profile.

Step 4 – Review the Profile in Govern

Once the profile has been modified with the addition of the Profile Query controls, the final step is verifying that the changes are visible and functional in Govern.

To view a configured Profile Query in Govern…
1. Open the Govern Release 6.0 application.

2. Under the File menu open the Profile that the Profile Query was configured with.
3. Select the home tab.
4. Use the Predefined Search to perform a search.
5. Load the results into the Dataset Treeview.
When the search results have been loaded into the Dataset Treeview, the Profile Query controls will be displayed in the Ribbon.

NOTE: A ribbon with the Profile Query icons that have been configured will not be displayed until a Search has been performed.

Behavior of the Profile Query Control

When the user pointer is hovered over the control, a thumbnail preview of the data result is displayed with the Tool Tip. A click on the Control’s icon will display the data results in a tabbed window.

The display window has two (2) tabs…

Chart: The Chart tab is the default display view. It contains the Profile Query Result. The Chart tab also contains a Print icon.

  • Click Print to print the chart.

Results: A click on the Results tab displays the tabulated date results that are used to generate the Chart representation. The Results tab contains a Print icon and a Export to Excel icon.

  • Click Print to print the table.
  • Click Export to Excel to export the table data as an Microsoft Excel spreadsheet.
NOTE: In order to be able to use the Microsoft Excel export option, Microsoft Office containing Excel or Microsoft Excel standalone must be installed on the system that Govern is installed on.

 

 

101-std-fea-003 Setup

 

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this.
Loading...