Calling convention: GetParentName(ParentialLevel: Integer): String
Description: Returns an ancestor object name for the current object at the requested hierarchy level.
Parameters:
ParentialLevel: hierarchy level passed to the current object's parent lookup. Level 0 selects the root parent; level 1 selects the next level. The parameter name retains the registered spelling.
Returns: Ancestor object's database object name. For NULL, a missing current object or an unavailable ancestor, the current implementation leaves the result undefined.
Availability: Default; requires a current object.
Example:
RootObjectName := GetParentName(0);