icSequence | input | character | database sequence name It is possible to provide extra sequences not known in the application database by extending the persistence layer class and adding a method named 'Current<icSequence>' which will be responsible for returning a unique value. |
run SqlGetSequence in {&TARGETPROCEDURE} (icSequence, 0, output viSeq, output viReturnStatus). if viReturnStatus <> 0 then return ?. return viSeq.