Gets the documents for a source document in order that a user picks some of them and transfers the data from the picked documents ( further data sources ) into a target document. Differs from the function DEpickSrcD4D that more than one document can be picked.
Syntax
DEpickSrcC4D( D4Dname$, D4DtrgCond$, D4DsrcDoc, showEmpty, prompt$, D2Dname$, D2Dprocess%, D2DtrgDoc )
Arguments
D4Dname$ - string, input. The name of a DocExt\DocForDoc config's item by which the documents for picking should be got. Next a user picks some of them as data sources. Read more about this name in the help topic - DocExt\DocForDoc config. To use several configs items at the same time you should type their names in the string through a space.
D4DtrgCond$ - string, input. An additional condition in Formula Language to select documents from got ones using the DocExt\DocForDoc config's item.
D4DsrcDoc - NotesDocument, input. A source document which the picking documents should be got for.
showEmpty - boolean, input. The value True (-1) means that the view with no choices will be displayed even if the documents for picking have not been got.
prompt$ - string, input. A text which should be displayed at the documents picking. For example - describe why the picking is being done.
D2Dname$ - string, input. The name of a DocToDoc config by which the data from the picked documents should be transferred into a target document. To use several configs at the same time you should type their names in the string through a space.
D2Dprocess% - integer, input. The number of a transfer process: 1 - adding data, 3 - erasing data. Other values are also provided. Read more about this number in the help topic - Function DEprD2D.
D2DtrgDoc - NotesDocument, modified. The target document which the data from the picked documents should be transferred into. The function can change the document but doesn't save it.
Return
Boolean. The value True (-1) means that the documents were picked by a user and some data from them have been transferred into the target document and False (0) that at least one of this hasn't occurred.
Configs used
DocExt\DocForDoc, DocToDoc.
Topic links:
See also: