auto_stories Knowledge Base chevron_right Actions chevron_right Article

Open Document Discount Screen

This operation opens the document discount screen for the grid.

mceclip0.png

Show Document Discount View operation at Property Panel

 

Properties

Description: A description of the action is written.

Heading: When added as a Form Action, specifies its name in the action list.

Run Condition: If the value in the query entered in this field is “0”, the corresponding action will not run.

Request Confirmation: Select if the request confirmation will be used before running the action. If Request Confirmation is activated, the Confirmation Message feature is turned on and the message that will be displayed when requesting confirmation is written.

 

Example Used

The operation works on the grid. To use this operation, there must be a grid in the form and a field that holds the type of field inside the grid.  The format of the amount field on the grid must be a decimal number as follows.

A button is created with Show Document Discount View operation and When clicked event.

mceclip1.png

When the button is clicked, discount is applied to all rows in the grid.

mceclip2.png

For instance, after pressing the button named Show Document Discount View and the desired discount percentage is entered. The save button at the bottom right is pressed and the discount in the amount field is calculated automatically according to the entered percentage.

mceclip3.png