This requirement is for the ability to restrict children records by parent for implementation on drill-down navigation.
For this example we will use the entity OrderProcessing.Order to inherit from DrillDownParent:
OrderProcessing.Order is a ENT Ability.DrillDownParent.
Now we dfined the inheritance for the DrillDown ability on the Child that is Order Detail:
OrderProcessing.OrderDetail is a ENT Ability.DrillDownChild.
On the test Model there is a offline tablette build list that contains all the template generation functions for all the entities of the application. Generate it:
After generating the offline tablette build list, the generate Gestion Tablette Offline Server list:
Now go to eclipse.
To import all the generated functions, right click and refresh the java project:
Then run the Application Generator:
When the application is up and running:
- Click in Application Settings and then click in apply.
- Click on Application Template, select Gen Folder, and Generate Application. Wait for the message that all was generated successfully:
Now right click and refresh the web project:
Run tomcat server:
From the menu select 'Order', select a row, then from the form press the Order Detail button. The Order Details select a row should be restricted by Order number.