Unique case number at case registration

We are using batch id’s for registering cases. Lets say for example a batch
id is 15003. When registering a new batch, a new batch id should be given;
15004. Is it possible to validate this? So you can assure that a new unique
number is used? Than you need to have the information of the previous
registered case.

Or is this only possible when you are already within a case? (and you can
safe the data to the case itself)

Hello Annegreet,

It is possible to make this happen using the User Case feature that you can
read about here
https://confluence.dimagi.com/display/commcarepublic/User+Case. Note that
the running counter would be unique per user only.

Hope this helps,
Kriti

··· On Thu, Oct 8, 2015 at 7:06 PM, Annegreet Ottow-Boekeloo < annegreetboekeloo@gmail.com> wrote:

We are using batch id’s for registering cases. Lets say for example a
batch id is 15003. When registering a new batch, a new batch id should be
given; 15004. Is it possible to validate this? So you can assure that a new
unique number is used? Than you need to have the information of the
previous registered case.

Or is this only possible when you are already within a case? (and you can
safe the data to the case itself)


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks a lot! Another reason to upgrade soon :wink:

··· Op do 8 okt. 2015 om 17:17 schreef Kriti Mehrotra :

Hello Annegreet,

It is possible to make this happen using the User Case feature that you
can read about here
https://confluence.dimagi.com/display/commcarepublic/User+Case. Note
that the running counter would be unique per user only.

Hope this helps,
Kriti

On Thu, Oct 8, 2015 at 7:06 PM, Annegreet Ottow-Boekeloo < annegreetboekeloo@gmail.com> wrote:

We are using batch id's for registering cases. Lets say for example a
batch id is 15003. When registering a new batch, a new batch id should be
given; 15004. Is it possible to validate this? So you can assure that a new
unique number is used? Than you need to have the information of the
previous registered case.

Or is this only possible when you are already within a case? (and you can
safe the data to the case itself)

--

You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "commcare-users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/commcare-users/gnnv1DYxHdE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.