This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

M-Files Compliance Kit - Utilities - Sequence (Running No Restart after new year)

Hi all,

Let's say that we have this running no PW-2022(X).

X is the running no. I wanted to configure that whenever the year is changed, X will be restarted to 1.

Currently, I have another properties which is document date. Then, I create another property to capture the year from the document date properties and store it in PW Year property.

PW Properties Scripting:

Option Explicit
DIM dateValue
dateValue = PropertyValues.SearchForProperty(1024).TypedValue.DisplayValue
Output = Year(dateValue)

However, the sequencing properties only allow choose from list data type. I don't want the users to manually choose the year. Is there any workaround or anyone had encountered the same issue ?

Parents Reply Children
No Data