Derive Code Combination API:
declare
v_default_code_comb_id number;
begin
v_default_code_comb_id := fnd_flex_ext.get_ccid(application_short_name => 'SQLGL',
key_flex_code => 'GL#',
structure_number => 51111,
validation_date => TO_CHAR(SYSDATE,'DD-MON-YYYY'),
concatenated_segments => 'AAAAA.BBBBB.CCCCCC.D.EEE');
dbms_output.put_line(v_default_code_comb_id);
end;
declare
v_default_code_comb_id number;
begin
v_default_code_comb_id := fnd_flex_ext.get_ccid(application_short_name => 'SQLGL',
key_flex_code => 'GL#',
structure_number => 51111,
validation_date => TO_CHAR(SYSDATE,'DD-MON-YYYY'),
concatenated_segments => 'AAAAA.BBBBB.CCCCCC.D.EEE');
dbms_output.put_line(v_default_code_comb_id);
end;
Structure Number : Chart of Account ID from table GL_CODE_COMBINATIONS
No comments:
Post a Comment