joealt 5/16/2012 4:59:47 PM

Econnect error when trying to Close a PO that has a line that was partially received and posted.

EConnect error executing taPoHdr: Invalid PO Line Status (POSTATUS) - line item(s) are not Closed (9204)

<?xml version="1.0"?>
<eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <POPTransactionType>
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
    <taUpdateCreateItemRcd xsi:nil="true" />
    <taUpdateCreateVendorRcd xsi:nil="true" />
    <taCreateVendorAddress_Items xsi:nil="true" />
    <taUpdateCreateCustomerRcd xsi:nil="true" />
    <taCreateCustomerAddress_Items xsi:nil="true" />
    <taPopIvcTaxInsert_Items xsi:nil="true" />
    <taPopDistribution_Items xsi:nil="true" />
    <taAnalyticsDistribution_Items xsi:nil="true" />
    <taPoLine_Items>
      <taPoLine>
        <POTYPE>1</POTYPE>
        <PONUMBER>PO2382</PONUMBER>
        <VENDORID>JENSENSY0001</VENDORID>
        <LOCNCODE>WAREHOUSE</LOCNCODE>
        <VNDITNUM>adfsadfa</VNDITNUM>
        <ITEMNMBR>A100</ITEMNMBR>
        <QUANTITY>8.00000</QUANTITY>
        <QTYCANCE>5.00000</QTYCANCE>
        <FREEONBOARD>1</FREEONBOARD>
        <REQDATE>5/16/2012</REQDATE>
        <RELEASEBYDATE>5/16/2012</RELEASEBYDATE>
        <PRMDATE>5/16/2012</PRMDATE>
        <PRMSHPDTE>5/16/2012</PRMSHPDTE>
        <ITEMDESC>Audio System</ITEMDESC>
        <UNITCOST>23.21000</UNITCOST>
        <VNDITDSC>Audio System</VNDITDSC>
        <UOFM>EACH</UOFM>
        <SHIPMTHD>MAIL</SHIPMTHD>
        <ORD>16384</ORD>
        <CUSTNMBR>
        </CUSTNMBR>
        <CMPNYNAM>Joe Test Company</CMPNYNAM>
        <CONTACT>
        </CONTACT>
        <ADDRESS1>1234 Mooks lane</ADDRESS1>
        <ADDRESS2>
        </ADDRESS2>
        <ADDRESS3>
        </ADDRESS3>
        <CITY>Comstock Park</CITY>
        <STATE>MI</STATE>
        <ZIPCODE>49321</ZIPCODE>
        <CCode>
        </CCode>
        <COUNTRY>United States</COUNTRY>
        <PHONE1>
        </PHONE1>
        <PHONE2>
        </PHONE2>
        <PHONE3>
        </PHONE3>
        <FAX>
        </FAX>
        <CURNCYID>Z-US$</CURNCYID>
        <LineNumber>1</LineNumber>
        <UpdateIfExists>1</UpdateIfExists>
      </taPoLine>
    </taPoLine_Items>
    <taPoHdr>
      <POTYPE>1</POTYPE>
      <PONUMBER>PO2382</PONUMBER>
      <VENDORID>JENSENSY0001</VENDORID>
      <VENDNAME>Jensen Systems</VENDNAME>
      <DOCDATE>5/16/2012</DOCDATE>
      <BUYERID>
      </BUYERID>
      <TRDISAMT>0.00000</TRDISAMT>
      <SUBTOTAL>69.6300</SUBTOTAL>
      <CUSTNMBR>
      </CUSTNMBR>
      <PRSTADCD>PRIMARY</PRSTADCD>
      <CMPNYNAM>Joe Test Company</CMPNYNAM>
      <CONTACT>
      </CONTACT>
      <ADDRESS1>1234 Mooks lane</ADDRESS1>
      <ADDRESS2>
      </ADDRESS2>
      <ADDRESS3>
      </ADDRESS3>
      <CITY>Comstock Park</CITY>
      <STATE>MI</STATE>
      <ZIPCODE>49321</ZIPCODE>
      <CCode>
      </CCode>
      <COUNTRY>United States</COUNTRY>
      <PHONE1>
      </PHONE1>
      <PHONE2>
      </PHONE2>
      <PHONE3>
      </PHONE3>
      <FAX>
      </FAX>
      <VADCDPAD>JOE</VADCDPAD>
      <PURCHCMPNYNAM>
      </PURCHCMPNYNAM>
      <PURCHCONTACT>some guy</PURCHCONTACT>
      <PURCHADDRESS1>678 Prince Court</PURCHADDRESS1>
      <PURCHADDRESS2>
      </PURCHADDRESS2>
      <PURCHADDRESS3>
      </PURCHADDRESS3>
      <PURCHCITY>Edmonton</PURCHCITY>
      <PURCHSTATE>AB</PURCHSTATE>
      <PURCHZIPCODE>T95 9K8</PURCHZIPCODE>
      <PURCHCCode>
      </PURCHCCode>
      <PURCHCOUNTRY>
      </PURCHCOUNTRY>
      <PRBTADCD>PRIMARY</PRBTADCD>
      <SHIPMTHD>MAIL</SHIPMTHD>
      <PYMTRMID>NET 30</PYMTRMID>
      <CURNCYID>Z-US$</CURNCYID>
      <USERID>joe</USERID>
      <POSTATUS>5</POSTATUS>
      <PRMDATE>5/16/2012</PRMDATE>
      <REQDATE>5/16/2012</REQDATE>
      <UpdateIfExists>1</UpdateIfExists>
    </taPoHdr>
  </POPTransactionType>
</eConnect>

Version: All
Section: .NET Development, Dynamics GP, eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3