The unique ID of the current document's inheritance parent. See @DocumentUniqueID for a description of unique IDs.
@InheritedDocumentUniqueID
This function works in a document being created with a form with field values inherited from the selected document. This function only works in the Notes® client.
In documents that do not inherit, @InheritedDocumentUniqueID returns the same value as @DocumentUniqueID.
@InheritedDocumentUniqueID
The next time you access this response document, the field still contains a doclink to the parent document.
@GetDocField(@InheritedDocumentUniqueID;"userName")
id := @Text($REF);
@Prompt([OK];"Parent field value";@GetDocField(id;"userName"))
ParentDocumentUNID property of LotusScript® NotesDocument class
ParentDocumentUNID property of Java™ Document class