|There is a place in each transaction to specify rules to be triggered when the user interacts with the screen (to insert, modify or delete information).|
We see how to ensure that, in the Customer transaction:
We also see how to condition the triggering of a rule. Specifically, in relation to the operation that is to be carried out: Insert, Update or Delete.
- no record is mace of a customer with empty name, empty surname, or a date in the system later than today (Error rule)
- a warning message is shown when the phone remains empty (Msg rule)
- the day’s data is automatically assigned to a Date attribute (Default rule)
- the edition of an attribute is disabled (Noaccept rule)
We show what variables are and what they are used for, and how we define variables in objects, as well as their main difference compared to attributes.
Click here for a PDF transcript of the video.