Calling convention: GetObjectParentName(["ObjectName": String]): String
Description: Returns the parent object's name for the current object or for an explicitly named object.
Parameters:
ObjectName: optional object name. When omitted, the current object is used.
Returns: Parent object name, or NULL when the object is missing, has no parent, or the argument is NULL or empty.
Availability: Default.
Example:
ParentName := GetObjectParentName("ProductionLine1");