@@ -322,12 +322,24 @@ Select an existing sequence or, to create a new sequence:
322322
323323#. Click :guilabel: `Search more `, then click :guilabel: `New `.
324324#. In the window that opens, enter the :guilabel: `Name ` of the sequence.
325- #. Configure the sequence, adding a :guilabel: `Prefix ` and/or :guilabel: `Suffix ` as desired.
325+ #. In the :guilabel: `Sequence ` tab, configure the sequence:
326+
327+ - :guilabel: `Prefix `: characters added *before * the next number in the sequence.
328+ - :guilabel: `Suffix `: characters added *after * the next number in the sequence.
329+ - :guilabel: `Sequence Size `: determines the number of digits in every number in the sequence. If
330+ needed, leading zeros are added before the number to achieve the indicated sequence size, e.g.,
331+ for a sequence size of `5 `, the first number in the sequence is `00001 `.
332+ - :guilabel: `Step `: determines the increments between the numbers in the sequence.
333+ - :guilabel: `Next Number `: the next number that will be used in the sequence, without leading
334+ zeros.
326335
327336 .. tip ::
328- Use dynamic placeholders like :guilabel: `Current Year with Century: %(year)s ` in the
329- :guilabel: `Prefix ` and/or :guilabel: `Suffix ` to create sequences with elements like current
330- year, month, etc. Possible placeholders are shows at the bottom of the window.
337+ - Use dynamic placeholders like `%(year)s ` or `%(month)s ` as a :guilabel: `Prefix ` and/or
338+ :guilabel: `Suffix ` to create sequences with elements like current year, month, etc. Possible
339+ placeholders are shown at the bottom of the window.
340+ - To use sub-sequences, e.g., to have the sequence restart each year or each month, enable
341+ :guilabel: `Use subsequences per date_range `, then :guilabel: `Add a line ` for each date
342+ range and indicate the :guilabel: `Next Number ` for the range.
331343
332344#. Click :guilabel: `Save `.
333345
@@ -336,7 +348,9 @@ Select an existing sequence or, to create a new sequence:
336348 customer is created, set the :guilabel: `Sequence ` field to :guilabel: `Reference `, then, in the
337349 dropdown, click :guilabel: `Search more `. Click :guilabel: `New ` to create a new sequence.
338350
339- In the example, each new customer receives a sequential reference with the prefix `
351+ In the example, each new customer receives a sequential reference with the prefix
352+ `#-REF-%(year)s- `, where `%(year)s ` is the current year including the century, and the suffix
353+ `/CL `, e.g., `#-REF-2025-00001/CL `, `#-REF-2025-00002/CL `, etc.
340354
341355 .. image :: automated_actions/update-record-sequence.png
342356 :alt: Example of an Update Record action using a sequence
0 commit comments