<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/to_create_mmt_sessions" xml:lang="en" TopicType="Overview">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To create MMT Sessions</Title>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>MMT session</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>
                                    Infor ERP LN Development Tools
                                 </Level1>
			<Level2>Multi Main Table session</Level2>
		</Keyword>
	</Header>
	<Important><SectionTitle>
                                 Important!
                              </SectionTitle>
		<Paragraph class="Default">The sections below describe the sessions that you must use to create MMT sessions. However, they do not describe all details of these sessions. For detailed session information, refer to the Infor Web Help.</Paragraph>
	</Important>
	<GeneralSection><Paragraph class="Default">The following figure shows the procedure steps and the corresponding sessions or programs:</Paragraph>
		<Figure space-and-orientation="indented-estimated"><HTML:IMG height="563" width="265" SRC="../images/tr_flow_to_create_mmt_sessions1.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="tr_flow_to_create_mmt_sessions1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/tr_flow_to_create_mmt_sessions1.gif" ID="IDAO30AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>The flow: Create a multi-main table session</FigCaption>
		</Figure>
	</GeneralSection>
	<GeneralSection><SectionTitle>To create a main entity detail session</SectionTitle>
		<Paragraph class="Default">If you want the multi-main table controller session to use a details session, you must determine if the details session already exists, or if you need to create it.</Paragraph>
		<Paragraph class="Default">When you create the details session, you must enter a label code in the <GUIRef href="" role="manual">Label of Object</GUIRef> field in the session properties. This allows the label to show on the multi-main table controller session for opening the details session.</Paragraph>
		<ExampleSection><SectionTitle>
                                    Example- details session</SectionTitle>
			<Paragraph class="Default">The <GUIRef href="" role="session">Purchase Order Headers (cxoes0122m000)</GUIRef> session already exists, and you can use it as the details session. You enter a label code in the <GUIRef href="" role="manual">Label of Object</GUIRef> field.</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Field</TD>
						<TD rowspan="1" colspan="1">Input Value</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD rowspan="1" colspan="1">Label of Object</TD>
						<TD rowspan="1" colspan="1">oes022 (Purchase Order Headers)</TD>
					</TR>
				</TBODY>
			</TABLE>
		</ExampleSection>
	</GeneralSection>
	<GeneralSection><SectionTitle>To create a multi-main table controller session</SectionTitle>
		<ProcedureList><ListIntro>To create the multi-main table controller session:</ListIntro>
			<ListItem>Start the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session and specify the properties for the controller session. Points of attention: <List><ListItem>Session Type: Maintain</ListItem>
					<ListItem>Window Type: Multi Main Table</ListItem>
					<ListItem>Main Session: Yes</ListItem>
					<ListItem>Synchronized Dialog: the code of the main entity detail session, e.g. cxoes0122m000</ListItem>
				</List>
			</ListItem>
			<ListItem>Edit the form and insert the fields you wish to have in the session.</ListItem>
		</ProcedureList>
		<ExampleSection><SectionTitle>
                                    Example- multi-main table controller session</SectionTitle>
			<Paragraph class="Default">The Purchase Orders multi-main table controller session is created with the following properties:</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Field</TD>
						<TD rowspan="1" colspan="1">Input Value</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD rowspan="1" colspan="1">Package</TD>
						<TD rowspan="1" colspan="1">cx</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Module</TD>
						<TD rowspan="1" colspan="1">oes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Session</TD>
						<TD rowspan="1" colspan="1">0122s100</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Description</TD>
						<TD rowspan="1" colspan="1">Purchase Orders</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Standard Script</TD>
						<TD rowspan="1" colspan="1">No</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Program Script</TD>
						<TD rowspan="1" colspan="1">cxoes0122s100</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Main Table</TD>
						<TD rowspan="1" colspan="1">cxoes022</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Start Command Type</TD>
						<TD rowspan="1" colspan="1">No Start Command</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Start Command</TD>
						<TD rowspan="1" colspan="1">0</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Session Status</TD>
						<TD rowspan="1" colspan="1">Developing</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Dynamic Session</TD>
						<TD rowspan="1" colspan="1">Yes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Integrated</TD>
						<TD rowspan="1" colspan="1">Yes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Session Type</TD>
						<TD rowspan="1" colspan="1">Maintain</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Window Type</TD>
						<TD rowspan="1" colspan="1">Multi Main Table</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Main Session</TD>
						<TD rowspan="1" colspan="1">Yes</TD>
					</TR>
					<TR><TD rowspan="1" colspan="1">Synchronized Dialog</TD>
						<TD rowspan="1" colspan="1">cxoes0122m000</TD>
					</TR>
				</TBODY>
			</TABLE>
		</ExampleSection>
	</GeneralSection>
	<GeneralSection><SectionTitle>To create a satellite session</SectionTitle>
		<Paragraph class="Default">You can use an existing satellite session, or create a new one. The key field that links the satellite entity to the main entity must be a view field in the form. You must specify a label of object for the satellite session.</Paragraph>
		<ExampleSection><SectionTitle>
                                    Example- satellite session</SectionTitle>
			<Paragraph class="Default">The <GUIRef href="" role="session">Purchase Order Lines (cxoes0123m000)</GUIRef> session is an existing satellite session. You enter a label code in the <GUIRef href="" role="manual">Label of Object</GUIRef> field in the session's properties.</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Field</TD>
						<TD rowspan="1" colspan="1">Input Value</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD rowspan="1" colspan="1">Label of Object</TD>
						<TD rowspan="1" colspan="1">oes023 (Purchase Order Lines)</TD>
					</TR>
				</TBODY>
			</TABLE>
		</ExampleSection>
	</GeneralSection>
	<GeneralSection><SectionTitle>To assign satellites to the controller</SectionTitle>
		<Paragraph class="Default">You must link the satellite sessions to the multi-main table controller session.</Paragraph>
		<ProcedureList><ListIntro>To do so:</ListIntro>
			<ListItem>Start the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session.</ListItem>
			<ListItem>Select the multi-main table controller session.</ListItem>
			<ListItem>On the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="" role="command">MMT Satellite Sessions</GUIRef>. The <GUIRef href="" role="session">Satellite Sessions (ttadv3110m000)</GUIRef> session starts.</ListItem>
			<ListItem>Click <GUIRef href="" role="manual">New</GUIRef>.</ListItem>
			<ListItem>Enter the next index number.</ListItem>
			<ListItem>Enter the satellite session code.</ListItem>
			<ListItem>Either enter the field mapping information, or click <GUIRef href="" role="command">Generate Field Mapping</GUIRef>.</ListItem>
		</ProcedureList>
		<ExampleSection><SectionTitle>
                                    Example- assign satellite sessions</SectionTitle>
			<Paragraph class="Default">You link the <GUIRef href="" role="session">Purchase Order Lines (cxoes0123m000)</GUIRef> session as a satellite session to the <GUIRef href="" role="session">Purchase Orders (cxoes0122s100)</GUIRef> multi-main table controller session. You enter the following field mapping:</Paragraph>
			<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Field name in MMT session</TD>
						<TD rowspan="1" colspan="1">Field name in satellite</TD>
					</TR>
				</THEAD>
				<TBODY><TR><TD rowspan="1" colspan="1">cxoes022.orno</TD>
						<TD rowspan="1" colspan="1">cxoes023.orno</TD>
					</TR>
				</TBODY>
			</TABLE>
		</ExampleSection>
	</GeneralSection>
	<GeneralSection><SectionTitle>To compile and run the controller session</SectionTitle>
		<Paragraph class="Default">You must compile the multi-main table controller session after you assign a satellite session.</Paragraph>
		<ProcedureList><ListIntro>To compile the session:</ListIntro>
			<ListItem>Start the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session.</ListItem>
			<ListItem>Select the session.</ListItem>
			<ListItem>Click <GUIRef href="" role="command">Compile</GUIRef>.</ListItem>
		</ProcedureList>
		<Paragraph class="Default">At this point you are able to run the multi-main table controller session.</Paragraph>
		<ExampleSection><SectionTitle>
                                    Example- Run multi-main table controller session</SectionTitle>
			<Paragraph class="Default">You can run the <GUIRef href="" role="session">Purchase Orders (cxoes0122s100)</GUIRef> session.</Paragraph>
			<Figure space-and-orientation="indented-estimated"><HTML:IMG height="423" width="658" SRC="../images/nt_screen_to_create_mmt_sessions2.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_to_create_mmt_sessions2.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_to_create_mmt_sessions2.gif" ID="IDABT0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Purchase Orders multi-main table session</FigCaption>
			</Figure>
		</ExampleSection>
	</GeneralSection>
	<GeneralSection><SectionTitle>To integrate the controller session</SectionTitle>
		<Paragraph class="Default">The multi-main table controller session is the equivalent of a details session for the main entity. Therefore, you should integrate the session, either as a synchronized dialog of the main overview session for the table, or as a child session of an overview display session.</Paragraph>
		<ProcedureList><ListIntro>To integrate the controller session, using the session as a synchronized dialog:</ListIntro>
			<ListItem>Start the <GUIRef href="" role="session">Sessions (ttadv2500m000)</GUIRef> session.</ListItem>
			<ListItem>Select the main overview session for the table. Modify the properties of this session: Fill the <GUIRef href="" role="manual">Synchronized Dialog</GUIRef> field with the multi-main table controller session code.</ListItem>
			<ListItem>Save the session.</ListItem>
		</ProcedureList>
		<ExampleSection><SectionTitle>
                                    Example- Multi-main table controller session integrated with overview session</SectionTitle>
			<Paragraph class="Default">You modify the <GUIRef href="" role="session">Purchase Orders (cxoes0122m000)</GUIRef> overview session so that it uses the multi-main table controller session (cxoes0122s100) as a synchronized dialog. When you open a purchase order in the overview session, the multi-main table controller session opens with the purchase order that you selected.</Paragraph>
			<Figure space-and-orientation="indented-estimated"><HTML:IMG height="655" width="657" SRC="../images/nt_screen_to_create_mmt_sessions3.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_to_create_mmt_sessions3.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_to_create_mmt_sessions3.gif" ID="IDAKT0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Multi-main table session integrated with overview session</FigCaption>
			</Figure>
		</ExampleSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/mmt_sessions" role="manual">MMT Sessions</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
