yuuvis® RAD Q&A

0 votes
by (480 points)

We have the requirement to create a certain number when a field has a specific value. At the moment the counter only works when you save the object and open it again. Is there a solution for this problem?

4 Answers

+1 vote
by (5.4k points)
selected by
 
Best answer

Have you tried to use the default values for the counter?

Field type has to be Integer(long) and the default value for the field is taken from a counter:

In that case, the value is pre-filled in the client:

0 votes
by (19.2k points)

Please, can you explain your requirement ab bit more concret (little workflow)?

0 votes
by (760 points)
edited by

To make it more clear:

We use a counter field for generating a syntax for a file number. The counter is not activated (field is empty) on creating the object. After filing the object, the counter field is filled.

So in our case, in the generated file number the counter part is missing. The workaround is to open this object, change some index data and save it again. Thats not a useful workaround.

By the way: this "counter" field type is not worth its name :-)
Is there a plan to implement a counter like the one in enaio blue? (with syntax definition)

0 votes
by (19.2k points)

You can handle the counter with more such functionality in the way Bratislav has explained below. In this case you can format with the support of Java, see link in the documentation.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Oct 7, 2019 by gbalatckii (1.2k points)
...