A new record object is created with the same id, version, recordTypes, fields and deleteFields. The response status is not copied into the new Record object.
Of the fields that are not of an immutable type, a deep copy is performed. This includes List, HierarchyPath, Blob and Record.
When checking if the record is nested in itself, it is also checked if the record is contained in the map of parentRecords @param parentRecords a stack of parent records of the record used to check if the record is nested in itself or one of its parents. @throws RecordException when the record is contained in the parentRecords map or if it is nested in itself.
|
|