<?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
                    SUM(QUANTITY) AS quantity_sum
                FROM
                    PRJ_PROJECT_LEASE_ITEM PPLI
                WHERE
                    PPLI.PROJECT_ID = ${@project_id}
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="quantity_sum"/>
    </bm:fields>
</bm:model>
