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
0
answers
251
views
Hello, When I am tring to create Invoice Line using CurrentInvoiceLine_CreateFromDataArray function. I am getting error message like shown in below. createInvoiceLine:Economic.Api.Exceptions.SchemaException(E00500): The 'id' attribute is not declared. {id=552429879} Using same data with function CurrentInvoiceLine_CreateFromData , I am not getting any ...
created Jul 20, 2012 by gunjanpatel
0
3
answers
207
views
Hej, jeg har altid forbundet min webløsning med e-conomic, med følgende kode: try { $client = new SoapClient(https://www.e-conomic.com/secure/api1/EconomicWebservice.asmx?WSDL, array(trace = 1, exceptions = 1)); $client-Connect(array( 'agreementNumber' = XXXXXXX, ... mener jeg har noget forkert kode, men jeg har jo intet ændret, ...
created Jul 18, 2012 by wibergs
0
0
answers
82
views
$DeliveryId = $client-DeliveryLocation_Create(array( 'debtorHandle' = $debtorHandle ))-DeliveryLocation_CreateResult; $DeliveryHandle = $client-Debtor_GetDeliveryLocations(array( 'debtorHandle' = $debtorHandle ))-Debtor_GetDeliveryLocationsResult; // stdClass Object ( DeliveryLocationHandle = stdClass Object ( Id = 11 ) ... reg succes msg. I get a debtor i e-c, and i get a EMPTY DeliveryLocation. So it's the SetAddress part that's screws up.
created Jun 26, 2012 by Madman
0
0
answers
70
views
I try to update a product: Calling object method 'Product_UpdateFromData' Array ( 0 = Array ( data = stdClass Object ( Handle = stdClass Object ( Number = 4005 ) ... ) ) ) ) Result stdClass Object ( Id = 48 Number = 1 ) I was wondering if there is a bug on the server side? /Kjeld
created Jun 22, 2012 by ecodyr
0
0
answers
118
views
Hi. Will the product web hook be called just because the inventory changes - so that I can monitor if the storage falls below allowed minimum? SORRY! Had not seen the hook for inventory changes! That solved my problem
created May 30, 2012 by traels
0
0
answers
514
views
Hey, i am still experimenting with the hooks. I am able to get the created/booked credit advice note, but i need to get all credit advice notes which are count into the open invoice(s) of a debtor. Is there a way, to get the data? thanks
created May 25, 2012 by sentinel777
0
answers
0
views
Looks like i just have to use CurrentInvoiceLine_SetDescription Had tried that, but i have to try again.
answered May 25, 2012 by jakobdo
0
1
answer
85
view
Hello, i just started using the economic api, works great so fare. But, how do i set ProductName, when creating new InvoiceLines? When i create a invoiceLine through the website, the productName is set automatically when choosing a product. How to ...
created May 25, 2012 by jakobdo
0
answers
0
views
i have found the solution by myself: just use the available fields (like [OLDNUMBER] and [NEWNUMBER]) in the url of the webhook, like: http://mysite.com/myscript.php?old=[OLDNUMBER]new=[NEWNUMBER] you can then get the data with $_GET['old'] and $_GET['new']
answered May 23, 2012 by sentinel777
0
1
answer
131
view
Hi, i just tested the webhook function: i created a webhook which calls a php script with a get parameter when a debtor was updated. with this get parameter i can call a specific function. the problem is now, how do ...
created May 23, 2012 by sentinel777
0
1
answer
157
view
Hi, We need a to import orders from our Danish Cubecart3 webshop to e-conomic. Anyone can help with that? Thanks,
created May 23, 2012 by Linkssite
0
answers
0
views
thanks for the hint, but what is the difference between current invoice and (normal) invoice? cant find any descriptions
answered May 22, 2012 by sentinel777
0
answers
0
views
it was my mistake $debtorDataObjects[] = $client-Debtor_GetData(array('entityHandle' = $debtorHandle))-debtor_GetDataResult; changed to $debtorDataObjects[] = $client-Debtor_GetData(array('entityHandle' = $debtorHandle))-[u:1d9xw0j4]D[/u:1d9xw0j4]ebtor_GetDataResult;
answered May 21, 2012 by bahn
0
answers
0
views
What happens? Best regards,
answered May 21, 2012 by Christian Estrup
0
2
answers
298
views
please help me i cant make this work!! $debtorHandle = $client-Debtor_FindByNumber(array('number' = $_POST'debtornr'))-Debtor_FindByNumberResult; $num_debtors = count($debtorHandle); if($num_debtors == 1) { $debtorDataObjects = $client-Debtor_GetData(array('entityHandle' = $debtorHandle))-debtor_GetDataResult; print_r($debtorDataObjects) ... ; echo $debtorData-PostalCode, ; echo $debtorData-Address, ; echo $debtorData-City, ; } }
created May 19, 2012 by bahn
0
answers
0
views
$client-CurrentInvoice_SetTextLine1(array('currentInvoiceHandle' = $invoiceHandle,'value' = utf8_encode($rowkunde[modtag])));
answered May 19, 2012 by bahn
0
answers
0
views
$client-CurrentInvoice_SetTextLine1(array('currentInvoiceHandle' = $invoiceHandle,'value' = utf8_encode($rowkunde[modtag])));
answered May 19, 2012 by bahn
0
3
answers
135
views
Hi, i was looking for a function like Invoice_SetTextLine1 but could not find anything, which would do the following: i need to store a custom text or a value for an invoice. in the backend i saw the column text in ...
created May 11, 2012 by sentinel777
0
answers
0
views
I have same problem calling this WS method ??
answered May 2, 2012 by anonymous
0
answers
0
views
Setting the department with $economic-CurrentInvoiceLine_SetDepartment(array('currentInvoiceLineHandle' = $invoiceLineHandle, 'value' = $department)); Does not give the error. Though, we still have the book problem with EconomicApiExceptionsIntegrityException(E06300) Cannot book the current invoice No department has been entered for the products in 1 invoice line(s) ...
answered Apr 26, 2012 by ThomasKj

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