Auto generating number is increasing by 2 everytime?

0
Here I gave OrderId  type is Autonumber. But OrderId adding 2 to every time. I want to make orderId need to increase by 1 every order. How to do this?    
asked
2 answers
5

Hi Ladi,

I think there might be an event handler or a microflow, that is creating your Order object twice,

please thoroughly check each microflow and button, where the order object is being saved.

 

Let me know, if there’s any issues,

Hope it helps!!

answered
-1

Hyy,

I think you need to change the properties of the OrderId attribute in your domain model. Find the OrderId attribute in the entity. Change the "Data type" property of the attribute from "Auto number" to "Integer". Change the "Default value" property of the attribute to "1". Change the "Stored value" property of the attribute to "No".

answered