Invalid number
my oracle report sudden cant run and give out identifier 'table' not declare,
and the sql gave me invalid number.. what is the problem??
sELECT
oh.header_id
,oh.org_id
,ol.line_id
,ol.inventory_item_id
,decode(ol.attribute1,NULL,ol.line_number||'.'||ol.shipment_number,ol.attribute1) d_seq
,ol.line_id AS adj_id
,(ol.line_number||'.'||ol.shipment_number) AS line_no
,ol.line_number line
,to_number(ol.attribute1) product_set
,to_number(ol.attribute3) product_set_list
,to_number(REPLACE(ol.attribute7,'%','')) line_disc
,to_number(ol.attribute8) alternative_price
0