<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="RD_EBANK_SPD_TRANS_TXDS72">
    <bm:fields>
        <bm:field name="transaction_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TRANSACTION_ID" prompt="RD_EBANK_SPD_TRANS_TXDS72.TRANSACTION_ID"/>
        <bm:field name="transaction_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TRANSACTION_NUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS72.TRANSACTION_NUMBER"/>
        <bm:field name="company_id_n" databaseType="VARCHAR2" datatype="java.lang.String" expression="(select fnd.company_short_name from fnd_companies fnd where fnd.company_id = t1.company_id)" physicalName="COMPANY_ID" prompt="RD_EBANK_SPD_TRANS_TXDS72.COMPANY_ID"/>
        <bm:field name="currency_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY_CODE" prompt="RD_EBANK_SPD_TRANS_TXDS72.CURRENCY_CODE"/>
        <bm:field name="status" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="STATUS" prompt="RD_EBANK_SPD_TRANS_TXDS72.STATUS"/>
        <bm:field name="new_date" databaseType="DATE" datatype="java.util.Date" physicalName="NEW_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.NEW_DATE"/>
        <bm:field name="deal_date" databaseType="DATE" datatype="java.util.Date" physicalName="DEAL_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.DEAL_DATE"/>
        <bm:field name="success_date" databaseType="DATE" datatype="java.util.Date" physicalName="SUCCESS_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.SUCCESS_DATE"/>
        <bm:field name="exception_date" databaseType="DATE" datatype="java.util.Date" physicalName="EXCEPTION_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.EXCEPTION_DATE"/>
        <bm:field name="reverse_date" databaseType="DATE" datatype="java.util.Date" physicalName="REVERSE_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.REVERSE_DATE"/>
        <bm:field name="packetid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PACKETID" prompt="RD_EBANK_SPD_TRANS_TXDS72.PACKETID"/>
        <bm:field name="masterid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MASTERID" prompt="RD_EBANK_SPD_TRANS_TXDS72.MASTERID"/>
        <bm:field name="feeno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FEENO" prompt="RD_EBANK_SPD_TRANS_TXDS72.FEENO"/>
        <bm:field name="electronnumber" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ELECTRONNUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS72.ELECTRONNUMBER"/>
        <bm:field name="entrustseqno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENTRUSTSEQNO" prompt="RD_EBANK_SPD_TRANS_TXDS72.ENTRUSTSEQNO"/>
        <bm:field name="begindate" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BEGINDATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.BEGINDATE"/>
        <bm:field name="enddate" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENDDATE" prompt="RD_EBANK_SPD_TRANS_TXDS72.ENDDATE"/>
        <bm:field name="user_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="USER_ID" prompt="RD_EBANK_SPD_TRANS_TXDS72.USER_ID"/>
        <bm:field name="transcode" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TRANSCODE" prompt="RD_EBANK_SPD_TRANS_TXDS72.TRANSCODE"/>
        <bm:field name="transtype_n" databaseType="VARCHAR2" datatype="java.lang.String" expression="(select v.code_value_name from sys_code_values_v v where v.code = &apos;SPD_TRANS_TYPE&apos; and v.code_enabled_flag = &apos;Y&apos;  and v.code_value_enabled_flag = &apos;Y&apos; and v.code_value = t1.transtype)" physicalName="TRANSTYPE" prompt="RD_EBANK_SPD_TRANS_TXDS73.TRANSTYPE"/>
        <bm:field name="language" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LANGUAGE" prompt="RD_EBANK_SPD_TRANS_TXDS72.LANGUAGE"/>
        <bm:field name="useage_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="USEAGE_CODE" prompt="RD_EBANK_SPD_TRANS_TXDS72.USEAGE_CODE"/>
        <bm:field name="return_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RETURN_CODE" prompt="RD_EBANK_SPD_TRANS_TXDS72.RETURN_CODE"/>
        <bm:field name="return_msg" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RETURN_MSG" prompt="RD_EBANK_SPD_TRANS_TXDS72.RETURN_MSG"/>
        <bm:field name="individual_name1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL_NAME1" prompt="RD_EBANK_SPD_TRANS_TXDS72.INDIVIDUAL_NAME1"/>
        <bm:field name="individual1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL1" prompt="RD_EBANK_SPD_TRANS_TXDS72.INDIVIDUAL1"/>
        <bm:field name="individual_name2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL_NAME2" prompt="RD_EBANK_SPD_TRANS_TXDS72.INDIVIDUAL_NAME2"/>
        <bm:field name="individual2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL2" prompt="RD_EBANK_SPD_TRANS_TXDS72.INDIVIDUAL2"/>
        <bm:field name="req_rem_1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REQ_REM_1" prompt="RD_EBANK_SPD_TRANS_TXDS72.REQ_REM_1"/>
        <bm:field name="req_rem_2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REQ_REM_2" prompt="RD_EBANK_SPD_TRANS_TXDS72.REQ_REM_2"/>
        <bm:field name="resp_rem_1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RESP_REM_1" prompt="RD_EBANK_SPD_TRANS_TXDS72.RESP_REM_1"/>
        <bm:field name="resp_rem_2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RESP_REM_2" prompt="RD_EBANK_SPD_TRANS_TXDS72.RESP_REM_2"/>
        <bm:field name="request_xml" databaseType="XMLTYPE" physicalName="REQUEST_XML" prompt="RD_EBANK_SPD_TRANS_TXDS72.REQUEST_XML"/>
        <bm:field name="response_xml" databaseType="XMLTYPE" physicalName="RESPONSE_XML" prompt="RD_EBANK_SPD_TRANS_TXDS72.RESPONSE_XML"/>
        <bm:field name="signflag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SIGNFLAG" prompt="RD_EBANK_SPD_TRANS_TXDS72.SIGNFLAG"/>
        <bm:field name="timestamp" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TIMESTAMP" prompt="RD_EBANK_SPD_TRANS_TXDS72.TIMESTAMP"/>
        <bm:field name="req_note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REQ_NOTE" prompt="RD_EBANK_SPD_TRANS_TXDS72.REQ_NOTE"/>
        <bm:field name="resp_note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RESP_NOTE" prompt="RD_EBANK_SPD_TRANS_TXDS72.RESP_NOTE"/>
        <bm:field name="ref_v1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V1" prompt="RD_EBANK_SPD_TRANS_TXDS72.REF_V1"/>
        <bm:field name="ref_v2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V2" prompt="RD_EBANK_SPD_TRANS_TXDS72.REF_V2"/>
        <bm:field name="ref_v3" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V3" prompt="RD_EBANK_SPD_TRANS_TXDS72.REF_V3"/>
        <bm:field name="ref_n1" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N1" prompt="RD_EBANK_SPD_TRANS_TXDS72.REF_N1"/>
        <bm:field name="ref_n2" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N2" prompt="RD_EBANK_SPD_TRANS_TXDS72.REF_N2"/>
        <bm:field name="ref_n3" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N3" prompt="RD_EBANK_SPD_TRANS_TXDS72.REF_N3"/>
        <bm:field name="source_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SOURCE_TYPE" prompt="RD_EBANK_SPD_TRANS_TXDS72.SOURCE_TYPE"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="transaction_id"/>
    </bm:primary-key>
    <bm:data-filters>
        <bm:data-filter name="transaction_number" enforceOperations="query" expression="t1.transaction_number=${@transaction_number}"/>
    </bm:data-filters>
</bm:model>
