API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Debtor_GetEntris not working ...

0
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.

    
  String asClientNo
    Integer i
    tWSDebtorHandle         stDebtorHandle
    tWSDebtorEntryHandle  staDebtorEntryHandle staDebtorOpenEntryHandle
    String sDebtorNum


    Move (String(16)) to asClientNo0
    Move (String(20)) to asClientNo1
    Move (String(8924)) to asClientNo2
    Move (String(10002)) to asClientNo3
    Move (String(1))      to asClientNo4          ///Created sample array for 5 cliens

   For i from 0 to (SizeOfArray(asClientNo)-1)
       Get wsDebtor_FindByNumber of  oWSEconomicWebService asClientNoi 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 ...

[color=red:1qzbylkq] Received XML data does not match destination data type [/color:1qzbylkq]

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


Regards,
Nayan
created Sep 10, 2009 by nayan
0% Accept Rate
Q 1 A 0 C 0

Visma e-conomic A/S
...