An example of a production plant view
General
In this example, we will look at creating a view related to product segments and the product groups under them.
The view allows you to find documents belonging to a product segment and product group.
In this example, the view is divided into two product segments (conveyors and lifts).
Each product segment is further divided into various product groups.
See how to add attributes: Create views
In this example, the product view aims to
First select the product segment, Conveyors or Lifts.
Then select the product group.
The view needs to be created with two levels:
The upper level is formed by the product segment.
Attribute: C_TUOTE. The lower level is formed by the product group. Attribute: C_TUOTERYHMA.
Create one attribute for each hierarchy level
Because the view hierarchy will be two-level, at least one attribute must be added for each level.
C_TUOTE
C_TUOTERYHMA
Create a plant view
See view creation: Create views
Enter a clear name for the view in Finnish and English.
Enter a Description, which appears as a tooltip when you hover over the view.
Create the hierarchy of views
Select Default (Attribute Values) as the type.
Select attributes in order, C_TUOTE and C_TUOTERYHMA.
Enter Description and tooltips.
Select an icon representing the hierarchy level if necessary.
Save the view.
After this, you can view the structure of the view on the View tab.
Add attributes needed by localities
Add the necessary attributes describing the product segment, C_TUOTE, and assign unique values to them.
Use the Order field to determine the order in which the product segments will appear.
Add attributes needed by factories
Add the necessary attributes describing the product groups, C_TUOTERYHMA, and assign unique values to them.
Link all attributes describing product groups to product segments using the Parent Attribute field value C_TUOTE.
The allowed options will be according to the Value entries of the C_TUOTE attribute.
Use the Order field to determine the order in which the product groups will appear under each product segment.
You can use attribute filtering if needed to search for all C_TUOTERYHMA attributes, for example.
In this view, determining the Order might be easier than when adding the attribute.
(1) Enter the attribute ID in the field in the upper left corner.
(2) Select the Filter action.
Add the attributes needed by the departments
Add the attributes needed by machines or machine lines
Add the necessary fields to the object card of the document
See instructions: Edit object cards for views
In the example image, a new (small) block Product Group has been created first.
Two components, C_TUOTE and C_TUOTERYHMA, have been added to the block.