Please enable JavaScript to view this site.

Codolex

Navigation: Activities > Variables

Get by association

Scroll Prev Top Next More

The Get by association activity is used to create a new variable over an association of an entity with the value of the association.

 

clip0042

The customer entity has an association with a company, as specified in the association tab of the entity. If you have an entity of the type Customer in your flow, you can get the corresponding Company by using the Get by association activity:

 

clip0043

Activity properties

 

begin

var Company: DataSource.Codolex.ICompany;

 Company := Customer.Company;

end;

Resulting Code

 

Watch the following video for more information and a demo of this activity.

 

Get by association

 

© by GDK Software