Skip to main content

Activate/list example

  • Nov 19, 2018 9:05 AM UTC
  • 0 replies
  • 7 views

Jan Cees Boogaard
Forum|alt.badge.img+2

Community Sample

Activate/list example

Author Eddy Knochs
Date submitted

 

Category Uniface Coding
Sample file activate.zip

Description

Sample Contents The ACTIVATE/LIST version of the activate command allows you to use a list to send parameters to any number of operations that have differing numbers of parameters. This sample has a single form exported from Uniface 9.5, although it should work in earlier versions of Uniface 9. You can modify the shopping basket of items and press the button to calculate the discount. Use case A solution for a problem where 2 or more purchased items are entitled to a discount.  The more you  buy, the bigger the discount. Business Rules 1. more than 5 items only attract the maximum discount 2. minimise the discount by sorting the item values