Transaction Form

WorkWithPlus pattern generates the transaction form and this object will be handled as any other object generated by the pattern (Selection, View, etc.).

Lets take Person transaction instance as an example. As we can appreciate, the first node in instance tree is Transaction form.

The Work With Plus pattern structure tree for the Person transaction (template Main) shows TableMain, TableContent, TableAttributes, a Tabs node with a General Information tab containing PersonId, PersonNickname, PersonFirstName, PersonLastName, PersonCellNumber, PersonHomeTelNumber, PersonBirthDate, and a Panel: Auditing with create/update date and user attributes, followed by Additional Data and Emails tabs and standard Enter/Cancel/Delete actions.

Lets visualize a preview of the Transaction form using Preview functionality.

In the Person transaction pattern editor toolbar, a right-click context menu is open showing 'Update Instance', 'Mark Instance as Updated (Update Instance)', a 'Preview' submenu with 'Enable Preview' highlighted, 'Open WorkWithPlus Settings', 'Apply Pattern Instance', and 'Build With These Only'.

The Preview shows the Transaction form as follows:

A Large-size preview of the generated Person web form shows General Information, Additional Data, and Emails tabs with Id, Nickname, First Name, Last Name, Cell Number, Home Number, and required Birth Date fields, plus an Auditing section with Created/Updated Date and User, and Confirm, Cancel, Delete buttons.

Lets move the ActionGroup which contains the actions on top of the table which contains the attributes.

We visualize once again the preview of the Transaction form.

The Person transaction pattern tree is shown alongside a Large preview of the generated web form, with Confirm, Cancel, and Delete buttons at the top and General Information, Additional Data, and Emails tabs below, including Nickname, First Name/Last Name, Cell/Home Number, Birth Date, and an Auditing section.

It is important to mention that the pattern generates the form of the transaction even though the transaction is structured in more than one level, and in the same way in would be generated by default without applying pattern. Whether or not the transaction has more than one level, it can be customized from the instance.

We can visualize below an example of a multi level transaction (Country has cities and each city has a set of neighborhoods):

The Work With Plus pattern structure tree for the Country transaction (template Main) shows a Panel: Informacion General with CountryId and CountryName, a Panel: City containing a free-style subordinate level for CountryCityId/CountryCityName, and a nested Panel: Neighborhood with a grid subordinate level for CountryCityNeighborhoodId/CountryCityNeighborhoodName.

As we can appreciate, Country is a three level transaction. That is why the second level is a Free Style Grid, and the third level a Grid:

A Large-size preview of the generated Country web form shows an 'Informacion General' section with Id and Name fields, a 'City' section with City Id and City Name fields, and a nested 'Neighborhood' grid with Neighborhood Id and Neighborhood Name input columns and several empty rows.

If you want to read information about Transaction Node, follow this link: Transaction Node