I found this because I was looking to solve the same problem.
The way I am going to work on it is to create an order number field in my order data and add the first order manually.
Then when the second order comes in, I am going to look up the last orderās order number +1 and write it to the order number field.
In this way if the data behind it gets deleted it shouldnāt mess things up.
In my case, because the āorder numberā is also specific the customer, Iāll set a workflow up when the customer is created to hardcode their first order number and subsequent orders will follow the above.
I havenāt built this, and Iāve been using bubble for like, 13 hours lol. So if this seems like it wonāt work just let me know (or⦠if I find out it wonāt work⦠Iāll be back!!)