Home » Applications » Oracle Fusion Apps & E-Business Suite » User-Defined Exception in arp_auto_rule .create_distributions
User-Defined Exception in arp_auto_rule .create_distributions [message #409583] |
Tue, 23 June 2009 03:44  |
rak007
Messages: 107 Registered: October 2006 Location: Mumbai / Pune, India
|
Senior Member |
|
|
I am using the following code snippet in a report(without anonymous block ofcourse)
declare
lines number;
begin
dbms_output.put_line('lines value before: ' || lines);
lines := arp_auto_rule.create_distributions( :p_commit_at_end ,:p_debug_flag ,NULL ,'N' ,'N' );
dbms_output.put_line('lines value after: ' || lines);
exception
when others then
dbms_output.put_line('Error is: ' || SQLERRM);
end;
Here 'lines' is defined as a number as the function return a number.
Now if i run this in a anonymous block with the first two values as 'N' it runs fine and gives the following output
lines value before:
lines value after: 0
Now if i used the same API call in report i get the following error
lines value before:
Error is: User-Defined Exception
|
|
|
|
|
|
Goto Forum:
Current Time: Mon May 05 04:15:35 CDT 2025
|