Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:f:af:sub_document [2022/09/02 02:52] – removed - external edit (Unknown date) 127.0.0.1a_f:f:af:sub_document [2023/05/09 01:19] (current) sean
Line 1: Line 1:
 +{{tag>Index Function Function_List Reports_And_Documentation}}
 +====== SUB_DOCUMENT ====== 
 +===== Description =====  
 +Includes a subdocument inside a master document. The source of data for the sub-document is specified as the first parameter of the function. The sub-document will be included for each instance of the business object in the data source. 
 +
 +<callout type="primary" title="note" icon="true">This function can only be used inside tags in MS Word documents!</callout>
 +===== Parameters =====   
 +  - Identifier of the list or a string identifying the query (either Rule Language string or the name of the existing query). List members of business objects found by a query serve as the data source for the sub-document
 +  - Name of the document template identifying the sub-document.
 +===== Example =====  
 +<code aim><<SUB_DOCUMENT(Client.Children, 'ClientList')>> </code>