Answered: CashBookEntry_SetDebtorInvoiceNumber throws exception
Hi Pawel, It is is true that the API is slightly more restrictive than the GUI in this matter. If you add an invoice number it must correspond to an invoice that has already been registered. If you do...
View ArticleAnswered: Change 'Your reference' to nothing by Order_SetYourReference
Hi, It seems like it is PHP code you are using and I am not entirely sure of the syntax in PHP, but what you would like to do is to set the YourReference to null. Something like this I assume:...
View ArticleAnswered: What is order Line() and vat parameter in order_create
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.
View ArticleAnswered: Cubecart - E-conomic API
hi , we have webmethods in api , just use Order_CreateFromData
View ArticleDay Books mappings and virtuemart-joomla
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...
View ArticleAnswered: Cuurrency cannot be NULL
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...
View ArticleAnswered: Error in converting stdclass object to int
$newDebtorHandle = $client-Debtor_FindByNumber(array('number' = $row'customer_id'))-Debtor_FindByNumberResult; Give that a try
View ArticleAnswered: how to get the selected products.....
$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...
View ArticleAn internal error has occurred usin Product_CreateFromData
Hi, I'm using Product_CreateFromData to create products, but I keep getting this error: Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred....
View ArticleAn internal error has occurred usin Product_CreateFromData
Hi, I'm trying to create products using Product_CreateFromData, but I keep getting: Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred....
View ArticleAnswered: Connect to specific database in an administrator agreement?
Hi Jens, I have a little correction to the answer I just gave you. You can connect as administrator by using the method ConnectAsAdministrator:http://www.e-conomic.com/apidocs/Docume ... rator.html But...
View ArticleDebtor_updateFromdata() Error
when updating the debtor , got error like this Notice: Object of class stdClass could not be converted to int in /opt/lampp/lib/php/DataHub_EConomic/DataHub_EConomic_Webservices.php on line...
View ArticleAnswered: Product_CreateFromDataArray error, wrong syntax?
= array( ); $this-client-OrderLine_CreateFromDataArray(array(id =$i, dataArray=$orderlines)); //set all the properties of a order here.. } I hope it is helpful Thanks...
View ArticleSorting output
i want the newest invoices listed desc, this makes a list asc //finder bogførte faktura: try { $InvoiceHandles = $client->Debtor_GetInvoices(array('debtorHandle' =>...
View ArticleSubscription
I have build a Soap service to access subscriptions. So fare i get (all) information except subscriptionLines. I was wondering how would i get that information, i can not seem to find a FindByNumber or...
View ArticleUser is not authenticated. (id=1366125519)
Hei, Jeg har laget denne koden: ServiceReference1.EconomicWebServiceSoapClient ses; ses = new ServiceReference1.EconomicWebServiceSoapClient(); try { //connect...
View ArticleCheck for payment
Hi, Can anyone point me into the right direction. I have the invoice number and need to know if that invoice is payed or not. Please point out witch operations I must look into.. Regards Gunnar
View ArticleProblem in invoice_FindByDateInterval()
The invoice_FindByDateInterval() is [u:18sc12r0]not [/u:18sc12r0]working as expected I called it with the following parameters: First: 2013-02-01T10:46:19.000+01:00 Last: 2013-02-01T10:48:29.172+01:00...
View ArticleInvoice_GetData
Hello i am trying to get the debtor number from an Invoice using this lines: $InvoiceDataObjects[] = $client-Invoice_GetData(array('entityHandle' = $InvoiceHandle))-Invoice_GetDataResult; Foreach...
View Article