home *** CD-ROM | disk | FTP | other *** search
- create apt proc rgdsc_1() as
- begin
- useform sdsc_3
- variable status int
-
- if $curfield = "yes"
- totpercent = totpercent + grpdiscount[$index].percent
- else
- totpercent = totpercent - grpdiscount[$index].percent
-
- call clcst_1(quantity, totpercent, price, totalcost, status)
-
- return
- end
-