Get the only target document for a source document.
Syntax
DEgetD4D( D4Dname$, trgCond$, srcDoc, silent, trgDoc )
Arguments
D4Dname$ - string, input. The name of a DocForDoc config's item which the only target document should be got by. Read more about the name in the help topic - DocExt\DocForDoc config.
trgCond$ - string, input. An additional condition in Formula Language to select the only target document from got ones by the DocForDoc config's item.
srcDoc - NotesDocument, input. A source document which the only target document should be got for.
silent - boolean, input. The value True (-1) means that if exactly one target document hasn't been got, no message box about this will be displayed.
trgDoc - NotesDocument, output. The only target document that should be got.
Return
Boolean. The result True (-1) means that exactly one target document has been got and False (0) if no one or more than one.
Configs used
DocExt\DocForDoc.
Topic links:
See also: