|Sets if the Transaction form will allow editing the attributes values or not.
|Read Only ||The Transaction form will not allow to edit the attributes values. Besides, if the Transaction has associated physical table(s), you will not be able to update their attributes either through procedures nor any object.|
|Updatable ||The Transaction form will allow to edit the attributes values.|
This property is offered under the 'Data' properties group available for Transactions.
This property applies only at design-time.
1) Suppose the MaritalStatus Transaction showed in the above image was set to have an associated Data Provider (Data Provider property = True) and the Data Provider purpose is to populate (Used to property=Populate data). Thus, the Data Provider stores the whole necessary data in the MaritalStatus physical table (as the following image shows) and the objective is to keep those values unchanged:
For this, you have to set the Transaction Update Policy property with Read Only value. Thus, the attributes values will not be able to be updated either by end-users (because the transaction form behavior will be read-only) nor by you through GeneXus objects.
2) Now suppose a Country Transaction was set to have an associated Data Provider (Data Provider property = True) and the Data Provider purpose is to populate (Used to property=Populate data), too. That Data Provider stores only some initial data in the Country physical table. So, it is reasonable to set Update Policy property with Updatable value, so that the end-users can add new countries and edit them.
This property is available since GeneXus 15.