<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" >
    <bm:operations>
        <bm:operation name="query">
            <bm:update-sql><![CDATA[
              select fnd_code_rule_pkg.get_rule_next_auto_num(p_document_category => 'CONFIG_REPORT',
                                                             p_document_type     => 'EFILE_IMPORT',
                                                             p_company_id        => 1,
                                                             p_operation_unit_id => null,
                                                             p_operation_date    => sysdate,
                                                             p_created_by        => 1)  batch_id from dual
        ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="batch_id"/>
    </bm:fields>
</bm:model>
