DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
SHMurray 8/6/2010 5:12:18 PM

Multiple Transaction Types per XML Document?

Is it really not possible to create an XML document with multiple transaction types?  My process creates cash transactions with distributions as well as checking to see if the applicable account for deferred revenue has or has not been created.  XML is below.  Each transaction type works fine alone, but not in a single document. 

 <?xml version="1.0" encoding="utf-8"?>
<eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RMCashReceiptsType>
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
    <taUpdateCreateCustomerRcd xsi:nil="true" />
    <taCreateCustomerAddress_Items xsi:nil="true" />
    <taRMDistribution_Items>
      <taRMDistribution>
        <RMDTYPAL>9</RMDTYPAL>
        <DOCNUMBR>PYMT0000000217</DOCNUMBR>
        <CUSTNMBR>BAMA BCS 2010</CUSTNMBR>
        <DISTTYPE>1</DISTTYPE>
        <ACTNUMST>03-1013-99</ACTNUMST>
        <DEBITAMT>1402501.10</DEBITAMT>
      </taRMDistribution>
      <taRMDistribution>
        <RMDTYPAL>9</RMDTYPAL>
        <DOCNUMBR>PYMT0000000217</DOCNUMBR>
        <CUSTNMBR>BAMA BCS 2010</CUSTNMBR>
        <SEQNUMBR>1</SEQNUMBR>
        <DISTTYPE>3</DISTTYPE>
        <DSTINDX>1</DSTINDX>
        <ACTNUMST>03-2201-01</ACTNUMST>
        <CRDTAMNT>1402501.10</CRDTAMNT>
      </taRMDistribution>
    </taRMDistribution_Items>
    <taAnalyticsDistribution_Items xsi:nil="true" />
    <taRMCashReceiptInsert>
      <CUSTNMBR>BAMA BCS 2010</CUSTNMBR>
      <DOCNUMBR>PYMT0000000217</DOCNUMBR>
      <DOCDATE>12/17/2009 12:00:00 AM</DOCDATE>
      <ORTRXAMT>1402501.10</ORTRXAMT>
      <GLPOSTDT>12/17/2009 12:00:00 AM</GLPOSTDT>
      <BACHNUMB>ECONNECT</BACHNUMB>
      <CSHRCTYP>0</CSHRCTYP>
      <CHEKBKID>ASSOCIATED BANK</CHEKBKID>
      <TRXDSCRN>econnect</TRXDSCRN>
      <CREATEDIST>0</CREATEDIST>
    </taRMCashReceiptInsert>
  </RMCashReceiptsType>
  <GLAccountType>
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
    <taUpdateCreateAccountRcd>
      <ACTNUMST>03-2201-01</ACTNUMST>
      <ACTALIAS>BAMA BCS 2010 DR</ACTALIAS>
      <ACTDESCR>BAMA BCS 2010 Deferred Revenue</ACTDESCR>
      <PSTNGTYP>1</PSTNGTYP>
      <CATEGORY>Other Current Liabilities</CATEGORY>
      <TPCLBLNC>1</TPCLBLNC>
      <FXDORVAR>1</FXDORVAR>
    </taUpdateCreateAccountRcd>
    <taCreateVariableAllocationAccountRcd_Items xsi:nil="true" />
    <taCreateFixedAllocationAccountRcd_Items xsi:nil="true" />
  </GLAccountType>
  <PAAccountsSetupType>
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
    <taPAAccountsSetup_Items>
      <taPAAccountsSetup>
        <PAsfid>34</PAsfid>
        <PArecordid>BAMA BCS 2010  </PArecordid>
        <PAaccttype>35</PAaccttype>
        <PAAccount>03-2201-01</PAAccount>
      </taPAAccountsSetup>
    </taPAAccountsSetup_Items>
  </PAAccountsSetupType>
</eConnect>

Version: Unknown or N/A
Section: eConnect