(Latest Revision: Thu Mar 28 13:31:47 PST 2002 ) moreSample_I-O

moreSample_I-O



invent:

11012 gallon-milk           1.99    N
11014 butter                2.59    N
11110 pie-shells            0.99    N
11110 bogus-product         9.99    T
11110 bogus-product         9.99    T
20115 laundry-soap          3.60    T
30005 homestyle-br          0.99    N


transac: 11110 2 40012 3 20115 1 0 0 30005 1 20115 101 11014 2 11012 1 0 0 -1 0
receipts: ################################################# JAN 01, 2003 -- Welcome to Sam's Grocery -- Sam's Inventory is: 11012 gallon-milk 1.99 N 11014 butter 2.59 N 11110 pie-shells 0.99 N *** ERROR: serial number 11110 repeats in the invent file. *** *** ERROR: serial number 11110 repeats in the invent file. *** 20115 laundry-soap 3.60 T 30005 homestyle-br 0.99 N ################################################# ------------------------------------------------- JAN 01, 2003 -- Welcome to Sam's Grocery -- Customer Number 1 pie-shells 2 @ 0.99 1.98 *** ERROR: item 40012 is not in the inventory *** laundry-soap 1 @ 3.60 3.60 Subtotal 5.58 Tax 0.27 Total 5.85 Thanks very much. Please come again. ------------------------------------------------- ------------------------------------------------- JAN 01, 2003 -- Welcome to Sam's Grocery -- Customer Number 2 homestyle-br 1 @ 0.99 0.99 *** ERROR: customer requested 101 units of item #20115. *** *** That quantity is not in the allowed range. *** butter 2 @ 2.59 5.18 gallon-milk 1 @ 1.99 1.99 Subtotal 8.16 Tax 0.00 Total 8.16 Thanks very much. Please come again. -------------------------------------------------