<?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_TXDS73">
    <bm:fields>
        <bm:field name="transaction_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TRANSACTION_ID" prompt="RD_EBANK_SPD_TRANS_TXDS73.TRANSACTION_ID"/>
        <bm:field name="transaction_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TRANSACTION_NUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS73.TRANSACTION_NUMBER"/>
        <bm:field name="ref_transaction_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_TRANSACTION_ID" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_TRANSACTION_ID"/>
        <bm:field name="ref_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_TYPE" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_TYPE"/>
        <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_TXDS73.CURRENCY_CODE"/>
        <bm:field name="status" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="STATUS" prompt="RD_EBANK_SPD_TRANS_TXDS73.STATUS"/>
        <bm:field name="new_date" databaseType="DATE" datatype="java.util.Date" physicalName="NEW_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS73.NEW_DATE"/>
        <bm:field name="deal_date" databaseType="DATE" datatype="java.util.Date" physicalName="DEAL_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS73.DEAL_DATE"/>
        <bm:field name="success_date" databaseType="DATE" datatype="java.util.Date" physicalName="SUCCESS_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS73.SUCCESS_DATE"/>
        <bm:field name="exception_date" databaseType="DATE" datatype="java.util.Date" physicalName="EXCEPTION_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS73.EXCEPTION_DATE"/>
        <bm:field name="reverse_date" databaseType="DATE" datatype="java.util.Date" physicalName="REVERSE_DATE" prompt="RD_EBANK_SPD_TRANS_TXDS73.REVERSE_DATE"/>
        <bm:field name="packetid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PACKETID" prompt="RD_EBANK_SPD_TRANS_TXDS73.PACKETID"/>
        <bm:field name="masterid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MASTERID" prompt="RD_EBANK_SPD_TRANS_TXDS73.MASTERID"/>
        <bm:field name="electronnumber" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ELECTRONNUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS73.ELECTRONNUMBER"/>
        <bm:field name="batchno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BATCHNO" prompt="RD_EBANK_SPD_TRANS_TXDS73.BATCHNO"/>
        <bm:field name="entrustseqno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENTRUSTSEQNO" prompt="RD_EBANK_SPD_TRANS_TXDS73.ENTRUSTSEQNO"/>
        <bm:field name="transdate" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TRANSDATE" prompt="RD_EBANK_SPD_TRANS_TXDS73.TRANSDATE"/>
        <bm:field name="seqno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SEQNO" prompt="RD_EBANK_SPD_TRANS_TXDS73.SEQNO"/>
        <bm:field name="user_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="USER_ID" prompt="RD_EBANK_SPD_TRANS_TXDS73.USER_ID"/>
        <bm:field name="transcode" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TRANSCODE" prompt="RD_EBANK_SPD_TRANS_TXDS73.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_TXDS73.LANGUAGE"/>
        <bm:field name="projectnumber" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PROJECTNUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS73.PROJECTNUMBER"/>
        <bm:field name="projectname" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PROJECTNAME" prompt="RD_EBANK_SPD_TRANS_TXDS73.PROJECTNAME"/>
        <bm:field name="feeno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FEENO" prompt="RD_EBANK_SPD_TRANS_TXDS73.FEENO"/>
        <bm:field name="acctno" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ACCTNO" prompt="RD_EBANK_SPD_TRANS_TXDS73.ACCTNO"/>
        <bm:field name="acctname" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ACCTNAME" prompt="RD_EBANK_SPD_TRANS_TXDS73.ACCTNAME"/>
        <bm:field name="useage_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="USEAGE_CODE" prompt="RD_EBANK_SPD_TRANS_TXDS73.USEAGE_CODE"/>
        <bm:field name="return_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RETURN_CODE" prompt="RD_EBANK_SPD_TRANS_TXDS73.RETURN_CODE"/>
        <bm:field name="return_msg" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RETURN_MSG" prompt="RD_EBANK_SPD_TRANS_TXDS73.RETURN_MSG"/>
        <bm:field name="individual_name1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL_NAME1" prompt="RD_EBANK_SPD_TRANS_TXDS73.INDIVIDUAL_NAME1"/>
        <bm:field name="individual1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL1" prompt="RD_EBANK_SPD_TRANS_TXDS73.INDIVIDUAL1"/>
        <bm:field name="individual_name2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL_NAME2" prompt="RD_EBANK_SPD_TRANS_TXDS73.INDIVIDUAL_NAME2"/>
        <bm:field name="individual2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INDIVIDUAL2" prompt="RD_EBANK_SPD_TRANS_TXDS73.INDIVIDUAL2"/>
        <bm:field name="req_rem_1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REQ_REM_1" prompt="RD_EBANK_SPD_TRANS_TXDS73.REQ_REM_1"/>
        <bm:field name="req_rem_2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REQ_REM_2" prompt="RD_EBANK_SPD_TRANS_TXDS73.REQ_REM_2"/>
        <bm:field name="resp_rem_1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RESP_REM_1" prompt="RD_EBANK_SPD_TRANS_TXDS73.RESP_REM_1"/>
        <bm:field name="resp_rem_2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RESP_REM_2" prompt="RD_EBANK_SPD_TRANS_TXDS73.RESP_REM_2"/>
        <bm:field name="request_xml" databaseType="XMLTYPE" physicalName="REQUEST_XML" prompt="RD_EBANK_SPD_TRANS_TXDS73.REQUEST_XML"/>
        <bm:field name="response_xml" databaseType="XMLTYPE" physicalName="RESPONSE_XML" prompt="RD_EBANK_SPD_TRANS_TXDS73.RESPONSE_XML"/>
        <bm:field name="signflag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SIGNFLAG" prompt="RD_EBANK_SPD_TRANS_TXDS73.SIGNFLAG"/>
        <bm:field name="timestamp" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TIMESTAMP" prompt="RD_EBANK_SPD_TRANS_TXDS73.TIMESTAMP"/>
        <bm:field name="req_note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REQ_NOTE" prompt="RD_EBANK_SPD_TRANS_TXDS73.REQ_NOTE"/>
        <bm:field name="resp_note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RESP_NOTE" prompt="RD_EBANK_SPD_TRANS_TXDS73.RESP_NOTE"/>
        <bm:field name="ref_v1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V1" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_V1"/>
        <bm:field name="ref_v2" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V2" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_V2"/>
        <bm:field name="ref_v3" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V3" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_V3"/>
        <bm:field name="ref_n1" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N1" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_N1"/>
        <bm:field name="ref_n2" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N2" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_N2"/>
        <bm:field name="ref_n3" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N3" prompt="RD_EBANK_SPD_TRANS_TXDS73.REF_N3"/>
        <bm:field name="totalnumber" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TOTALNUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS73.TOTALNUMBER"/>
        <bm:field name="totalamount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TOTALAMOUNT" prompt="RD_EBANK_SPD_TRANS_TXDS73.TOTALAMOUNT"/>
        <bm:field name="successnumber" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SUCCESSNUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS73.SUCCESSNUMBER"/>
        <bm:field name="successamount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SUCCESSAMOUNT" prompt="RD_EBANK_SPD_TRANS_TXDS73.SUCCESSAMOUNT"/>
        <bm:field name="failnumber" databaseType="NUMBER" datatype="java.lang.Long" physicalName="FAILNUMBER" prompt="RD_EBANK_SPD_TRANS_TXDS73.FAILNUMBER"/>
        <bm:field name="failamount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="FAILAMOUNT" prompt="RD_EBANK_SPD_TRANS_TXDS73.FAILAMOUNT"/>
        <bm:field name="source_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SOURCE_TYPE" prompt="RD_EBANK_SPD_TRANS_TXDS73.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>
