Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
2500_config_apps:0700_add_edit_attributes:0300_number_attributes [2026/08/13 00:55] – ↷ Links adapted because of a move operation localdev2500_config_apps:0700_add_edit_attributes:0300_number_attributes [2026/08/13 07:20] (current) – external edit 127.0.0.1
Line 42: Line 42:
 This determines the value for the first instance of the object or the first instance of the “group” of instances. The default value is taken from the Value Range defined for the number (if undefined 1 is used). You can also specify an attribute that will hold the initial value. This determines the value for the first instance of the object or the first instance of the “group” of instances. The default value is taken from the Value Range defined for the number (if undefined 1 is used). You can also specify an attribute that will hold the initial value.
  
-<callout type="primary" icon="true" title="note"> //**AwareIM**// increments values of numbers that do not involve groups of instances BEFORE rules are evaluated for the object, so if rules use auto-incremented attributes, their values will already have been calculated. However, if auto-incremented attributes involve group instances their values are incremented AFTER rules are evaluated. If you have to use incremented values for such attributes in rules, set the auto-incremented values “manually” using the ''[[ref:a_f:f:af:next_sequence_nmb|NEXT_SEQUENCE_NMB]]'' function, for example:+<alert type="primary" icon="fa info-circle"
 +**note** 
 + 
 + //**AwareIM**// increments values of numbers that do not involve groups of instances BEFORE rules are evaluated for the object, so if rules use auto-incremented attributes, their values will already have been calculated. However, if auto-incremented attributes involve group instances their values are incremented AFTER rules are evaluated. If you have to use incremented values for such attributes in rules, set the auto-incremented values “manually” using the ''[[ref:a_f:f:af:next_sequence_nmb|NEXT_SEQUENCE_NMB]]'' function, for example:
 <code aim>IF Order.RefNo IS UNDEFINED THEN <code aim>IF Order.RefNo IS UNDEFINED THEN
   Order.AutoIncremented = NEXT_SEQUENCE_NMB('Order', 'AutoIncremented', Order.GroupValue)   Order.AutoIncremented = NEXT_SEQUENCE_NMB('Order', 'AutoIncremented', Order.GroupValue)
-  Order.RefNo = 'Order Prefix ' + OrderAutoincremented </code>.</callout>+  Order.RefNo = 'Order Prefix ' + OrderAutoincremented </code>.</alert>
  
 ===== Presentation Options ===== ===== Presentation Options =====