Reset VATv5
The Reset VAT action is used with the Grid control. It resets all values in Grid columns whose Field Type is set to VAT.
Reset VAT Action in the Toolbox PropertiesDescription: Enter a description for the action. This description serves as a reference for application developers, helping them identify the purpose of the action and understand why it was used. The value entered here is displayed in the corresponding field in the Actions menu.
Heading: Specifies the name displayed in the Actions list when the action is added as a form action. When the designed Reset VAT action is triggered from another action, this value represents the text displayed in the action selection list.
Run Condition: If the query entered in this field returns 0, the action will not be executed.
Request Confirmation: Select whether confirmation should be requested before the action is executed. When Request Confirmation is enabled, the Confirmation Message property becomes available, allowing you to specify the message displayed in the confirmation dialog.
ExampleAdd a Grid control to the form and create the required columns. For the Price column, set the Field Type property to VAT.
Next, add a Button to the form and configure it with the Reset VAT action. No additional configuration is required for this action.
Save the form and open it in the Client. Enter values into the Grid.
Click the button that contains the Reset VAT action to reset all values in the Price column.
|








