remove()
Deletes the uniface.Occurrence object.
OccurrenceObject.remove(
{recurse})
Arguments
recurse—recursively removes all occurrences of child entities, if there are any; optional.
Description
If the remove() was called on a database occurrence, the occurrence is marked for deletion. It is actually deleted only when a reconnect and then a store command is executed on the server.
Non-database occurrences are deleted immediately on the client.
After this function is called, this Occurrence is
no longer valid, so many of its functions will throw an uniface.InvalidDataObjectException
.