hi, need to create an incremental ID field, i know, this is not relational Db.
ex : ID-0001 / ID-0002 / and so on, have to put some code in onNew event.
is there a way to resolve this? a service returning the total record amount? go to a relational db , take the ID Number from a table field , add 1 and save it?
thanks in advance
Lea
You could write and deploy your own service (using our service extension mechanisms, https://opensource.hcltechsw.com/leap-doc/9.3.7/extending_toc.html) that Leap could call to retrieve this ID.
You could also try to manage this in a Leap app, but it can become complicated adding protections for concurrent requests and ensuring that each gets a unique ID.