createOccurrence method creates an occurrence.
occNr—sequential number of the occurrence you want to create. If occNr is less than zero, the new occurrence is appended to the set of occurrences. If occNr is less than or equal to the number of occurrences plus one, the new occurrence is inserted in the specified location, moving all higher numbered occurrences up by one.
createOccurrence method returns the
number of the new occurrence. The
throws a UnifaceException if the occurrence number is out of range
or zero (the Java call-in does not support the concept of current
The behavior of this method is equivalent to the creocc ProcScript statement.