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

Recent posts tagged php

0
answers
0
views
$productHandle = $client-Product_FindByName(array('name' = $product'name'), $newDebtorHandle)-Product_FindByNameResult; I don't think you can do it like that. I belive it only accept the product name to search for. $productHandle = $client-Product_FindByName(array('name' = $product'name'))-Product_FindByNameResult;
answered Mar 18, 2013 by PhpMadman
0
answers
0
views
$newDebtorHandle = $client-Debtor_FindByNumber(array('number' = $row'customer_id'))-Debtor_FindByNumberResult; Give that a try
answered Mar 18, 2013 by PhpMadman
0
answers
0
views
I amsume you are using Debtor_CreateFromData. Then currency field should be 'CurrencyHandle' = $curHandle And get curhandle useing Currency_FindByCode. I havent tried it myself, but I asume code is SEK, EUR and so on.
answered Mar 18, 2013 by PhpMadman
0
answers
0
views
Okey. So I just need to add an ID = $i where $i can be a static number i set? Beacuse i'm adding / updateing products, so I don't really have any IDnr to use, such as number of OrderLines.
answered Mar 18, 2013 by PhpMadman
0
1
answer
223
view
Dear Experts, i am creating a customer , in currency field i got this error Economic.Api.Exceptions.ValidationException(E04010): Currency cannot be null. can any one help me out plz..
created Mar 17, 2013 by sudheerphp
0
2
answers
2903
views
Hi My PHP API connection source code is working fine when I want to connect to a normal agreement (one account database) doing it the old way like this: try { $client = new SoapClient(https//apie-conomiccom/secure/api1/EconomicWebserviceasmx?WSDL, array(trace = 1, exceptions = 1)); ...
created Mar 14, 2013 by Jens Kirk
0
1
answer
529
view
Hi experts, when am create a order using order_create() i got this error, Uncaught SoapFault exception: [soap:Client] Economic.Api.Exceptions.ValidationException(E04000): Debtor number string must be a legal integer. source code : while($row = mysql_fetch_array($result)) { //echo $row[' ... Client] Economic.Api.Exceptions.ValidationException(E04000): Debtor number string ...
created Mar 13, 2013 by sudheerphp
0
0
answers
190
views
I am stuck with a custom request, i need to create a DayBook. Can this be done via API? what method should i use from API? 1. e-conomic day book type: Manual customer VM - EConomic invoice number from VM - ...
created Mar 11, 2013 by kriss
0
answers
0
views
i got this error : string(122) Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred. (id=846c27ec-93ab-4e11-aeee-4ce54220cdfc) how to fix this , how to include product reference ...
answered Mar 11, 2013 by sudheerphp
0
answers
0
views
Okey. Solved that error. seems I need to send it as array('dataArray' = ) $superarray = $ec_createarray; print_r($superarray); echo(brbrbr); $result = $client-Product_CreateFromDataArray(array(dataArray = $superarray))-Product_CreateFromDataArrayResult; // Line 61 But now I get another ... /sweetgad/public_html_webshop/Export/indexphp(40) EC_ProductCreate(Object(SoapClient), Array) #3 {main} thrown in /home/sweetgad/public_html_webshop/Export/ec_funcphp ...
answered Mar 11, 2013 by PhpMadman
0
answers
0
views
That can't be. I mean. I print the god damn array the line above the soap call. And it contains the data. Anyone with some PHP knowledge got any thoughts?
answered Mar 11, 2013 by PhpMadman
0
answers
0
views
hi , we have webmethods in api , just use Order_CreateFromData
answered Mar 11, 2013 by sudheerphp
0
2
answers
138
views
Hi experts, i am connected my webshop with e-conomic, if the customer purchase the items form webshop, i want to get all the items of the corresponding customer in my e-conomic site.. for that i use the bellow code.. $productHandle = ...
created Mar 11, 2013 by sudheerphp
0
answers
0
views
Hi there, I am not able to help you with the PHP code, but I can show what the resulting XML we receive is: ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/ xmlns:ns1=http://e-conomic.comSOAP-ENV:Bodyns1:Product_CreateFromDataArray//SOAP-ENV:Body/SOAP-ENV:Envelope The reason the server complains is that there is no array ...
answered Mar 10, 2013 by nkn
0
answers
0
views
Which error are you getting? OrderLine_CreateFromData is a way for you to create the order in one service instead of in many as your code is doing now.
answered Mar 10, 2013 by nkn
0
7
answers
475
views
Hello. I'm haveing problem creating products with Product_CreateFromDataArray. I use the follwing code: function EC_ProductCreate($client,$createArray) { $productGroupHandle = $client-ProductGroup_FindByNumber(array(number = 1))-ProductGroup_FindByNumberResult;; $ec_createarray = array(); $i = 0; foreach( ... /Export/indexphp(40) EC_ProductCreate(Object(SoapClient), Array) #3 {main} thrown in /home/sweetgad/public_html_webshop/Export/ec_funcphp on line 57 ...
created Mar 8, 2013 by PhpMadman
0
1
answer
325
view
hi experts, Q1)How to get the product details and order related information for particular customer which is purchased goods in website and connnected to e-conomic.??? Q2)what is orderLine(),createorder Form data()?? Q3)if suppose the customer purchase more than 1 item ,how to ...
created Mar 8, 2013 by sudheerphp
0
0
answers
97
views
Dear friends, connection for api can anybody send me the code for that , reply is most appreceated, kind regards sudheer..
created Feb 26, 2013 by sudheerphp
0
answers
0
views
hi nkn, for cration of product grop in e-conomic , i use php-soap environment and the code like this, $client-ProductGroup_Create(array( 'number' = xx, 'name' = 'xxx, 'accountForVatLiableDebtorInvoicesCurrentHandle' = 4000) ); my first question is : what is accountForVatLiableDebtorInvoicesCurrentHandle ?? second question : how to pass dynamically ?? quick reply is appreceated kind regards sudheer ..
answered Feb 26, 2013 by sudheerphp
0
answers
0
views
Hi there, The SchemaException means the XML you send is not valid, ie. it contains something our servers are not expecting. Consider using a tool like fiddler to examine the XML http://www.fiddler2.com/ and compare it with the XML that we expect ...
answered Feb 26, 2013 by nkn

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...