FOR EACH Order NO-LOCK:
DISPLAY Order.OrderNum Order.CustNum Order.OrderDate Order.PromiseDate
Order.ShipDate.
FOR EACH OrderLine OF Order NO-UNDO:
DISPLAY OrderLine.LineNum OrderLine.ItemNum OrderLine.Qty
OrderLine.Price (OrderLine.Qty * OrderLine.Price) LABEL "Ext Price".
ACCUMULATE OrderLine.Qty * OrderLine.Price (TOTAL).
DISPLAY (ACCUM TOTAL OrderLine.Qty * OrderLine.Price) LABEL "Accum Total".
END.
DISPLAY (ACCUM TOTAL OrderLine.Qty * OrderLine.Price) LABEL "Total".
END.
DISPLAY (ACCUM TOTAL OrderLine.Qty * OrderLine.Price) LABEL "Grand Total"
WITH ROW 1.
|