Debtor_GetEntris not working ...

Forum for discussing SOAP, and how it is used in the E-conomic API

Debtor_GetEntris not working ...

Postby nayan » Thu Sep 10, 2009 8:29 am

HI ,

I have integrated E-conomic with my VDF ( Visual Data Flex) application by using webservice.
To get the open entries or all entries for Debtor I am using following code in my application.

Code: Select all
 
  String[] asClientNo
    Integer i
    tWSDebtorHandle         stDebtorHandle
    tWSDebtorEntryHandle[]  staDebtorEntryHandle staDebtorOpenEntryHandle
    String sDebtorNum


    Move (String(16)) to asClientNo[0]
    Move (String(20)) to asClientNo[1]
    Move (String(8924)) to asClientNo[2]
    Move (String(10002)) to asClientNo[3]
    Move (String(1))      to asClientNo[4]          ///Created sample array for 5 cliens

   For i from 0 to (SizeOfArray(asClientNo)-1)
       Get wsDebtor_FindByNumber of  oWSEconomicWebService asClientNo[i] to stDebtorHandle           
       Get wsDebtor_GetEntries  of oWSEconomicWebService stDebtorHandle to staDebtorEntryHandle
       Get wsDebtor_GetOpenEntries  of oWSEconomicWebService stDebtorHandle to staDebtorOpenEntryHandle     
   

   Loop



and this code was working fine for me before 2 months.
But when i checked it 2days before .. it is not working at all :(

To get Debtor handle it working and it is returning debtor handle with function "wsDebtor_FindByNumber "
but to get Debtor entries is not working at all .. it is not returning anything ....
and when i checked in Error .. it is giving error as ...

"Received XML data does not match destination data type"

So what is wrong in it ?
or have u changed anything in API ??


Regards,
Nayan
-
nayan
 
Posts: 1
Joined: Thu Sep 10, 2009 8:11 am

Return to SOAP



cron