Table of Contents

, , , ,

NEXT_SEQUENCE_NMB

Description

Returns next value of the specified auto-incremented attrubute

Parameters

  1. Name of the business object that owns the auto-incremented attribute
  2. Name of the auto-incremented attribute
  3. Optional expression that calculates the value identifying group of instances as specified in the auto-incremented attribute
  4. Optional expression that calculates the starting value of the sequence as specified in the auto-incremented attribute

Example

IF Object.AutoIncAttr IS UNDEFINED THEN Object.AutoIncAttr = NEXT_SEQUENCE_NMB('Object', 'AutoIncAttr', Object.GroupValue)