Gets documents ( further data sources ) for a source document and transfers data from them into a target document. Combines the consequent calls of two functions - DEgetC4D and DEprD2D.

Syntax

DEgetSrcC4D( D4Dname$, D4DtrgCond$, D4DsrcDoc D4Dsilent, D2Dnames$, D2Dprocess%, D2DtrgDoc )

Arguments

D4Dname$ - string, input. The name of DocForDoc config's item which the documents should be got by. Read more about this name 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 the documents got by the DocForDoc config's item.

D4DsrcDoc - NotesDocument, input. A source document which the data sources should be got for.

D4Dsilent - boolean, input. The value is True (-1) means that if the data sources have not been got, no message box about this will be displayed.

D2Dname$ - string, input. The name of DocToDoc config by which the data from the got data sources 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 - to add data, 3 - to erase data. Read more about this number in the help topic - Function DEprD2D.

D2DtrgDoc - NotesDocument, modified. The target document which the data from the got data sources should be transferred into. The function can change the document but doesn't save it.

Return

Boolean. The result True (1) means that the data sources were got and some their data 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:

DocExt\DocForDoc config

DocToDoc config

Function DEprD2D

Function DEgetC4D

See also:

Functions of the library DocExtLib