i

Please enable JavaScript to view this site.

Navigation: User Manual > Modeler > Forms Modeling

Modeling of Related Entities

C00083~1_img1   Phase 2: Forms Modeling > Advanced Tips > Modeling related entities

 

Related entity modeling allows to define visibility and navigability among entities.

 

When defining relations among entities, the following concepts are used.

 

Referring entity is the one that defines the relation with another modeled entity.

 

Referenced entity is the one that has a relation defined from another modeled entity.

 

Relation is the one that was defined in the referring entity.

 

Referring relation is the one that was defined in the referenced entity to a referring entity.

 

 

 

entidades-relaciones

 

 

For the purpose of detailing the modeling of related entities, an example is used where the Contact and Opportunity entities are related to the Client entity. Such entities can be modeled from agile forms created from the templates provided: Contacts, Sales Opportunities and Accounts, after separating the forms from their respective processes.

 

Relations in the Referenced Entity

Container

 

In the form modeler, referring relations are modeled in the first container of the referenced entity and are only displayed if there are relations defined in other forms. Within this container controls identified with the names of the relations defined in the referring entities can be included.

 

The icon n-ModeladoAplicIconoMas allows to add a list of controls to the form that represent the referring relations. By pressing this icon, a list of referring relations is displayed where you can select those you want to display at the top of the form.

 

 

MF-UnidadesRelacionadas-001

 

 

The example shows the relation defined between Contact and Client and the relation between Opportunity and Client, as well as the operations and properties of both relations.

Operations

 

n_fomr_eliminar Hides the display of the relation, does not delete it.

 

n_fomr_mover_campo Modifies the presentation order of relations.

 

n_fomr_agrandar_editar_propiedades Opens the properties panel of the relation.

 

Properties

 

Entity

Name of the entity where the relation was defined. Non-editable.

 

Application

Name of the application where the entity that contains the relation was defined. Non-editable.

 

Relation Name

Descriptive name of the relation as defined in the referring entity when modeling the field that contains the relation. Non-editable.

 

Key Field

Identifier of the referring entity attribute used to define the relation. Non-editable.

 

Singular Relation Name

Represents the name in singular that is assigned to the relation. It is displayed if, when using the form, it has a single instance for the modeled relation.

 

Plural Relation Name

Represents the plural name that is assigned to the relation. It is displayed if, when using the form, it has more than one instance for the modeled relation.

 

Relation Behavior

Allows to define behavior when using the form, to assign values from a form instance to related form instances, by means of relations defined among entities.

The icon n_solapa_mas allows to open the value match wizard in an additional section to the right of the relation properties panel.

Correspondence

Destination

The form field where the value is received is selected. Once selected, the Value Type is displayed.

Value Type

Constant: Indicates that the content of the field defined in the Destination property is a value entered by the IT modeler user.

Field: Indicates that the content of the field defined in the Destination property is obtained from a form field that is being modeled.

Once the Value Type is selected, the Value is displayed.

Value

If the value type is constant, it must be entered for matching.

If the value type is a field, a list is displayed with all the form fields corresponding to the referring entity, for selection.

 

 

MF-UnidadesRelacionadas-002

 

 

The example shows the Contact relation properties and the definition of the value match between the Industry field of the Contact entity and the Industry field of the Client entity.

When the Contact entity is instantiated from the Client entity, the Industry field is automatically populated with the Industry field value of the Client entity.

Send us your comment
Share on Twitter Share on Linkedin Send by Email Print