app_upload_fnd_atm.lwm 886 Bytes
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
<?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:update-sql><![CDATA[
                BEGIN
                    cus_app_customer_pkg.app_upload_image(
                    	p_record_id      =>${@record_id},
                        p_table_name     =>${@table_name},
                        p_table_pk_value =>${@check_id},
                        p_file_name      =>${@file_name},
                        p_file_path      =>${@file_path},
                        p_file_size      =>to_number(${@file_size}),
                        p_user_id        =>nvl(${/session/@user_id},${@user_id})
                    );	
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>