Has anyone created a custom field which generated an automated number (sequential)? Wondering on best approaches before I start? Would you create a stored procedure or write pl/sql block within IFS?
Solved
Create Sequence Custom Field
Best answer by RutJWhalen
To create a number counter:
- Open the Document Basic window and click the Number Counter tab.
- Click New.
- Enter a value in the ID1 field. This might be the name of a specific project or a specific type of drawings.
- Enter a value in the ID2 field. If you plan to use only one number counter for the project or drawing type, enter a hyphen (-) as the value. If you plan to have subprojects or something similar, you might want to use this ID2 field to reflect this. If you do not know what to enter, enter a hyphen (-).
- Enter a starting value in the Start Value field. This number should be 1 or higher
- Enter a value for the Length Shown field. The value 0 (zero) means that the number will use as much space as it needs. Using a value larger than this will cause the system to prefix the number with zeros if the number has less characters than the value you enter here.
- Optionally, enter a prefix to be added before the generated numbers.
- Optionally, enter a suffix to be added after the number.
- Enter a description in the Description field.
- Click Save.
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.