<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[select CUS_GPS_PKG.GET_GPS_DOC_NUMBER
                    (
                        p_document_category=>${@document_category},
                        p_document_type=>${@document_type},
                        p_business_type=>${@business_type},
                        p_company_id=>${/session/@company_id},
                        p_user_id=>${/session/@user_id}
                    ) gps_doc_number from dual]]></bm:query-sql>
            <bm:parameters>
                <bm:parameter name="document_category"/>
                <bm:parameter name="document_type"/>
                <bm:parameter name="business_type"/>
                <bm:parameter name="operation_date"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
