v_rate number;
begin
select distinct muc.CONVERSION_RATE
into v_rate
from rcv_transactions rt, rcv_shipment_headers rsh, rcv_shipment_lines rsl, mtl_uom_conversions muc
where rt.SHIPMENT_HEADER_ID = rsh.SHIPMENT_HEADER_ID
and muc.UNIT_OF_MEASURE = rt.UNIT_OF_MEASURE
and rt.SHIPMENT_LINE_ID = rsl.SHIPMENT_LINE_ID
and rsh.RECEIPT_NUM = :GRN_NO
and rt.ORGANIZATION_ID =

and rsl.ITEM_ID = :ITEM_ID
and rt.TRANSACTION_TYPE = 'DELIVER';
return v_rate;
exception when no_data_found then
return 1;
end;
when i run report on 19-FEB-2007 then this error occur and it is working well for other days.
item id is differ but rec_number is same
e.g item id Rec_num
16 540082 4693 19-FEB-2007
17 161849 4693 19-FEB-2007
18 540072 4693 19-FEB-2007
19 426064 4693 19-FEB-2007
20 426062 4693 19-FEB-2007
Please give me idea that i resolve to this problem.