<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_reports" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To create reports</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>report</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>Report Editor</Level2>
		</Keyword>
	</Header>
	<Important><SectionTitle>
                                 Important!
                              </SectionTitle>
		<Paragraph class="Default">The sections below describe the sessions that you must use to complete the procedure. However, they do not describe all details of these sessions. For detailed session information, refer to the Infor Web Help.</Paragraph>
	</Important>
	<GeneralSection><SectionTitle>Procedure aim</SectionTitle>
		<Paragraph class="Default">The aim of this procedure is to create reports for your ERP LN application. Reports are used to print data to the screen, to a printer or to another output device.</Paragraph>
	</GeneralSection>
	<GeneralSection><SectionTitle>Procedure result and prerequisites</SectionTitle>
		<Tip><SectionTitle>Result</SectionTitle>
			<Paragraph class="Default">Reports to print data from your ERP LN application.</Paragraph>
		</Tip>
		<Tip><SectionTitle>Prerequisites</SectionTitle>
			<List><ListIntro>To create reports you need:</ListIntro>
				<ListItem>A development package VRC in which you can create the reports.</ListItem>
				<ListItem>Developer authorization for the development VRC.</ListItem>
			</List>
		</Tip>
	</GeneralSection>
	<GeneralSection><SectionTitle>Procedure summary</SectionTitle>
		<Figure space-and-orientation="indented-estimated"><FigIntro>The following figure shows the procedure steps and the corresponding sessions or programs:</FigIntro>
			<HTML:IMG height="595" width="688" SRC="../images/tr_graph_to_create_reports1.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="tr_graph_to_create_reports1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/tr_graph_to_create_reports1.gif" ID="IDAS50AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>To create reports - procedure flow</FigCaption>
		</Figure>
		<Paragraph class="Default">While not part of the flow, you may also have to edit the program script to complete your report.</Paragraph>
	</GeneralSection>
	<ProcedureSection><SectionTitle>Procedure details</SectionTitle>
		<Steps><Step><StepTitle>Create a report or create a session</StepTitle>
				<Paragraph class="Default">You can create a new report for an existing print session, or create a new print session with a corresponding report.</Paragraph>
				<ProcedureList><ListIntro>To create a report:</ListIntro>
					<ListItem>Start the <GUIRef href="" role="session">Reports (ttadv3530m000)</GUIRef> session.</ListItem>
					<ListItem>Click <GUIRef href="" role="manual">New</GUIRef>.</ListItem>
					<ListItem>You will be asked if you want to start the report generator. Click <GUIRef href="" role="manual">Yes</GUIRef> to start the generator. <List><ListItem>Note: If you click <GUIRef href="" role="manual">No</GUIRef>, you must create the report manually. In that case, skip the "Generate report" step in this procedure and proceed with the "Edit report" step.</ListItem>
						</List>
					</ListItem>
				</ProcedureList>
				<Paragraph class="Default">Alternatively, you can also create a report by duplicating an existing report.</Paragraph>
				<ProcedureList><ListIntro>To create a new print session:</ListIntro>
					<ListItem>Start the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session.</ListItem>
					<ListItem>Click <GUIRef href="" role="manual">New</GUIRef>. The <GUIRef href="" role="session">Sessions (ttadv2100s000)</GUIRef> details session starts.</ListItem>
					<ListItem>Enter the new session. A print session should have at least these attributes: <List><ListItem>Session Type: Print</ListItem>
							<ListItem>Default Button Command Type: Standard Command</ListItem>
							<ListItem>Default Button: Print.data</ListItem>
						</List>
					</ListItem>
					<ListItem>Save the new session. Do not close the <GUIRef href="" role="session">Sessions (ttadv2100s000)</GUIRef> details session.</ListItem>
					<ListItem>Click <GUIRef href="" role="command">Report Generator</GUIRef> to start the generator.</ListItem>
				</ProcedureList>
			</Step>
			<Step><StepTitle>Generate report</StepTitle>
				<Paragraph class="Default">You can generate a (basic) report. Subsequently, you can edit the generated report until the report matches your requirements.</Paragraph>
				<ProcedureList><ListIntro>To generate a report:</ListIntro>
					<ListItem>Start the report generator. You can start the report generator from the <GUIRef href="" role="session">Reports (ttadv3530m000)</GUIRef> session and from the <GUIRef href="" role="session">Sessions (ttadv2100s000)</GUIRef> session. See the previous step in this procedure.</ListItem>
					<ListItem>Edit the report generator options: You must specify the main table and the fields for the report, and various other attributes, such as the report code, the report size, and the report type. For details refer to the online help of the <GUIRef href="" role="session">Report Generator (ttadv3130s100)</GUIRef> session. <List><ListItem>Note: to select fields, you must click <GUIRef href="" role="command">Select Fields</GUIRef>. The <GUIRef href="" role="session">Select Report Fields (ttadv3130s200)</GUIRef> session starts. Select the fields you wish to output in the report, and click <GUIRef href="" role="manual">Save and Close</GUIRef> to return to the report generator.</ListItem>
						</List>
					</ListItem>
					<ListItem>Click <GUIRef href="" role="command">Generate</GUIRef>. The report is compiled automatically.</ListItem>
				</ProcedureList>
			</Step>
			<Step><StepTitle>Edit report</StepTitle>
				<Paragraph class="Default">You can now edit the report until it matches your requirements. You can, among other things, add new layouts to the report, edit the layouts in the report editor, change the sorting and/or grouping of records, and create a report script.</Paragraph>
				<Paragraph class="Default">For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_edit_reports" role="manual">To edit reports</Link>.</Paragraph>
			</Step>
			<Step><StepTitle>Compile</StepTitle>
				<Paragraph class="Default">Click <GUIRef href="" role="command">Compile</GUIRef> in the <GUIRef href="" role="session">Reports (ttadv3530m000)</GUIRef> session. A Compilation result window opens with the result of the compilation.</Paragraph>
			</Step>
			<Step><StepTitle>Link report to session or create and edit form</StepTitle>
				<Paragraph class="Default">When you create a new report for an existing print session, you must link the report to that session.</Paragraph>
				<ProcedureList><ListIntro>To link a report to an existing session:</ListIntro>
					<ListItem>In the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session, select the session you wish to link the report to.</ListItem>
					<ListItem>On the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="" role="command">Reports...</GUIRef>. The <GUIRef href="" role="session">Reports (ttadv3530m000)</GUIRef> session starts.</ListItem>
					<ListItem>On the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="" role="command">Link Report to Session</GUIRef>. The <GUIRef href="" role="session">Add Report to Session (ttadv2112s000)</GUIRef> session starts.</ListItem>
					<ListItem>Specify the <GUIRef href="" role="manual">Report Group</GUIRef>, the <GUIRef href="" role="manual">Serial Number</GUIRef>, and the report code you wish to link to the session. For details, refer to the Infor Web Help.</ListItem>
					<ListItem>Click <GUIRef href="" role="manual">OK</GUIRef>. The report is now displayed in the reports list for the session.</ListItem>
					<ListItem>Exit the Reports session.</ListItem>
					<ListItem>In the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session, click <GUIRef href="" role="command">Compile</GUIRef>. This action converts the new session structure to the runtime dictionary.</ListItem>
				</ProcedureList>
				<Paragraph class="Default">When you create a new report as part of a new print session, the report is automatically linked to the new session. Before you can print the new report, you must create a form for the new print session. For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_a_form_for_a_print_session" role="manual">To create a form for a print session</Link>.</Paragraph>
			</Step>
		</Steps>
	</ProcedureSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/reports" role="manual">Reports</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_edit_reports" role="manual">To edit reports</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_sessions" role="manual">To create sessions</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
