HELP!!! I have a company (parent) who has a child (doc a) who has inherited fields from another doc (doc b). I need to get the docID of doc b into doc a. HOW DO i DO THIS??? I tried to add another field with value of doc b’s UNID. Works only if I CREATE a new one…not if I refresh. I really need to get this to work. I have around 700 (doc a) that need to retrieve doc b’s UNID.
If they are responses, they already have the value stored in a system field named $Ref. Note that the value is stored as a document reference object, so to get the text UNID, you need to use @Text($Ref).
There is no good way. If the values in NEITHER document have changed, you could do a search to find the document that matches – but that assumes that the combination of values is unique (or at least that a single identifying value is unique). If the values in either document have changed, there will be no way to determine the original.
I know about $Ref…but let me see if I can explain further the dilemma…
company
doc a
doc b
doc a’s parent ($REF) is company; doc b’s parent ($REF) is company; doc a has inherited fields from doc b. how do I get the doc b’s UNID? (doc a is not a response to doc b). If I use $REf I will get the parent doc…I want the UNID of the doc whose fields were inherited. Does that make sense?