This operation opens the line discount screen for the grid.
Show Line 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 Line Discount View operation and When clicked event.
When the button is clicked, the discount is applied to the selected row in the grid.
For instance, after selecting a row and pressing the button named Show Line 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.