|
-
In the Open
Project dialog box, select the tab for the type of filter you wish
to define:
-
Filters that have
already been defined and saved in the selected project can be selected
from the Filter list.
Select an existing filter, or click
to
edit the filter criteria.
-
When
is
clicked, the Edit Filter dialog box is displayed for the
selected type (Global, Product, Process, Resource).
The Edit Process Filter dialog box is shown below:
If an existing filter has been selected, the dialog box will
initially be populated with the saved filter criteria.
Name
The Name field can be used to define a new name for the filter. This
name must be unique with respect to all other filters saved with the
project.
Description
Used to define the description of the filter. In the case of a
temporary filter, the Description field is disabled.
Public
Public filters can be used by all users, but
only the creator or an administrator can create or modify them. If the current
user does not have rights to create a Public filter, this
option is disabled. Personal
Only the current user or an administrator can read, create and modify
Personal filters. A Personal filter can be converted
into a public filter (and vice-versa) if the user has "create" rights. Temporary
Temporary filters only apply to the current
load of the project, and can be modified only by the creator. A
temporary filter can be converted into a personal or public filter if
the user has "create" rights for personal and public filters.
A new Temporary filter can be created from an existing
Personal or Public filter by providing a different
name.
All the three type of filters are persistent. Temporary
filters are stored in the "user data" section of the SDM, while personal
and public filters are stored as calculation models in the database.
The following table describes the required rights for creating and using
filters:
|
User Rights Requirements |
Functional Rights Requirements |
Temporary Filter |
"Read" rights |
No Rights required |
Personal Filter |
"Read" + "Execute" + "Add Child" Rights |
Create Personal Filter |
Public Filter |
"Read" + "Execute" + "Add Child" Rights |
Create Global Filter |
Filters
The supported filter types are configured as described
below:
OK
Saves the current filter to the database. If an existing
filter was selected, it will be overwritten in the database with the
current criteria. Cancel
Cancels the current filter selection. Delete
Deletes the selected filter from database. Save as new
Saves a new filter in the database.
Filter Types
-
Click the
button at the right of each
type (Process, Product, or Resource) to configure the filter settings for each. A Filter Settings dialog box is
displayed for the selected type:
-
Select one of the displayed options to indicate the type
of filtering to be used. These options are defined as follows:
-
No: Do not use filtering.
-
Filter String: Select from an
administrator-defined list of code rules to display only those PPRs which match the selected code rules. When
the button is clicked, a dialog box is
displayed which lists all of the code rules tokens defined in the database:
-
Calculation Model: Select from an administrator-defined list of calculation
models to display only those PPRs that match the defined criteria.
-
Click the
button to display the
Filter
Settings dialog box for the Extended Effectivity Filter:
-
Select one of the displayed options to indicate the type
of filtering to be used. These options are defined as follows:
-
No: Do not use extended effectivity filtering.
-
Filter String: Select from an administrator-defined list of code rules to
display only those PPRs which match the selected code rules.
-
Calculation Model: Select from an administrator-defined list of calculation
models to display only those PPRs that match the defined criteria.
Selection of the Filter String checkbox and the Calculation Model checkbox will
concatenate them using the Boolean AND operator.
The Date Effectivity Filter allows for the selection of products, processes and resources based on an effective
date range.
-
Click the button of
the Date Effectivity Filter to display the Select Date Effectivity dialog box:
-
Select the Date Mode.
The Date Mode section allows for three
different modes of date selection:
Date |
Allows for the selection of a user-specified range (defined via the Date Range section). |
Today |
Automatically sets the date range to start and end with the current date. |
Today and Future |
Automatically sets the Start Date to the current date, and leaves the End Date undefined
(interpreted by DPM as infinity). |
Select the Date Range.
- If the Date Mode selected in the previous step is "Date", use the
buttons to open a Select Date
dialog box and define Start and End effectivity dates.
-
If the Date Mode is set to "Today" or "Today and Future", the Start and End
effectivity dates are set automatically based on the current date.
|
-
Select the Filter Mode(s).
The Filter Mode section determines how the
Start and End Dates are applied. Each filter is represented by:
- a red line representing the start and end dates defined for an object, and
-
a black line representing the start and end dates defined in the Date Range
section.
|
The five filters may be used in any combination, and are defined as follows:
 |
Show objects which both begin and end on the same dates as defined in the Date Range
section. |
 |
Show objects which begin after the Start Date and before the End Date defined in the Date
Range section. |
 |
Show objects which end within the Start and End dates defined in the Date Range section. |
 |
Show objects which start after the Start Date and end prior to the End Date defined in the
Date Range section. |
 |
Show objects which start before the defined Start Date, and end after the the defined End
Date. |
The Line Filter allows for the selection of products, processes and resources based on a line number.
-
Click the
button of the Line Filter to display the Select Line Number dialog box.
-
Select the desired line number and click
OK.
The Label Filter allows for the selection of products, processes and resources based on a defined label.
-
Click the
button of the Label Filter to display the Select Label Filter dialog:
The labels and names may be sorted by clicking on either the Label or
Name column headers.
-
Select the desired label filter and click
OK.
The Attribute Filter allows for the selection of products, processes and resources based on a user-defined set
of attribute criteria.
-
Click any of the
buttons of the Attribute Filter to
display the Specify Filter(s) dialog:
This dialog lists defined Process, Product, and Resource Attribute Filters, and allows for
filters to be added or edited, removed, loaded and saved.
Adding a new product or resource attribute filter
-
Click Process Attribute Filter, Product Attribute Filter or Resource
Attribute Filter to highlight it.
-
Click the Add/Edit button
to display the Specify Filter
Criteria dialog box:
This dialog specifies four different areas of criteria, defined as
follows:
Plantype
Allows for the creation of a criterion for a given plantype, or for either all of the organizational plantypes or
all of the non-organizational plantypes of the filter scope (process, product or resource plantypes). Note that
the values of the other fields of this panel are lost when the Plantype field is modified.
Attribute
Lists the available attributes (all attributes with the "Display in Finder" option set in the Process Engineer
Configuration manager) for the selected object type.
Operator
Lists the different operators based on the the Attribute type selected (=, != LIKE, NOT LIKE for string
attribute, =, !=, >, <, >=, <= for numerical attributes).
Value
Displays the value(s) to use for filtering for this attribute. By default, only one value can be defined per
attribute. However, if the operator used for the attribute is = or !=, then several values may be specified
(combine with an OR operator for the = operator and by and AND operator for the != operator). Three buttons are
available to manage the value(s):
Add allows the user to enter a value for the attribute. When
clicking on the button, a panel will be displayed to enter the value (with the value field empty when opening
the panel):
Depending on the selected attribute, this field may be either a list
box, date editor or text field.
Remove allows the user to remove a value from the list. This
button is enabled only when an entry in the value list is selected.
Edit allows for an existing value to be edited. This button
is enabled only when an entry in the value list is selected. When clicking on the button, a panel will be
displayed to update the value selected in the list:
Saving a filter
The Save button
is used to save a filter for
reuse. Filters are saved in the database and available for any user from any machine via the Load button (described
below), and are assigned to the master Plantypeset of the current project.
When the Save Filters dialog is displayed, use the checkboxes to select a filter type
to save and enter the name of the filter(s) to save in the Name field:
Attribute filters may be saved against multiple processes. If a filter that
has been saved against multiple processes is modified, the system will not allow it to be overwritten. It must be
saved as a new filter with a different name.
The Save filter against loaded process option is available is disabled when defining
attribute filters at project load time. A filter can be saved an associated to a process only after a process has
already been loaded, therefore the Load Manufacturing Context and
Edit PPR Hub Document's Information commands allow for attribute filters to be saved
against the loaded process.
Loading a saved filter
The Load filter button
displays a panel combo boxes
listing the existing Process, Product, and Resource filters for the master plantypeset of the current project.
Select a filter and click OK to load it.
Delete buttons are available in this panel to delete a selected filter.
When filters saved in the database are loaded and used to filter the
project, the saved filter names used for Process, Product and Resource components are displayed in the three edit
boxes (Process, Product and Resource), respectively.
When any process, product or resource filter saved in the database is
loaded using the Load filter button, the next time the Save Filters dialog is displayed the checkbox to save that
type of filter (Process, Product or Resource) will be checked by default and the name of the loaded filter will be
set by default in the corresponding edit box in the Save Filters dialog.
When the filters dialog is opened, the last used filters (if any) are
displayed by default.
Prior to loading a process in DPM: The last set of filters
applied by a given user for a given master Plan Type Set are remembered by default. The last used filters are
stored for the user as a default, and will be present in the filter tree the next time the user loads a project of
the same master Plan Type Set and invokes the filters dialog. These filters are automatically applied for this user
when re-opening a project of the same Plan Type Set.
After a process is loaded in DPM: The last set of filters saved
for a particular process is remembered and displayed in the filters dialog if that process is loaded and the
filters dialog is invoked through the Edit PPR Hub Document's Information command. If filters are not saved against
that particular process, then the last set of filters applied against the same master Plan Type Set of the project
are displayed.
- The attribute filter will work on attributes of type string, float, and Boolean. (It will not work on
effectivity or code rule attributes, for example.)
- An elementary condition will have the form <attribute name> <comparison operator> <value>
- Comparison operators are:
== |
equal |
!= |
not equal |
LIKE |
sub-string match, only for string |
NOT LIKE |
negated sub-string match, only for string |
< |
inferior to, not for string |
> |
superior to, not for string |
<= |
inferior or equal to, not for string |
>= |
superior or equal to, not for string |
- Only attributes configured as Display in Finder in Process Engineer can be filtered.
- The list of attributes available for the Search in PPR Hub command are also configured as Display in Finder
in Process Engineer. Therefore, any attribute configured for use in the Search functionality is also available
for use in the attribute filtering functionality and vice versa.
- Only one set of filters (one each for Process, Product and Resource) can be saved against a process.
- The attribute filter name specified while saving the filter to the database must be unique across the Master
Plan Type Set.
- The filter saved against a process can be modified only if that process is currently loaded in DPM and the
process is in an In-Work state.
- With regard to product and resource attribute filters, there is no distinction between the manufacturing
context attribute filter and the project attribute filter as both are a set of attribute criteria. These filters
can be used transparently for filtering in either case.
Typically, the activation of a component
in an expansion tree is dependent only upon its effectivity based on the
current project filter. When enabled, Implicit Filtering makes the
activation of components defined as Link Activated or Sibling Activated
dependent on the activation of related components, child components and
sibling components.
Behavior of Link Activated processes
A parent process defined as Link Activated in the Manufacturing Hub
passes the project filter only if there is at least one visible child
process for the current filter settings. A child process defined as Link
Activated passes the project filter only if there is at least one linked
product or resource that passes the filter.
Behavior of Sibling Activated processes
A process defined as Sibling Activated in the Manufacturing Hub
passes the project filter only if there is at least one visible sibling
component that is not defined as Sibling Activated for the current
filter settings. Typically this feature will be used to handle non
value-adding operations (e.g. cleaning operations) that only have to be
performed when there is at least one effectivity driven, value-adding
operation (e.g. drilling operation) under the same parent process. |