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

Cuurrency cannot be NULL

0
Dear Experts,

i am creating a customer ,
 in currency field
i got this error
Economic.Api.Exceptions.ValidationException(E04010): Currency cannot be null.
 
can any one help me out plz..
created Mar 17, 2013 by sudheerphp
22% Accept Rate
Q 14 A 10 C 0

1 Answer

0
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 SEK, EUR and so on.
answered Mar 18, 2013 by PhpMadman
Visma e-conomic A/S
...