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

Most efficient way to loop through accounts


Lets say I have a list of 50-100 accountnumbers which I need to find the corresponding accountname for. What is the most efficient way to find the accountname?

Using this for each account?

Looping through this array:
Dim AccData As IAccountData
AccData = sessionAccountData(sessionAccountGetAll)
created Apr 3, 2012 by marj
0% Accept Rate
Q 5 A 13 C 0

1 Answer

And how can IAccountData be converted to IAccount in order to be used in session.CashBookEntryData.Create()?
answered Apr 3, 2012 by marj
Visma e-conomic A/S