Jam.py documentation

New catalog

Let’s go back to the Application builder page and create a “Customers” catalog.

Now we select the “Catalogs” group in the project tree and and click the New button at the bottom right corner of the page

Catalogs

In the Item Editor dialog, fill in the caption and name of the new catalog

New customes catalog

and click the New button in the bottom right corner of the dialog to add a new field. The Field Editor dialog appears. Type the caption and name of the “Firstname” field, select its type and click OK button.

New journal tasks

Similarly, we added the “Lastname” and “Phone” fields. When adding the “Lastname” field, we checked the Required attribute.

Customers fields

Now, to save the changes, click the OK button. When saving, the Application builder created the CRM_CUSTOMERS table in the ctm.sqlite database:

Table created

Go to the Project page, refresh it and click the New button and then OK button:

Customers page