OpenESignForms / openesignforms

Open eSignForms is the first open source SaaS web contracting platform
https://open.esignforms.com
107 stars 50 forks source link

Sequential number generator #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is an enhancement request to allow users to assign a sequential number to 
a field in a document.

Common uses for such a number are to create/assign document ids, PO numbers, 
invoice numbers, etc.

Original issue reported on code.google.com by yoz...@gmail.com on 2 Aug 2011 at 7:23

GoogleCodeExporter commented 9 years ago
Added in 12.7.7 release.

Basically, like other library components, you create a serial generator with a 
name, like CustomerNumberGenerator, give it the first values to use (it can 
start with 0, or you can start with any other number). Then, when you need to 
set a serial number to a field, you use the notation 
${serial:CustomerNumberGenerator} and the next serial number will be replaced.  
Because it's a library component, you can override it via branding library if 
desired, too, so each "entity" can have its own set of numbers.

Original comment by yoz...@gmail.com on 7 Jun 2012 at 11:29