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
Ok, thanks!
answered Nov 3, 2011 by kwi
0
answers
0
views
Hi, As per the YourReference property description: http//wwwe-conomiccom/apidocs/Documentation/P_Economic_Api_IDebtor_YourReferencehtml - This is a reference to a DebitorContact. To retrieve e.g. the name, you can do something like this: IDebtorContact contact = objDebtor.YourReference; string name = (contact == null ? : contact.Name); Best regards,
answered Oct 24, 2011 by Christian Estrup
0
1
answer
93
view
Hello everyone I am importing debtors to a Wordpress-installation using the webservice. It works great! We have run in to a small problem however. We can't seem to get the value of the Deres ref. (Your reference) field from each debtor. ...
created Oct 23, 2011 by emilh
0
1
answer
62
view
Hi all Thank you to Christian for implementing Order_GetAllUpdated (although no news has mentioned this?) However I can not get Order_GetAllUpdated to return the right info. I always get the handles for all orders, no matter what fromDate I supply. Am ...
created Oct 21, 2011 by MicMac
0
answers
0
views
Hi, You cannot specify the revenue account on a per-line basis. Instead, revenue accounts are specified on product groups. So, based on a given order line, the revenue account will be the line's product's group's account. http//wwwe-conomiccom/apidocs/Documentation/T_Economic_Api_IProductGroup_Membershtml. Best regards,
answered Oct 20, 2011 by Christian Estrup
0
2
answers
99
views
Hi We have setup different accounts that we would like to use to record income for sales of different types of products. For example we have these accounts setup in E-conomic: 1170 Heaters 1180 Gaz pumps 1190 Vacuum cleaners When we ...
created Oct 20, 2011 by kwi
0
0
answers
42
views
hi, In table Debtor ,this code is ok! $DebtorHandle = array('Number' = 110); $client-Debtor_SetEmail(array('debtorHandle'=$DebtorHandle, 'value' = 'email')); But, in table DebtorContact the same code is not. $DebtorContactHandle = array('Number' = 108); $client-DebtorContact_SetEmail(array('debtorHandle'=$DebtorContactHandle, 'value' = 'email')); How can i update the table ...
created Oct 11, 2011 by china li
0
answers
0
views
Hi, The internal e-conomic order number cannot be edited on a per-order/invoice basis. If you need some order/invoice reference from another system, we recommend you use the OtherReference field: http//apiforume-conomiccom/post1123html?hilit=otherreference#p1123. Best regards,
answered Sep 27, 2011 by Christian Estrup
0
1
answer
85
view
Trying to set custom order no when using Order_CreateFromData, however, it still takes a 70000 number as order number. Must i enable editing of order number some place, or it something else wrong? I've tried both Number and Id as keys.
created Sep 27, 2011 by Partridge
0
0
answers
133
views
Hej, Jeg vil lige gøre opmærksom på at jeg har udviklet en lille PHP-klasse som måske kan hjælpe nogle med at integrerer e-conomic i deres PHP-løsning. Klassen koster 49,00 DKK I kan læse mere om denne klasse og se en YouTube ...
created Sep 21, 2011 by danielbahl@me.com
0
answers
0
views
Got it - almost gave up... Find the unit name by its number (2 in this case); $unitHandle = array('Number' = 2); $unitName = $client-Unit_GetName(array('unitHandle' = $unitHandle)); echo U $unitName-Unit_GetNameResultbr; BR Thauser
answered Sep 18, 2011 by thauser
0
answers
0
views
Again, not knowing anything about PHP: The handle 'happens to include' a Number, which 'happens to be' both the ID and the user-visible number. However, downloading ProductData does not automatically transfer ALL properties of ALL related objects - such as unit ...
answered Sep 18, 2011 by Christian Estrup
0
answers
0
views
Christian, We are moving in the right direction - know I can get the numbers with; $productData-UnitHandle-Number; $productData-ProductGroupHandle-Number; But I can NOT get the name (eg. of the unit). In the API Contents PDF, Units is listet as including Number, Name ...
answered Sep 17, 2011 by thauser
0
answers
0
views
I'm no expert on PHP - but what your ProductData really returns for ProductGroup and Unit are actually a ProductGroupHandle and a UnitHandle, respectively. BR,
answered Sep 17, 2011 by Christian Estrup
0
answers
0
views
I can´t - try it with this code - the last two does not come out; ? // Helper function to check query parameters function checkParameter($param) { if (!$_REQUEST$param) { echo Missing code $param /code parameter in query string; exit(0); ... ...
answered Sep 17, 2011 by thauser
0
answers
0
views
Hi, As you can see here - https://secure.e-conomic.com/secure/api ... ct_GetData - ProductData most certainly does include both unit and group references. What makes you think you can't get hold of these? BR,
answered Sep 17, 2011 by Christian Estrup
0
6
answers
121
views
Hi! // Fetch list of all products $productHandles = $client-Product_GetAll()-Product_GetAllResult-ProductHandle; $productDataObjects =$client-Product_GetDataArray(array('entityHandles' = $productHandles))-Product_GetDataArrayResult-ProductData; foreach ($productDataObjects as $i = $productData) { ... -Number $productData-Name $productData-SalesPrice But I can NOT get these values; $productData-Unit $productData-ProductGroup Any ideas? BR Thauser
created Sep 15, 2011 by thauser
0
answers
0
views
Sounds like the same problem and possible resolution as here: http//apiforume-conomiccom/post3475html#p3475. Regards,
answered Sep 7, 2011 by Christian Estrup
0
answers
0
views
So is anybody going to answer? I am developing a magento module for one of your clients and i am stuck at this error. Need Help Asap. Thanks.
answered Sep 7, 2011 by adsoft
0
answers
0
views
I'm not sure... I am doing some programming for a webshop, and in the webinterface of their e-conomic, they have a category field. It is properly the add-on module, you are talking about... If it is, is it possible to set the parameter through soap?
answered Sep 5, 2011 by jenknu

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