created simple logic for output sales order grid items