This article explains how to add code generated in new customer automatically. with this configuration each customer who will be automatically has a member code that we have specified.
Step 1. Select Module Configuration in 'More menu'
Step 2. Select Contact Section then Enable Code Generator & Fill the prefix and save
so the code is automatically generate every time you create a customer in a sell menu
-This Configuration only work with new customer added, the past customer that added before the config activated should not take effect