Series Should be continue even it has different codes

Dear Community,

In customer doctype, I created series code as C.{custom_country_code}.{custom_abbr}.### based on that Customer Id is generated also I created Client script for the abbreviation. the issue is every time we create the customer new abbr generated and serial will always comes as 001.

Eg: while if i create the customer White Flower market as First it should picks CAEWFM001, after creating each customer it should continue its series number from uniformly, no matter what if the ID or that abbr will change it should continue the series. (Here I need Yellow Flower Market should show as CAEYFM002 like series continuity.)

Thanks in Advace.

1 Like