Adhoc reports - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Adhoc reports provide a fast way to view plant information. The format, or layout, of a report is fully configurable. You can save these layout definitions as custom reports that you can reuse.

As part of creating and running a report, you select an existing report template. The items displayed are based on the report template that you selected. The report template, which is defined by an administrator in the Desktop Client, includes a view definition and a Microsoft Excel file. The view definition determines what objects, relationships, and properties are to be included in the report. The Microsoft Excel file specifies the layout of the report. For more information about creating report definitions, see How to Configure the Reports Model.

You can create a saved report in the Desktop Client by selecting a view definition and the properties to be exposed on the report. The properties can be configured to:

  • Set the column header of the data.

  • Define the sort order of the report.

  • Define pre-configured filter criteria.

  • Identify run-time prompting for values.

New Report dialog box

Allows you to select the item type for which you want to generate a report.

Description - Displays the descriptions of the available item types.

Save Report dialog box

Allows you to save your query criteria for the report.

Name - Displays the name of the report that you want to save.

Description - Displays the description of the report that you want to save.

Owner - Displays the user name of the user who created the report.

Edit Report Definition dialog box

Allows you to define the query criteria for a new report.

Report output style - Allows you to specify the report style. You can send the report output to a list view or to a file in Excel, Word, or HTML format. If you specify Excel as the destination file type, you can use an existing Excel file as a template to format the report. The Custom Report option allows you to send report data to a custom reporting application, if your system administrator has set up such a configuration.

Related Item - Specifies the category of the property that you want to read from the database and put into the report.

Caption - Displays the names of the properties that can be selected for your output report. You can type a new name.

Sort - Allows you to select a sort type of either ascending or descending.

Sort Order - Allows you to sort the order of the properties selected for the report.

You can assign a sort order value to a property by right-clicking or left-clicking the Sort Order column for that property:

  • By right-clicking the column, the greatest value incremented by one is assigned to the property.

  • By left-clicking the column, the greatest value incremented by one is assigned to the property; meanwhile, a spin box is shown, allowing you to change the value.

Criteria - Allows you to define a value for your query criteria.

Prompt - Allows you to prompt the user for query criteria.

Download Physical File – Allows you to download physical files related to an object in the report to a shared location. This option is available if the Download File check box is selected and a valid shared path is specified in the Download Path text box.

  • When you change the value of the Download Physical File option to True in a row that represents related items, you will see the following changes in the Report Details list:

    • The row where you clicked will retain the False value, but a new row is created at the bottom of the Reports details list.

    • This new row has the same value in the Related Item column and represents the path where the files are downloaded to.

    • The Caption option in the new row is updated to have the word “Path” appended to the caption of the original row, but it is editable if you want to change it.

The Download Physical File option is set to True.

Select All - Allows you to select all the properties listed.

Clear All - Allows you to clear all the selected properties.

Display latest values only - For reports run on published data, displays the latest published values shown in DWShared domain for shared objects.

This option only applies to reports that display published data. The report also highlights inconsistent property values.

Move Up - Moves the selected row up one position in the report definition.

Move Down - Moves the selected row down one position in the report definition.

Schedule ad hoc report

Run in background - Allows you to run the ad hoc report in the background.

Start date - Allows you to specify the date and time to run the ad hoc report in the background.

Download or Compress

Download Files - Allows you to download physical files to a specified shared location.

Download Path - Allows you to specify a shared location to save physical files.

Download as Zip File - Allows you to download physical files in a zipped format.

Apply - Displays the report using its current format.

Save - Saves the report in its current format

Criteria Definition dialog box

Allows you to specify the criteria to use to filter the contents of the selected report column.

Clear criteria for this property - Allows any value for the property in the report.

Define criteria for this property - Allows you to specify criteria for the property in the report.

Currently defined criteria for [property name] - Lists the criteria defined for the property. You can define multiple criteria statements for a single column.

Operator - Allows you to specify search operators to refine your search to a specific set of objects. There are two sets of operators you can use, equals and like, depending on the property type selected.

If the property is a value in a list available by default or if you use the words Null or Blank as the value, only the equals operator is available. The operator automatically changes to equals when you type Null or Blank.

You can use wildcards to define search criteria for a string property that matches one or more characters using the like or equals operator.

The following table shows the operators for strings, doubles, integers, small integers, and select lists:

Parameter

Function

equals

Includes items where this property value matches what you typed in the VALUE box, including wildcards.

not equal to

Includes items where the value of this property does not match what you typed in the VALUE box.

less than

Includes items where this property value is less than what you typed in the VALUE box.

greater than

Includes items where this property value is greater than what you typed in the VALUE box.

less than or equal to

Includes items where this property value is equal to or less than what you typed in the VALUE box.

greater than or equal to

Includes items where this property value is equal to or greater than what you typed in the VALUE box.

like

Includes items where this property value matches what you typed in the VALUE box, including wildcards.

SHARED Tip The behavior of the equals and like operators is identical. You can use either of these when you are defining the search criteria using wildcards.

  • An asterisk (*) matches zero or more characters in your search. For example, if you specify pa*, the software returns objects where that property value contains words that start with the characters pa, such as pan, park, part, and so on.

  • You can use an underscore (_) or a question mark (?) to match a single character. For example, if you specify pi_ or pi?, the software returns pid, pit, and pip, but not pipe.

  • To search for objects where the property value includes an underscore, question mark, or asterisk character, enclose them in square brackets. For example, use 100[*] to return 100*, but not 100abc.

  • You can search for objects with a property that contains a single character in a specific range of characters by enclosing them in square brackets. For example, using [a-f] returns only objects where this property's value includes a to f in a set of characters. So, if you specify pi[a-p], the software returns objects where the property value is pid and pip, but not pit, as 't' is outside the range.

  • You can use a caret (^) character to search for objects where a property value does not include a character in a range or set. For example, if you specify pi[^a-p], the software returns objects where the property value is pit, but not pid or pip, as 'd' and 'p' are in the range a-p.

Value - Allows you to type a value for the property upon which you are basing your query criteria. 

Join criterion - Specifies whether to join multiple criteria using AND or OR for this single report column. You cannot mix AND and OR when defining multiple criteria for a single column.

  • Use AND if you want all the criteria to match before including the item in the report. This option is more restrictive than OR.

  • Use OR if you want only a single criterion to match before including the item in the report.

Add Criterion - Adds the specified operator and value to the list of defined criteria.

Update Criterion - Updates a selected criterion when you change the operator, the value, or both.

Delete All Criteria - Deletes all criteria from the list.

Delete Selected Criterion - Deletes the selected criterion from the list.

Set Date and Time dialog box

Allows you to specify additional filter criteria on properties that store a date and time.

Calendar - Allows you to select a specific date.

Today - Selects today's date. If you want to set a date that is a specific period from today, select Today plus (+) or minus (-) number of Days, Weeks, or Months.

Ignore non-working days - Allows you to ignore non-working days in the default calendar for the site when calculating the duration. The default calendar is selected using the system options. For more information on the system options, see Configure the system options.

CSV Report Settings dialog box

Allows you to configure settings for the CSV and CSV Repeated output style reports.

Properties Delimiter - Allows you to specify a delimiter to separate the properties in the report. The default value is a comma.

UOMValue Delimiter - Allows you to specify a delimiter to separate the UoM values in the report.

Date Time Format - Allows you to select a date and time format for the report. The default format is dd-MM-yyyy.

Encoding Format - Allows you to select a character encoding format for the report. The default format is ISO-8859-15.

Output Enums By – Allows you to specify a format for extracting the enum or UoM values into the report. The default format is Display Name.

Split UOM - Allows you to specify whether the value and the UoM are displayed in separate columns in the report.

What do you want to do?