COMMON FIELDS

General Remarks

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 isn't needed.

Possibly, you would 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've 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 really 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 fields "reservoir" where you can place the fields you wish to use later.

Usage

Creating the field: Go to "Common fields" and create fields as you would normally (there arn't 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 will take you directly to the place where the common field is declared for the selected Object.

 

 

Sharing the field: Place the cursor on the Object you wish to associate a common field. Select a Category and choose "New field" from the context menu (right-click). Select "Common" from the sub-menu and then choose the desired field (of course, 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 where the Object is located.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Last Update: 16.03.2005