create_excel_atm.lwm 1.18 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: chenlingfeng
    $Date: 2018-9-17 下午3:00:13
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="attachment_id" input="false" output="true" />
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
  -- Call the procedure
  prj_cdd_item_interface_pkg.fnd_atm_create(p_table_pk => ${@table_pk},
                                             p_table_name => ${@table_name},
                                             p_file_type_code =>  'xlsx',
                                             p_file_name => nvl(${@file_name},'excel'),
                                             p_file_size => 0,
                                             p_file_path => ${@file_path},
                                             p_attachment_id => ${@attachment_id},
                                             p_user_id => ${/session/@user_id});
end;
]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>