<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:ns2="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="p_record_id" dataType="java.lang.Long" input="false" inputPath="@record_id" output="true" outputPath="/parameter/@record_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                BEGIN
                    hls_doc_file_templet_pkg.office_insert_fnd_atm(
                    	p_record_id      =>${@record_id},
                        p_table_name     =>${@table_name},
                        p_table_pk_value =>${@content_id},
                        p_file_name      =>${@file_name},
                        p_file_path      =>${@file_path},
                        p_user_id        =>${/session/@user_id},
                        p_source_type    =>nvl(${@source_type},'COMMON')
                    );	
                END;

            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
