it sounds like either "o_code","cust_code", "quantity" or "price" havent been aliased correctly in your view or at least that they are not included (the columns havent been aliased correctly) in your resultset.
Also, If you provided a little more information it would be more helpful ... like the struture of your view (column types, names etc.) Then we might get a clearer picture of what is going on.