Create GeneralCommission template

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

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.