Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:f:af:next_sequence_nmb [2022/09/02 02:52] – removed - external edit (Unknown date) 127.0.0.1a_f:f:af:next_sequence_nmb [2023/07/28 04:25] (current) – [Example] sean
Line 1: Line 1:
 +{{tag>Index Function Function_List Miscellaneous Version:v8.4}}
 +====== NEXT_SEQUENCE_NMB ====== 
 +===== Description =====  
 +Returns next value of the specified auto-incremented attrubute
 +===== Parameters =====   
 +  - Name of the business object that owns the auto-incremented attribute
 +  - Name of the auto-incremented attribute
 +  - Optional expression that calculates the value identifying group of instances as specified in the auto-incremented attribute
 +  - Optional expression that calculates the starting value of the sequence as specified in the auto-incremented attribute
 +===== Example =====  
 +<code aim>IF Object.AutoIncAttr IS UNDEFINED THEN Object.AutoIncAttr = NEXT_SEQUENCE_NMB('Object', 'AutoIncAttr', Object.GroupValue) </code>