Jam.py documentation

Event handlersΒΆ

Click the Client module button to open the Code editor.

Let’s create then on_after_append handler and the on_field_get_text event handler.

To add an event handler, click the Events tab in the information pane to the left of the editor and double-click one of the events

Creating events

The on_after_append event handler will be triggered when a new record is added to the “Contacts” journal and sets the “Date” field to the current date and the “Status” field to 1, with the lookup value of “Contact”.

The on_field_get_text event handler will display in the “Customer” field first and last name of the customer.