Aras set up relations (Relationships)

Aras set up relations (Relationships)

The association method binds the source management item Item and other management items Item, so that the source management item Item can access the properties of other management items Item.

The way to set the association is to bind other management items in the "RelationshipTypes" attribute table of the source management item Item.

Make an association

There are two ways to establish a new association. One is pick related. When establishing an association, you can directly bind a management item Item:
Insert picture description here
Insert picture description here
Tab Order is a sort number, just enter a number. When there are multiple table rows, save or open the management Items are sorted by Tab Order.
Relationship Name is the association name of the record row.
Tab Label is the label name of the record row.
Name is the name of the bound management item Item.
Description is a field filled in by the system (if the Description field of the bound management item Item has content set by the user).
Insert picture description here
The other is No Related, which does not bind a management item Item when establishing an association:
Insert picture description here
then bind it.
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Complete information:
Insert picture description here

Enable display of associated attributes

The way to enable the associated properties is as follows:
in the Default Structure View drop-down menu of the source management item Item, select "Tabs on":
Insert picture description here
save and exit, the configuration is complete.

Related attribute effects

Normally open an instance record of the source management item Item:
Insert picture description here
first you can see your own attributes, which do not include the attribute "pear" that is not in the same category directory:
Insert picture description here
and the other tag table is the attribute table obtained through association.
Insert picture description here
Therefore, you can add the attributes of the association table:
Insert picture description here
fill in the field value:
Insert picture description here
if there is a permission warning when saving, it is because the bound management item Item does not set the current user to have the "Can Add" permission, just adjust the permission.

Save and exit successfully.

Insert picture description here

Related parameter settings

You can open an association and configure specific application parameters:
Insert picture description here
Insert picture description here
the meaning of each attribute field is as follows:

Attributes description
Name Associated record name
Label The associated record label, when it is empty, the default is Name
Description Custom description
Auto Search Automatic search, if selected, the corresponding relationship table for the instance record of the source management item Item will search and display the existing table row data in the non-editing mode; if it is not selected, no table row data is displayed, and you need to enter the editing mode. Will search and display the existing table row data. When not selected: When Insert picture description hereInsert picture description hereInsert picture description hereselected:Insert picture description hereInsert picture description here
Sort Order The sort number corresponds to the sort number in the relation table of the source management item Item. The two sorting numbers are actually in the same relationship, if one is modified, the other will be synchronized:Insert picture description hereInsert picture description here
Default Page Size The default number of page records, that is, the number of table row data in one page of the relational table corresponding to the instance record of the source management item Item:Insert picture description hereInsert picture description hereInsert picture description hereInsert picture description here
Source ItemType Source Management Item
Hide In All Global hide option, for the Source ItemType scenario, in this scenario, all source management items Item is associated with Related ItemType. When selected, this association is hidden in the relationship table of the instance records of all source management items Item
Related ItemType Associated management item Item
Min Occurs The minimum number of rows, which corresponds to the minimum number of table rows in a page of the relationship table of the instance record of the source management item Item. If it is greater than the Default Page Size parameter, an error will be reported when saving
Max Occurs The maximum number of rows, the maximum number of table rows in a page of the relationship table corresponding to the instance record of the source management item Item. If it is less than the Default Page Size parameter, an error will be reported when saving
Behavior The association criterion is valid when the associated management item Item is versioned management. There are several ways: Fixed-the source management item Item is associated with a specific version of the associated management item Item. When the associated management item Item version is upgraded, the new version It is not associated with the source management item Item, and the source management item Item still remains associated with the original version of the associated management item Item. This criterion can be overridden by the Behavior setting in the life cycle diagram; Float-the source management item Item and the associated management The latest version of the item is associated. When the version of the associated management item Item is upgraded, the new version is associated with the source management item Item, and the old version is no longer associated. This criterion can be overridden by the Behavior setting in the life cycle diagram; Hard Fixed –Most of the same definition as Fixed, but the difference is that it cannot be covered by the Behavior setting in the life cycle diagram, that is, the priority of the setting here is higher than the setting in the life cycle diagram; Hard Float – Most of the same as the Float definition, but different Part of it is that it cannot be overridden by the Behavior setting in the life cycle diagram, that is, the priority setting here is higher than the setting in the life cycle diagram
Grid View Field display position control. The relationship table for the instance record of the management item contains the associated attributes and its own attributes, and the left and right positions of the attributes are controlled: Left-the associated attributes are placed on the left, and the own attributes are placed on the right; Right – The associated attributes are placed on the right side, and the self attributes are placed on the left side; intermix – mixed placement. When placing similar attributes, place them according to the size of the attribute number; when placing intermix, all attributes of different types are placed according to the size of the attribute number. Pay attention to the program changes displayed on the interface after the Aras software version is upgraded.
Pick Only When creating a table row in the relational table of the instance record of the management item Item, you can only choose to create it from the existing reference (Pick Related)
Create Only When creating a table row in the relational table of the instance record of the management item Item, it can only be recreated (Create Related)
Pick & Create When creating a table row in the relationship table of the instance record of the management item Item, you can select the Pick method or the Create method from the drop-down menu (the drop-down menu can choose Pick, Create and No Related)Insert picture description here
Requires Related Must be related options. When selected, when a table row is created in the relationship table of the instance record of the management item Item, there is no No Related option in the drop-down menu
Open Related Form Open the edit form option. When selected, when a table row is created in the relationship table of the instance record of the management item Item, an edit form will automatically pop up, and data can be edited in the form; if it is not selected, when When creating a table row in the relational table of the instance record of the management item Item, only the table row appears and you can enter data. You can also right-click on the table row and select the "View" function to pop up the window and edit in the window.
Copy Permissions Copy permission option, when copying a row in the relation table of instance record A of the management item Item to the relation table of instance record B of the management item Item, how the permission is applied. When selected, the copied table row has the original access permission setting. When not selected, the copied table row does not have the original access permission setting. Note that the copy operation requires Create Related to set the status to be available

Function extension settings

The following are some related function extension settings:
Insert picture description here

Features description
Grid Events It is used to set the method of user embedding, which is triggered when operation events (such as OnSelectRow, OnInsertRow and OnDeleteRow) occur. It can also automatically configure initial data when the table row of the relationship table recorded by the instance record of the management item Item is created. Refer to Aras Advanced Programming Training for specific configuration process
Relationship View The relationship table view configuration is bound to the user identity (Name). If configured Insert picture description here, it is displayed as a form. Insert picture description hereIf not configured, it is Insert picture description heredisplayed as a list form Insert picture description here. Pay attention to the components of the form display, which is in the View configuration of the associated management item Item If some components are not configured, they will appear in the list form but not in the form form. Start Page configures the displayed web page address, Parameters configures the parameters passed to the web page, and Grid selects the grid method by selection. The following is the appearance of the association table when the instance record of the management item Item is opened after configuring a web page:Insert picture description hereInsert picture description here
Exclusion Set the list of excluded associations
Hide In Hide this association from all management item instance records
Hide Related In No effective explanation for its hidden function was found

-End-

Guess you like

Origin blog.csdn.net/hwytree/article/details/107401828