Enumerator
A enumerator object is an object that, at a desired step in the flow design, is used to generate a number in a specific format. For project forms, it generates numbers in the specially formatted Form Id structure specified in the ID field in the Form Properties and holds the number it generates in another object in the flow.
When the object in the Flow design screen is clicked, the object properties appear in the Property Viewer panel.
When the enumerator object is clicked, there are "Appearance", "Properties" and "Events" tabs in the Property Viewer panel.
Appearance
Text Configs
'Object Name' - The name of the object to be used on the system side. On the code side, the object is accessed by the value that is written in the object name field.
'Caption' - The area where the object's title text is entered.
'Is Lock' - This field is activated if the object is not to be moved at the time of design.
'Size' - The part where the width and height of the object are adjusted.
Properties
Identity
'Format' - Pressing the three dots in the Format property will list all the forms defined in the system and the specific format id structures selected in these forms. If it is desired to produce numbers in the identity format of which form with the enumerator object, that format and form should be selected from here.
'Target' - In the Target section, the objects that have been added to the flow design are listed. Whichever stream object the generated number will be kept, from here that flow object will be selected.
Generally, generated numbers are kept on and acted upon on Variable objects in the flow.
After the stream passes through the Enumerator object, it generates a number in the defined format and assigns it to the selected target object. After assigning a value to the target object, the target object selected in the enumerator object in the Format/Object field must be selected as "Type:From Variable Object" on the Properties tab in the Document No Assignment** object.
INFO
It is checked by the system that the attached properties on the object are correct. When a missing feature is found, a red exclamation point icon can be displayed on the object, and hovering over the icon with the mouse pointer can display what is missing or incorrect.
Events
The events owned by the enumerator object are located in the "Events" tab in the Property Viewer panel. Each event is triggered at different runtime moments, performing its own unique operations. Code written by the developer to these events is also executed at the time the corresponding event is triggered. To write code for any event, double-click the appropriate event line from the Events tab. The screen is directed to the flow code editor section named "FlowName.cs" and the method block for the clicked event is automatically created. The developer can construct any code block he wants in this method. Next to the event whose method is created on the code side by clicking from the Events tab, the method name information is automatically generated and the relationship between the event and the method is specified.