PL/SQL (MOSC)

MOSC Banner

I have a problem using :!value in special validation with PLSQL block

edited May 23, 2024 4:35PM in PL/SQL (MOSC) 5 commentsAnswered


When I try to use user input with the :!value argument in a date field, it always returns the value "A00".
The code I use for special validation is:

FND PLSQL " DECLARE


v_value varchar2( 11 ) := :!value ;

BEGIN

if v_value >=sysdate then

fnd_message.set_name('FND','FND_GENERIC_MESSAGE' );

fnd_message.set_token('MESSAGE','TEST');


fnd_message.raise_error;


end if;


END; "

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center