Configure The Minimum Length Property
Overview
The Minimum length of Number
property instructs the Numbering API to prefix the generated number with zeros based on the value provided. Example: If the would-be generated number is 5
and the minimum length value is 3
, the generated number would be 005
. If the would-be generated number is 10
and the minimum length value is 3
, the generated number would be 010
.
Below is a tutorial on how to configure this:
- In the Agilit-e Admin Portal, in the Numbering module's section, open the
Leave Numbering
profile.
- Click on the Actions menu icon Numbering profile's title bar.
-
Click on the Reset Numbering Counters menu item.
-
Edit the Minimum Length property, set the value to "3"
-
Click on
Submit
to save the Numbering Profile. -
Navigate to the Agilit-e API Reference Docs and execute the Numbering API
The Response Data will contain a newly generated number with a prefix and suffix, starting at 5 with the minimum length of 3.
Response:
LEAVE-005-2018
Updated over 5 years ago