How to generate unique Number for documents?

Hi,
How to get unique number for every document in the batch?
Example:-
Batch1:
Document1: 001
Document2: 002
Document3: 003
Batch2:
Document1: 004
Document2: 005
Document3: 006
Thanks & Regards,
Saisreenadh
How to get unique number for every document in the batch?
Example:-
Batch1:
Document1: 001
Document2: 002
Document3: 003
Batch2:
Document1: 004
Document2: 005
Document3: 006
Thanks & Regards,
Saisreenadh
0
Answers
Director of Strategy
[email protected]
You could create a Data Field in your Data Model and use the "Default Value Expression" property to create a simple expression returning the document folder's GUID. That expression is as follows:
Folder.Id
You could also generate a new random GUID using the following Default Value Expression:
Guid.NewGuid
Thanks you. But, we want unique sequence number not GUID. Is there any possibility to use SQL sequence or stored procedure to get sequence number in Grooper.
Thanks & Regards,
Saisreenadh
Director of Strategy
[email protected]