<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
                BEGIN
                    con_persons_district_area_pkg.con_collection_way(p_type_id => ${@type_id}, 
                    p_methods_id => ${@methods_id}, 
                    p_way_id => ${@way_id},
                    p_user_id => ${/session/@user_id});
                END;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                BEGIN
                    con_persons_district_area_pkg.con_collection_way(p_type_id => ${@type_id}, 
                    p_methods_id => ${@methods_id},
                    p_way_id => ${@way_id},
                    p_user_id => ${/session/@user_id});
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
