fnd_request.submit_request 在pl/sql中调用请求

2019-04-14 21:40发布

fnd_request.submit_request(application CHAR, --模快
                                         program CHAR,      --應用程式
                                         description CHAR,   --請求說明(可選)
                                         start_time CHAR,    --RUN 時間(可選)
                                         sub_request BOOLEAN, --立刻提交請求
                                         argument1 CHAR,   --參數1
                                         argument2 CHAR,   --參數2
                                         argument3 CHAR,   --參數3
                                         argument4 CHAR,   --參數4
                                         argument5 CHAR,   --參數5.......
                                         argument100 CHAR);

这个函数有105个参数,前面五个定义请求本身,后面100个是传递给请求的具体参数,都是Char类型,
我们需要转换,默认值是chr(0),代表这个参数不用传递给调用的请求; 调用举例 l_request_id := fnd_request.submit_request('DA',
                                               'DABALTFLDR',
                                               '',
                                               '',
                                               FALSE,
                                               p_file_name);