Customer index does not index all customers

Problem:
The Customer index seems to run successful but not all valid customers are indexed. This means shop accounts can not be created for the customers that have not been indexed. Please note that to have a valid customer record it must pass the data validation rules in NAV.

Cause:
A bug was identified in function GetAllCustomers in Code Unit “Customer functions” 11123313

Applies to:
Sana Commerce 8.2

Suggested solution:
Download the text file attached to this article.
Merge it into the customer NAV administration.
It contains both the old and the new code so you can see what has been changed to the body of the function.

Changed GetAllCustomers Function body

Feedback and Knowledge Base