<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/adv/ttadv2450m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Script Technical Data (ttadv2450m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to print technical data of program scripts or libraries and their associated scripts such as includes and libraries.</Paragraph>
		</AimSection>
		<GeneralSection><List><ListIntro>The report that is offered after running this session gives you a deeper understanding of the usage in the selected program scripts or libraries of:</ListIntro>
				<ListItem>Includes</ListItem>
				<ListItem>Libraries</ListItem>
				<ListItem>Tables</ListItem>
				<ListItem>Defines</ListItem>
				<ListItem>Variables</ListItem>
				<ListItem>Functions</ListItem>
			</List>
			<Paragraph class="Default">You can also print the scripts and libraries themselves that are selected in the given range on the From/To Prog.scr/Libr fields.</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000017" role="manual">To print a document or a report</Link>
			</RelTopic>
			<RelTopic><Link href="/baanerp/basictasks/000006" role="manual">To use From and To fields</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="cpac"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Package</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000008" role="glossary">package</Link> for which you want to print the technical script data.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="vers"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000009" role="glossary">version</Link> of the specified package.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="rele"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000010" role="glossary">release</Link> of the specified package.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="cust"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">VRC</Title>
			</Header>
			<FuncDesc>The <Link href="/baanerp/tt/glossary/glossary#000000000000011" role="glossary">customization</Link> code of the specified package.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="inc.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Includes</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints a list of includes used by the selected program scripts or libraries.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ftree.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Function Tree</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, a function tree of the source is printed.</FuncDesc>
			<SimpleSection><Paragraph class="Default">The function tree indicates which function are used in which event (section). The event used in the script has level 0. Every function call in this event gets level 1. If a function is called in a function the level will be 2 and so on.</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<Paragraph class="Default">The report can give you the following result:</Paragraph>
				<Paragraph class="Default">Function Call Tree</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Level</TD>
							<TD rowspan="1" colspan="1">Script</TD>
							<TD rowspan="1" colspan="1">Function</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">0</TD>
							<TD rowspan="1" colspan="1">pttadv3180</TD>
							<TD rowspan="1" colspan="1">choice.mark.delete: before.choice:</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">1</TD>
							<TD rowspan="1" colspan="1">pttadv3180</TD>
							<TD rowspan="1" colspan="1">set.lock.on.query</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">1</TD>
							<TD rowspan="1" colspan="1">pttadv3180</TD>
							<TD rowspan="1" colspan="1">delete.lock.on.query</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">0</TD>
							<TD rowspan="1" colspan="1">pttadv3180</TD>
							<TD rowspan="1" colspan="1">choice.modify.set: before.choice:</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">1</TD>
							<TD rowspan="1" colspan="1">pttadv3180</TD>
							<TD rowspan="1" colspan="1">set.lock.on.query</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">If you selected the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field, you can specify to continue to print the function tree of includes by also selecting the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incc.yn" role="manual">Continue in Include</GUIRef> field.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="lib.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Libraries</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints a list of libraries that are used by the selected program scripts or libraries.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="incc.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Continue in Include</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints a function tree for the selected program scripts or libraries for all the included files.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">This field can only be selected if the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field has been selected.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="rapf.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Repeat Printed Func's</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the function tree is printed several times.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<List><ListItem>If you select this field for a big program script, it can take a long time. In that case, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> recommends you not to select this field.</ListItem>
					<ListItem>A function can occur more than once in a script. Mostly the call of the function is in a different event (section). The function tree is the same.</ListItem>
				</List>
			</Note>
		</FieldHelp>
		<FieldHelp ID="tbl.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Table Usage</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints a list of table usage that are used by the selected program scripts or libraries.</FuncDesc>
			<SimpleSection><Paragraph class="Default">If this field is selected and the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#tbs.yn" role="manual">Table Usage by Source</GUIRef> field is not selected for each table, the resulting table usage is printed for the whole object (included the includes). There is no specification given per program script and per include.</Paragraph>
				<Paragraph class="Default">To specify the table usage per script or include, you must also select the d@ttadv2450m0001tbs.yn field.</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<Paragraph class="Default">If you select this field and the Print Table Usage by Source field is not selected, the report can contain:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD colspan="4" rowspan="1">Tables</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Table</TD>
							<TD rowspan="1" colspan="1">Table Description</TD>
							<TD rowspan="1" colspan="1">Script</TD>
							<TD rowspan="1" colspan="1">Table Usage</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">ttadv111</TD>
							<TD rowspan="1" colspan="1">Package VRC's</TD>
							<TD rowspan="1" colspan="1">Resulting object</TD>
							<TD rowspan="1" colspan="1">Read/Insert/Modify/Delete</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">If you also select the Print Table Usage by Source field To, the result will be:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD colspan="4" rowspan="1">Tables</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Table</TD>
							<TD rowspan="1" colspan="1">Table Description</TD>
							<TD rowspan="1" colspan="1">Script</TD>
							<TD rowspan="1" colspan="1">Table Usage</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">ttadv111</TD>
							<TD rowspan="1" colspan="1">Package VRC's</TD>
							<TD rowspan="1" colspan="1">ittadv0007</TD>
							<TD rowspan="1" colspan="1">Read</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1"></TD>
							<TD rowspan="1" colspan="1"></TD>
							<TD rowspan="1" colspan="1">ittadv0037</TD>
							<TD rowspan="1" colspan="1">Read</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1"></TD>
							<TD rowspan="1" colspan="1"></TD>
							<TD rowspan="1" colspan="1">ittadv3180</TD>
							<TD rowspan="1" colspan="1">Read/Insert/Modify/Delete</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">In the last example, the table usage is specified per script.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tbs.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Table Usage by Source</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints the table usage per script or include instead of the whole object.</FuncDesc>
			<SimpleSection></SimpleSection>
		</FieldHelp>
		<FieldHelp ID="src.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Source</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints the selected program scripts or libraries.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="def.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Defines</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the report gives you an overview of the macros that are used in the selected program scripts or libraries.</FuncDesc>
			<SimpleSection><Paragraph class="Default">If you also select the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field, the report also gives you information about the scripts in which the macro is defined and the scripts in which the macro is called. In both situations the line numbers are given.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="flino.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Func. Line No's.</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the line number of the function declaration is placed in the script after the function call.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You must have selected <GUIRef href="/baanerp/tt/adv/ttadv2450m000#src.yn" role="manual">Print Source</GUIRef> field.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="gvars.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Global Variables</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints the global variables of the selected script.</FuncDesc>
			<SimpleSection><List><ListIntro>You get the following information about the variables:</ListIntro>
					<ListItem>Type</ListItem>
					<ListItem>Name</ListItem>
					<ListItem>Comment (if any)</ListItem>
					<ListItem>Script name in which the variable is declared with the corresponding line number(s)</ListItem>
					<ListItem>Script name in which the variable is called with the corresponding line number(s)</ListItem>
				</List>
				<Paragraph class="Default">If you select the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> also prints the global variables of the include files used by the selected program scripts or libraries.</Paragraph>
			</SimpleSection>
			<SimpleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<Paragraph class="Default">If you do not select the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field, the report can be give the following list:</Paragraph>
				<Formula space-and-orientation="indented-estimated"><Paragraph class="Default"> Global Variables
				Type Name Comment Declaration in Call from Script Line Script Line long
				currency.changed pttaad1100 24 pttaad1100 77,111 long zoomparm pttaad1100 21
				pttaad1100 72 </Paragraph>
				</Formula>
				<Paragraph class="Default">If the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field is selected, the result can be:</Paragraph>
				<Formula space-and-orientation="indented-estimated"><Paragraph class="Default"> Global Variables
				Type Name Comment Declaration in Call from Script Line Script Line long
				currency.changed pttaad1100 24 pttaad1100 77,111 long zoomparm pttaad1100 21
				pttaad1100 72 long iadv0001.compnr ittadv0001 7 ittadv0001 13,24 string
				ttseq.last.mess ittadv0026 5 ittadv0026 45 </Paragraph>
				</Formula>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="tab.len"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Indentation Tab Length</Title>
			</Header>
			<FuncDesc>The length of a TAB in characters that is used in the report.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="func.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Function Data</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints a list of functions that are used in the selected program scripts or libraries.</FuncDesc>
			<SimpleSection><List><ListIntro>The report gives you the following information about functions:</ListIntro>
					<ListItem>Return Type</ListItem>
					<ListItem>Name</ListItem>
					<ListItem>Arguments</ListItem>
					<ListItem>Script in which the function is declared with line number</ListItem>
					<ListItem>Script in which the function is called with line number</ListItem>
				</List>
				<Paragraph class="Default">If the <GUIRef href="/baanerp/tt/adv/ttadv2450m000#incp.yn" role="manual">Also Parse in Includes</GUIRef> field is selected, the list also contains functions used in the include files of the selected program scripts or libraries.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="incp.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Also Parse in Includes</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> must print defines, global variables or function data for each include file used in the selected program script or library.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="techd.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Techn. Docu.</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints the technical documentation used by the selected program scripts or libraries.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="incd.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Include Tech.Doc</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> also prints the include technical documentation for the selected range.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="libd.yn"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Print Library Tech.Doc</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prints the library technical documentation for the selected range.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="script.c"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Pr/Libr</Title>
			</Header>
			<FuncDesc>The program script or library.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="script.lineno"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Line</Title>
			</Header>
			<FuncDesc>The number of lines of the program script which have been processed.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
