adsbarb 4/29/2011 2:57:18 PM

eConnnect GP 2010 client install, getDocNumbers.GetPMNextVoucherNumber not working,

I was just trying to convert over some code for eConnect 10 and several things are not working. 

1) connects on the server, not on the client:  Do I have to install the econnect service on the client from the GP DVD?  I was getting the no endpoint listening error message.  So I installed on the client and now the service stops and started.  Did edit both config files to have host name.  Before I go too far down the troubleshooting road I want to make sure I am supposed to install the service on the client.

2)  Dim pmNumber As String

 

pmNumber = getDocNumbers.GetPMNextVoucherNumber(IncrementDecrement.Increment, CurrentCompanyConnect)

give this error message:  String was not recognized as a valid Boolean

 3) Dim result As String = eConCall.CreateTransactionEntity(CurrentCompanyConnect, PMMasterDocument)

PMMasterDocument =

 

<?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">
- <PMTransactionType>
  <eConnectProcessInfo xsi:nil="true" />
  <taRequesterTrxDisabler_Items xsi:nil="true" />
  <taUpdateCreateVendorRcd xsi:nil="true" />
  <taCreateVendorAddress_Items xsi:nil="true" />
  <taPMTransactionTaxInsert_Items xsi:nil="true" />
- <taPMDistribution_Items>
  <taPMDistribution xsi:nil="true" />
- <taPMDistribution>
  <DOCTYPE>1</DOCTYPE>
  <VENDORID>AMEX</VENDORID>
  <DISTTYPE>6</DISTTYPE>
  <ACTNUMST>6615-190</ACTNUMST>
  <DEBITAMT>244.40</DEBITAMT>
  </taPMDistribution>
- <taPMDistribution>
  <DOCTYPE>1</DOCTYPE>
  <VENDORID>AMEX</VENDORID>
  <DISTTYPE>2</DISTTYPE>
  <ACTNUMST>2000-000</ACTNUMST>
  <CRDTAMNT>244.4</CRDTAMNT>
  </taPMDistribution>
  </taPMDistribution_Items>
  <taAnalyticsDistribution_Items xsi:nil="true" />
- <taPMTransactionInsert>
  <BACHNUMB>CC 201104</BACHNUMB>
  <VENDORID>AMEX</VENDORID>
  <DOCNUMBR>02152011 -GL</DOCNUMBR>
  <DOCTYPE>1</DOCTYPE>
  <DOCAMNT>488.8</DOCAMNT>
  <DOCDATE>2/28/2011</DOCDATE>
  </taPMTransactionInsert>
  <taMdaUpdate_Items xsi:nil="true" />
  </PMTransactionType>
 
 
Gives me "sequence contains no elements"
 
Any help would be appreciated!
 

 

Version: GP 2010
Section: 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