Create GeneralCommission template
- Click the Add Action Template button
.
- In the Template 1 field, type GeneralCommissionTemplate.
- Click the Add Template Parameter button
.
- In the param1 field, type commissionToCharge.
- Click the Type field, and select double.
- In the Presentation field, type A
normal customer is charged a commission of $.
- From the drop-down combo (CTRL-SPACE), select commissionToCharge.
- In the Presentation field after commissionToCharge,
type per stock transaction..
- Click Action in the Action field.
- In the field, type cashAmount.value = commissionToCharge.
- From the menu, select File > Save (or press Ctrl+S).
