Auto number field automatically generates a values based on given Witly script. Witly will evaluate script and assign a value to the auto number field when the record is created. If you add the auto number field to a module which its records have already been added, the existing records will not have a value assigned.
To create the auto number field:
- On the module detail screen, click Create Field.
- Name your field.
- Select Data Type as AutoNumber, the Data Format will be displayed.
- Specify Data Format: Enter ${yy:Date.Now}${RunningNo.Year.Next}. The system will automatically create the number by counting the existing records.
- Select field attribute.
- Click Save to create the auto number field.
Note: Field type auto number will be automatically set to read only.
Last modified on Sep 19, 2018