Quantcast
Channel: e-conomic Global API Forum
Viewing all articles
Browse latest Browse all 2527

Issue with trying to create Employee data

$
0
0

Zedonk is encountering a problem with trying to create Employee data in the e-conomic system, with the following error:

 
 Invoice:IN-00974 (835171) **Error** 

Message:The element 'EmployeeData' in namespace 'http://e-conomic.com' has incomplete content. List of possible elements expected: 'CostPrice' in namespace 'http://e-conomic.com'. (id=1f176fc3-067c-4f35-a88b-80ca3e94398d) 
Source:Economic.Api 
Target Site:Economic.Api.IEmployee Employee_CreateFromData(Economic.Api.Data.IEmployeeData) 
Stack Trace: 
 at Economic.Api.EconomicSession.Employee_CreateFromData(IEmployeeData data) 
 at Economic.Api.EmployeeUtil.CreateFromData(IEmployeeData data) 
 at Export_Syncronise.IzExportDestination.EconomicFindOrCreateEmployeeByName(String EmployeeName) 
 at Export_Syncronise.IzExportDestination.FindOrCreateInvoice(IzInvoice ZInvoice) 
 at Export_Syncronise.ExportInvoices()   

We have checked your documentation link and can't see this new field mentioned:
http://e-conomic.github.io/eco-api-sdk-ref-docs/Documentation/ 

But when we look at the actual SOAP we can see this new field: 
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_CreateFromData 

We have just downloaded the latest version of the API DLL's from: 
https://github.com/e-conomic/eco-api-ex 

But these don't mention the new fields when we interrogate the DLL: 

 


Viewing all articles
Browse latest Browse all 2527

Trending Articles