There is no need for a custom script you can even change the Naming series by going to Setup —> Settings ----> Naming Series and select customer as below:
Thank you for helping!
I know this is possible, but I wanted to avoid this since this will affect list views, print formats etc.
The integer id will only be used when interfacing other system we have.
Is it possible to use frappe.get_list and get the maximum value or something like that?
Just a thought: A universal way of solving this for any entry, document, field, etc. would be to incorportate a uuid that would be exposed in API’s, logs etc.
Solves m2m integrations. For quick manual entry/lookups, maybe a standardised “TLA” scheme (Three Letter Acronym) usually found in BOM/PLM systems.