Accounting Trade Discount Close Example

This example was processed by the /eagle_default/in/xml/xml-accttrade_sell.xml rule

<EagleML
 xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 eaglemlVersion="2-0"
 eaglemlType="AccountingTransactionMessage"
 xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd"
 xsi:type="AccountingTransactionMessage">
<accountingTransaction>
    <header>
        <identifier>
            <transactionId>D8QCPENFRKOING23</transactionId>
        </identifier>
        <objectType>AccountingTrade</objectType>
    </header>
    <accountingTrade>
        <buySellIndicator>SELL</buySellIndicator>
        <xrefAccountId>ITEMLXREFTST</xrefAccountId>
        <xrefAccountIdType>PORTM</xrefAccountIdType>
        <internalId>DISCON02</internalId>
        <assetResolutionOption>ALL</assetResolutionOption>
        <tradeDate>2005-07-04</tradeDate>
        <settlementDate>2005-07-06</settlementDate>
        <sharesParQuantity>10</sharesParQuantity>
        <price>982.784</price>
        <taxAmount>10</taxAmount>
        <impliedCommissionIndicator>N</impliedCommissionIndicator>
        <commission>663.968</commission>
        <stampDutyTax>97.99</stampDutyTax>
        <localToBaseFXRate>3.617</localToBaseFXRate>
        <otherFee>10.1</otherFee>
        <autoSettleIndicator>YES</autoSettleIndicator>
        <custodianBankCode>1</custodianBankCode>
        <custodianBankName>CUSTODIAN_BANK_NAME</custodianBankName>
        <custodyBankAccount>11</custodyBankAccount>
        <custodyBankSubaccount>CUSTODY_BANK_SUBACCOUNT</custodyBankSubaccount>
        <cashAccountName>CASH</cashAccountName>
        <cashAccountNumber>1</cashAccountNumber>
        <brokerCode>1</brokerCode>
        <brokerName>1</brokerName>
        <clearingBrokerCode>BONY</clearingBrokerCode>
        <clearingBrokerName>BANK OF NY</clearingBrokerName>
        <settleLocation>SETTLE_LOCATION</settleLocation>
        <settleInstructions1>SETTLEINSTRUCTION</settleInstructions1>
        <settleInstructions2>SETTLE_INSTRUCTIONS2</settleInstructions2>
        <settleInstructions3>SETTLE_INSTRUCTIONS3</settleInstructions3>
        <settleInstructions4>SETTLE_INSTRUCTIONS4</settleInstructions4>
        <transactionNotes>Other</transactionNotes>
        <originalTradeTicketNumber>5828</originalTradeTicketNumber>
        <orderNumber>17.096</orderNumber>
        <userDefinedPriority>441061</userDefinedPriority>
        <calculateLocalAmountsFlag>Y</calculateLocalAmountsFlag>
        <calculateBaseAmountsFlag>Y</calculateBaseAmountsFlag>
        <calculateValuesBySTARIndicator>Traded Interest/Amort Yield/Trade Yield</calculateValuesBySTARIndicator>
    </accountingTrade>
</accountingTransaction>
</EagleML>