How to Launch a procedure using form personalization ?
Form >> Menu >> Help >> Diagnostics >>Custom Code >> Personalize
Create a personalization
Event– Any trigger
Action – Built in >> Execute procedure >>
Syntex –
='begin
xxxxx_pkg.call_program('''||${item.<BLOCK_NAME>.<FILED_NAME>.value}||''', '''||${item.<BLOCK_NAME>.<FILED_NAME>.value}||''',1,’Test’);
end'
Description –
Procedure declaration
XXXX_PKG.call_program(pramaetr1 VARCHAR2,
parameter2 VARCHAR2,
parameter3 NUMBER,
parameter4 VARCHAR2);
Parameter1 & 2 , value will be passed form form field.
Parameter3, constant value 1 is being passed.
Parameter4, constant value ‘Test’ is being passed.
No comments:
Post a Comment