declare
l_msg varchar2(4000);
l_ccid number;
begin
l_ccid := fnd_flex_ext.get_ccid(application_short_name => 'OFA',
key_flex_code => 'KEY#',
structure_number => 101,
validation_date => to_char(sysdate,
'yyyy/mm/dd hh24:mi:ss'),
concatenated_segments => 'A1.010101');--资产关键字
IF l_ccid = 0 THEN
-- get the error message
l_msg := fnd_message.get;
-- output the error message
dbms_output.put_line(l_msg);
dbms_output.put_line('l_ccid:'||l_ccid);
ELSE
-- output the code combination id
dbms_output.put_line(l_ccid);
END IF;
end;
根据资产关键字获取相关的资产ccid
最新推荐文章于 2023-03-13 21:24:34 发布