The following section explain the different options to define relations between Axional Studio views.
 

1 Tabs

Tabs allow browsing between forms. Tabs are links designed to allow navigation between related objects. When two objects are related, it may be useful to link them for quick access.

 

1.1 Tabs definition

Access to database dictionary (wic) where is located the object whom user will add tabs.

How access to definition objects

Information about how to access to a definition object form on a document Basic table objects.

Access to tabs object form invoice by clicking tools Form and Tabs:

Mantain values by default except Object and Type camp, explained below:

 

1.1.1 Object

On Object section, the code whom user has access is indicated by clicking on a tab.

In order to allow browsing by tabs between invoice object (invoices headlines) and invoiceline (invoices lines) is needed to define a tab for invoice object.

Select option Head on Type section and insert the new tab.

 

1.1.2 Type

Nowadays it exists 2 types of tabs:

  • Head: is used to relate objects at the same level of hierarchy as the current object (brother). When access the object any relation is established between the source and the destin object.
    This type of tab is generally used for related documents, like Budget, Purchase and Invoice, for example.
  • Item: is used for children objects. When access the object a relation is defined between parent and child object, so in case the destin object has no data the source object could be rebuild.
    This type of tab is generally used for the different entities that compose a document, like Invoice head, Invoice lines, Invoice discounts, etc.

Define second tab with invoiceline in Object section, on file 1 and Item type

Sections File and Column allows to indicate button position on the layout.
First tab (invoice) is located on 0 position (file) - 0 (column).
The second (invoiceline) on the 1 - 0.
Then invoiceline will be viewed below invoice when form is executed.

 

1.1.3 Condition

Define SQL condition from invoiceline:

SQL

SQL is injected (in execution time) on WHERE clause of invoiceline object.

 

1.1.4 Activation

Activation indicators determine the view of the tab to the permissions that the end user of the form has.

For example, if user doesn't have permits in order to delete registers (delete) and If canDelete is marked, user won't see the tab.

 

1.2 Definition of parent objects

Headlines invoices browsing is definded, but the back way is missing: being on the lines, be able to click on the header of the corresponding invoice.

Access to parent definition forms of invoiceline object, by clicking Form and Parent objects:

Enter as invoice object parent and SQL condition load on the headline of the invoice.

SQL

SQL condition is injected (in execution time) on WHERE clause of invoice object.

 

1.3 Result

Form invoice execution presents Invoices tab and Lines in order to access to invoiceline form.

Click on Lines tab in order to access to invoices lines showed on invoice:

Tab Invoices allow to return to headline invoice.

 

2 Links

The forms has a section to define links over predefined output columns cells, with this tool the user can access to other objects with just one click. Links can be represented in the text itself or through icons.

Access Object/Layout/SQL-table/Links example as an easy guide to assign links to a cell.

To use the links in the EJB-DATA boxes, need to specify the component of the With link field.

Review pendig