The CreatorCon Call for Content is officially open! Get started here.

Not able to create a account

Saib1
Tera Guru

Hi,

 

From the customer_account table

 

we are trying to create new account is giving error - Invalid Insert

 

Saib1_0-1676884218901.png

 

 

1 ACCEPTED SOLUTION

Rajesh Chopade1
Mega Sage

Hi @Saib1 

 

Cause

The customer_account table has three fields that require unique values, one is the account code. This field is creating with a default value that is determined by the last used value. The 'last used' value is stored in the com.snc.cs_base.last.generated.code.tree.path system property. If the property is reset to the original value, it will attempt to create new accounts with an account code that is already in use.

 

Resolution

Identify the last used value for the account code field on the customer_account table and update the com.snc.cs_base.last.generated.code.tree.path system property with that value.

 

I hope this will helps you to resolve your issue.

Please mark my answer correct and helpful if it helps you to resolve your issue.

 

Thank you

Rajesh.

View solution in original post

5 REPLIES 5

Hi @saib , 
hope @Rajesh Chopade1  has provided you solution ,
its was learning for me also 

Thanks