<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_sessions" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To create sessions</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>session</Level2>
		</Keyword>
	</Header>
	<AimSection><Paragraph class="Default">This topic describes the procedure to create sessions.</Paragraph>
	</AimSection>
	<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 sessions for your ERP LN application. Sessions are the main applications that a user will use. Sessions are used to present data, edit data and process data.</Paragraph>
		<Paragraph class="Default">Session development involves defining the attributes of a session, editing the form layout, and specifying the specific commands and indices.</Paragraph>
		<Important><SectionTitle>
                                    Important!
                                 </SectionTitle>
			<Paragraph class="Default">You will add the user interface logic and processing logic in later steps.</Paragraph>
		</Important>
	</GeneralSection>
	<GeneralSection><SectionTitle>Procedure result and prerequisites</SectionTitle>
		<Tip><SectionTitle>Result</SectionTitle>
			<Paragraph class="Default">Sessions that perform activities in your ERP LN application.</Paragraph>
		</Tip>
		<Tip><SectionTitle>Prerequisites</SectionTitle>
			<List><ListIntro>To create sessions you need:</ListIntro>
				<ListItem>A development package VRC in which you can create the sessions.</ListItem>
				<ListItem>Developer authorization for the development VRC.</ListItem>
				<ListItem>A data model with tables on which the sessions will operate.</ListItem>
				<ListItem>The Dynamic Form Editor ( DFE ) must be installed on your PC.</ListItem>
			</List>
		</Tip>
	</GeneralSection>
	<GeneralSection><SectionTitle>Procedure summary</SectionTitle>
		<ProcedureList><ListIntro>The following list shows the procedure steps and the corresponding sessions or programs:</ListIntro>
			<ListItem>Add a session - <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef>
			</ListItem>
			<ListItem>Create and edit the form - <GUIRef href="" role="manual"> Dynamic Form Editor ( DFE )</GUIRef>
			</ListItem>
			<ListItem>Specify session specific commands and buttons - <GUIRef href="" role="session">Form Commands (ttadv3518m000)</GUIRef>/ <GUIRef href="" role="session">Standard Commands (ttadv3110s000)</GUIRef>/ <GUIRef href="" role="manual"> Dynamic Form Editor ( DFE )</GUIRef>
			</ListItem>
			<ListItem>Specify indices - <GUIRef href="" role="session">Available Indices by Session (ttadv2101s000)</GUIRef>
			</ListItem>
			<ListItem>Add the user interface logic and processing logic. You can define this logic in the session's UI script, in functions, DLLs and DALs.</ListItem>
		</ProcedureList>
	</GeneralSection>
	<ProcedureSection><SectionTitle>Procedure details</SectionTitle>
		<Steps><Step><StepTitle>Add a session</StepTitle>
				<ProcedureList><ListIntro>To create a session you must add a session code in your development package VRC:</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>In the <GUIRef href="" role="groupbox">Attributes</GUIRef> tab, specify the session attributes, for example: the session code, the session description and the session type. For details, refer to the session's online help.</ListItem>
					<ListItem>Complete the session on the <GUIRef href="" role="groupbox">Form</GUIRef> tab. Here you must specify, among other things, the number of occurrences and the default button.</ListItem>
					<ListItem>Click <GUIRef href="" role="manual">Save</GUIRef>.</ListItem>
				</ProcedureList>
			</Step>
			<Step><StepTitle>Create and edit the form</StepTitle>
				<Paragraph class="Default">To create and edit forms, you must use the Infor Dynamic Form Editor. The form editor allows you to specify the available session types for the form (overview and detail), the field groups, labels and fields that are used to create the form.</Paragraph>
				<ProcedureList><ListIntro>To start the Dynamic Form Editor:</ListIntro>
					<ListItem>In the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session, select the session for which you want to create or edit the form.</ListItem>
					<ListItem>Click <GUIRef href="" role="command">Edit Form ...</GUIRef>. The Dynamic Form Editor starts.</ListItem>
				</ProcedureList>
				<Paragraph class="Default">You can now perform basic form editing tasks to quickly produce a working session prototype. For details about creating a new basic form for a session, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_forms" role="manual">To create forms</Link>.</Paragraph>
				<Paragraph class="Default">After you have a basic form setup and operational, you can change the form layout to achieve the final result. For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_edit_forms" role="manual">To edit forms</Link>.</Paragraph>
			</Step>
			<Step><StepTitle>Specify session specific commands and buttons</StepTitle>
				<Paragraph class="Default">In addition to labels, fields and field groups, you can enhance the user interface by creating additional elements, such as zoom buttons, standard commands, and form commands, on the form.</Paragraph>
				<Paragraph class="Default">For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_commands_and_buttons_for_a_session" role="manual">To create commands and buttons for a session</Link>.</Paragraph>
			</Step>
			<Step><StepTitle>Specify indices</StepTitle>
				<Paragraph class="Default">Specify the indices that must be available for the session.</Paragraph>
				<Paragraph class="Default">For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_specify_indices_for_a_session" role="manual">To specify indices for a session</Link>.</Paragraph>
			</Step>
			<Step><StepTitle>Add the user interface logic and processing logic</StepTitle>
				<List><ListIntro>You can define this logic in the session's UI script, in functions, DLLs and DALs. For details, refer to the following sections:</ListIntro>
					<ListItem><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/ui_scripts" role="manual">UI scripts</Link>
					</ListItem>
					<ListItem><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/functions" role="manual">Functions</Link>
					</ListItem>
					<ListItem><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/libraries" role="manual">Libraries</Link>
					</ListItem>
					<ListItem><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/dal" role="manual">DAL</Link>
					</ListItem>
				</List>
			</Step>
		</Steps>
	</ProcedureSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/sessions" role="manual">Sessions</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/forms" role="manual">Forms</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
