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
Hi, You cannot simply set the VAT code on an order line. Rather, the VAT code on an order line is taken from the line's product's group's account. This is no different between the API and the web application - and ...
answered Dec 21, 2011 by Christian Estrup
0
3
answers
183
views
(How) can I set the vat code for an order line?
created Dec 21, 2011 by skysurf
0
answers
0
views
Thanks! /Kenneth
answered Dec 15, 2011 by Kennethpnielsen
0
answers
0
views
Hej Thomas Naturligvis - jeg har sendt dig en mail /Kenneth
answered Dec 15, 2011 by Kennethpnielsen
0
answers
0
views
never mind found the typo $order_handle = $this-client-Order_Create(array( 'debtorHandle' = $debtor_handle ))-Order_CreateResult; var_dump($order_handle);
answered Dec 7, 2011 by dmdisco
0
1
answer
71
view
it seems i don't get the order handle from the creation $order_handle = $this-client-Order_Create(array( 'debtorHandle' = $debtor_handle ))-Order_Create_CreateResult; var_dump($order_handle); this just returns NULL the order is created with the correct debtor but i cant add anything to it or change it, ...
created Dec 7, 2011 by dmdisco
0
answers
0
views
Hi Thauser, You can optimize that greatly by pulling all DebtorContacts via .GetAll(), followed by .GetDataArray(), and then do a lookup on that. - pretty much the same as described in this (admittedly .NET) example: http//techtalke-conomiccom/improving-api-performance-beyond-data-classes/. Best regards,
answered Nov 29, 2011 by Christian Estrup
0
answers
0
views
Hi Christian, Got it - but it boosts the runtime from 5s to 70s... Think I will have to live with that. BR Thauser
answered Nov 26, 2011 by thauser
0
answers
0
views
Hi thauser, Attentions are DebtorContact entities, so if you use the handle to look up the relevant DebtorContact, you should be able to pick up the name. Best regards,
answered Nov 26, 2011 by Christian Estrup
0
answers
0
views
Hi Kenneth, Thanks for sharing this - both the code and your story. Truly inspirational! Best regards,
answered Nov 26, 2011 by Christian Estrup
0
answers
0
views
Hov ! Det er sgu da Kenneth fra (tidl.) LinuxShoppen. Alt vel ? Kan vi måske mødes og udveksle nogle erfaringer med e-conomics ? Hils Kevin !
answered Nov 25, 2011 by thomas.k
0
3
answers
179
views
Hi! I´m trying to list my Debtors - which I can do without problems; // Fetch list of all debtors $debtorHandles = $client-Debtor_GetAll()-Debtor_GetAllResult-DebtorHandle; $debtorDataObjects =$client-Debtor_GetDataArray(array('entityHandles' = $debtorHandles))-Debtor_GetDataArrayResult-DebtorData; ... -- Also, I would like to get the NAMES of all the Attentions ...
created Nov 24, 2011 by thauser
0
answers
0
views
Hi, Send a description of your problem, along with the company agreement number, to our tech API support at api@e-conomic.com - we'll then look into the exact method calls you're making. Regards,
answered Nov 21, 2011 by Christian Estrup
0
1
answer
74
view
Hi, We have a website that we have integrated with the e-conomic so that when data on the website gets added or updated then the same data also gets added or updated to the e-conomic via API calls. But we are ...
created Nov 21, 2011 by sandynice
0
0
answers
47
views
Hi. I'm, trying to attach a primary deliveryaddress for a debtor through a registrationprocess on a website, but it continues to fail. Actually I have no clue on how the PHP code looks like for this process. I tried to use ...
created Nov 15, 2011 by webudvikleren
0
0
answers
71
views
Hi, I create a table CurrentInvoiceLine, and make the product is 1.But the other box is null ,why? THis is my code. $newCurrentInvoiceLineHandle = $client-CurrentInvoiceLine_Create(array( 'invoiceHandle' = $newCurrentInvoiceHandle))-CurrentInvoiceLine_CreateResult; ... $client-CurrentInvoiceLine_SetProduct(array( 'currentInvoiceLineHandle' = $newCurrentInvoiceLineHandle, 'valueHandle' = $firstProduct )); thanks!
created Nov 15, 2011 by china li
0
0
answers
103
views
Hi, I want to create CurrentInvoice,this is my code. there is only the product number in the CurrentInvoiceLine,But why could not add the product in CurrentInvoiceLine, thanks $cino = array(Number = $number); $newCurrentInvoiceHandle = $client-CurrentInvoice_Create( array( 'debtorHandle' = $cino ... ( array( 'currentInvoiceLineHandle' = $newCurrentInvoiceLineHandle, 'valueHandle' = $firstProduct ) );
created Nov 9, 2011 by china li
0
answers
0
views
Ok, I figured it out: OrderLine_GetDataArray only returns an array if there are multiple lines. Same goes for Order_GetLines.
answered Nov 3, 2011 by kwi
0
answers
0
views
Update: OrderLine_GetData also fails. Most likely the real problem lies in Order_GetLines, because i returns a wrong number (2) for the one and only orderline on the order.
answered Nov 3, 2011 by kwi
0
2
answers
77
views
There seems to be an error in OrderLine_GetDataArray. I experience that this function does not return any orderlines even though there is in fact a lines on the order. I have confirmed that I parse orderline-handles to the OrderLine_GetDataArray-function and I ...
created Nov 3, 2011 by kwi

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