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

Regarding on Debtor EAN.no

0
Hi

I had problem on insert in Debtor EAN.No. I use this code


                  $client-Debtor_SetEan(array(
                  'debtorHandle' = $debtor,
                   'value'        =5829631478963));



 If I try manually insert an EAN.No but not transfer. I don?t know this problem,please explain me about EAN.No
created Jan 21, 2011 by seetha
0% Accept Rate
Q 5 A 0 C 0

2 Answers

0
This does not work for me also - I use;

// EAN   
$client-Debtor_SetEan(array(
    'debtorHandle' = $newDebtorHandle,
    'number'        = '5798000123456'));

Also changed 'number' with 'Number' and 'value' without luck...
- I do not get and error using 'number' or 'Number' but EAN is not on the Debtor!

I can get it to work with address like this;

// ADDRESS   
$client-Debtor_SetAddress(array(
    'debtorHandle' = $newDebtorHandle,
    'value'        = 'Some Address'));
answered Jan 11, 2013 by thauser
0
Got it - this works (But the entered EAN must be valid!):

// EAN   
$client-Debtor_SetEan(array(
'debtorHandle' = $newDebtorHandle,
'value'        = $_POST['debtor_ean']));
answered Jan 11, 2013 by thauser
Visma e-conomic A/S
...