Auto Number manipulation/deletion

0
Hi,      I have created an entity in which i have added an attribute whose type is defined as ‘AutoNumber’.        1.) I want that number to be incremented on a condition when the object is created i.e. it should increase on based upon a condition.         2.) Secondly if a number is created by mistake then how to delete that previous ‘AutoNumber only’ so that the sequence should not be disturbed.       If anyone could help me regarding this. Thanks
asked
2 answers
2

If you have these requirements, an attribute of type AutoNumber is the wrong solution. You need an integer attribute which you manage yourself through microflow actions.

answered
0

Hi Prakhar,

Create a Non persistable entity and show that in a page.When user clicks the submit button get the values from Non persistable entity and set it to the Persistable entity.

In this way we can achieve ur functionality

Regards,

Bharathidasan

answered