Forum Discussion
Easiest way to add an Incrementing ID column on lists?
One way is to user PowerAutomate. You could create another list with one item that contains the next ID to use: ex: 1000.
Then when a new customer is created, you will have a flow that will be triggered, it will look at the ID in the other list and generate the Customer ID. You will update the customer items and then increment the ID in the other list.
So when someone will create a new customer, they will only see the Customer ID after it is created when the flow will execute.
To avoid concurrency issue (someone else create a new customer at the the time your flow get the ID and increment it), you could implement a lock mecanism in the list that contains the ID but maybe this is not relevant in your case.
The other way is to use a remote event receivers instead of PowerAutomate that provides more flexibility but need some skills with the concept.