<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:fields>
        <bm:field name="file_name"/>
        <bm:field name="file_size"/>
        <bm:field name="file_path"/>
        <bm:field name="attachment_id"/>
    </bm:fields>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                select fa.file_name, fa.file_size, fa.file_path,fa.attachment_id from fnd_atm_attachment fa
                                #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:query-fields>
        <bm:query-field name="attachment_id" queryExpression="fa.attachment_id= ${@attachment_id}"/>
    </bm:query-fields>
</bm:model>
