I have a work order in Maximo. The work order application has custom fields:
FieldA
= 'Hello'
FieldB
I want to take the value from FieldA
and pass it to a function in the Oracle database:
CREATE OR REPLACE function hello_world(var1 in varchar2) return varchar2
is
hw varchar2(15);
begin
if var1 = 'Hello' then
hw := var1 || ', World!';
end if;
return hw;
end;
/
And I want FieldB
to display the value that was returned by the function:
FieldB
= hello_world(FieldA)
>>> Hello, World!
How can I do this?
(Version 7.6.1.1; desktop/classic)