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

Getting default data for a new debtor


How can I get the default settings for a new debtors?

It is the information you see in "Customer setup", like Customer group, term of payment, layout!




created Mar 22, 2013 by perbuus
0% Accept Rate
Q 3 A 1 C 2

1 Answer

Actually it is not directly possible to get this information.

The best you can do is to create a new debtor using the Create method - and then retrieve all data for that debtor, but this will not give you all you are searching for, just the values that are set during creation.

The debtor can be deleted afterwards.

Please note that this will not work with the CreateFromData method as it assumes you take full control and hence does not set default values.
answered Mar 26, 2013 by nkn
Thanks for the suggestion, I already added the option to specify the values in my own setup to solve the issue.
Visma e-conomic A/S