clear()
Removes all occurrences of the entity on the client.
EntityObject.clear();
Arguments
None
Description
Calling clear on an entity immediately removes all of its occurrences on the client, as well as all occurrences of the entities that they contain. They no longer participate in subsequent requests to the server.
After this function is called, the occurrences are no longer valid, so many of their functions will throw a uniface.InvalidDataObjectException.