At times, using identical fields for Objects of a different type is necessary. All office equipment, for instance, has a price, a provider, a purchase date, etc. However, for a Stock or User type object, this information is not needed.
You could also need to globally manage Objects of different nature in the same trees, in the same queries, or in the same reports. Normally, a providers tree could be used to classify all the Objects you have purchased, by provider, and regardless of their type.
However, creating fields and giving them identical names is not enough for them to be used globally. In Synexsys, you may have several "Price" fields, for instance. But these "Price" fields will be considered individually by the system.
For a field to be shared by different Objects, you must create the field as a "common field". The "common fields" is the first system Object displayed in the definition list. This Object acts as a field "reservoir" where you can place the fields you wish to use later.
![]() | Creating the field: Go to "Common fields" and create fields as you would normally (there are not categories for common fields). HINT: to know which Objects share the fields created in "Common fields", place the cursor on one of these fields and select the "Used by..." context menu option. The list of concerned Objects is displayed as a sub-menu. If you select one of the Objects from the sub-menu, Synexsys takes you directly to the place where the common field is declared for the selected Object. |
| |
![]() | Sharing the field: Place the cursor on the Object to which you wish to associate a common field. Select a Category and chose "New field" from the context menu (right-click). Select "Common" from the sub-menu and then chose the desired field (remember you cannot select the same field twice). The field is created immediately. |
| |
![]() | IMPORTANT The input rules associated to a common field, such as the selection list or mandatory input character are inherited by the common field regardless of the Object where it is located. |