open detail include invnbr < 10320 exclude invnbr <10000 sort by invnbr print invnbr, qty print price print extprice with totals