<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/adv/ttadv3118s000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Form Commands (ttadv3118s000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to maintain <Link href="/baanerp/tt/glossary/glossary#100053" role="glossary">form commands</Link>.</Paragraph>
		</AimSection>
	</HelpTopic>
	<Fields><FieldHelp ID="ttadv316.sern"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">ID</Title>
			</Header>
			<FuncDesc>The form command's identification number.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.type"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Activate a</Title>
			</Header>
			<FuncDesc>Select what your form command activates from the options in the drop-down list:</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.mscf"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Session/Function/Business Method</Title>
			</Header>
			<FuncDesc>The code of the session, function, or business method that the form command activates.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The function or business method must be part of the session's program script, or DAL script respectively.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_ipar"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Parent (Menu)</Title>
			</Header>
			<FuncDesc>To define a parent form command for your form command, enter the parent form command's <GUIRef href="/baanerp/tt/adv/ttadv3118s000#ttadv316.sern" role="manual">ID</GUIRef>. If you define a parent form command, your form command displays as a submenu item (horizontally) of the parent form command.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<List><ListItem>The parent form command's <GUIRef href="/baanerp/tt/adv/ttadv3118s000#ttadv316.btyp" role="manual">Command Type</GUIRef> must be <GUIRef href="/baanerp/tt/domains/adv.otyp#menu" role="option">Menu</GUIRef>.</ListItem>
					<ListItem>The form command and the parent form command must belong to the same form.</ListItem>
					<ListItem>Form commands with the same parent display as a (vertically) cascading submenu.</ListItem>
					<ListItem>You cannot define a parent form command for a form command whose <GUIRef href="/baanerp/tt/adv/ttadv3118s000#ttadv316.btyp" role="manual">Command Type</GUIRef> is <GUIRef href="/baanerp/tt/domains/adv.otyp#menu" role="option">Menu</GUIRef>. That is, a <GUIRef href="/baanerp/tt/domains/adv.otyp#menu" role="option">Menu</GUIRef> form command cannot display as a submenu item.</ListItem>
				</List>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.sapp"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Sort Sequence</Title>
			</Header>
			<FuncDesc>Determines the order in which <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> displays different form commands that have the same <GUIRef href="/baanerp/tt/adv/ttadv3118s000#ttadv316.btyp" role="manual">Command Type</GUIRef>.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Form commands with the same <GUIRef href="/baanerp/tt/adv/ttadv3118s000#ttadv316.btyp" role="manual">Command Type</GUIRef> cannot have identical sequence numbers.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.btyp"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Command Type</Title>
			</Header>
			<FuncDesc>Where the form command appears on the session's form.</FuncDesc>
			<SimpleSection><Paragraph class="Default"> 
                                    Allowed values:</Paragraph>
				<Paragraph class="Default"><Link href="/baanerp/tt/domains/adv.btyp" role="domain">Possible Values</Link>
				</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttadv316.sequ"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Group/Field Number</Title>
			</Header>
			<FuncDesc>For form commands of <GUIRef href="/baanerp/tt/adv/ttadv3118s000#ttadv316.btyp" role="manual">Command Type</GUIRef>:</FuncDesc>
			<SimpleSection><List><ListItem><GUIRef href="/baanerp/tt/domains/adv.btyp#group" role="option">Group</GUIRef>. From the <GUIRef href="/baanerp/tt/adv/ttadv3515m000" role="session">Form Groups (ttadv3515m000)</GUIRef> session, select the <GUIRef href="/baanerp/tt/adv/ttadv3515m000#ttadv315.grpi" role="manual">Group Id</GUIRef> of the group to which the form command belongs. The form command only appears in the session's <GUIRef href="" role="menu">Specific</GUIRef> menu when the user selects the group's tab.</ListItem>
				</List>
				<List><ListItem><GUIRef href="/baanerp/tt/domains/adv.btyp#field" role="option">Field</GUIRef>. From the <GUIRef href="/baanerp/tt/adv/ttadv3506m000" role="session">Form Fields (ttadv3506m000)</GUIRef> session, select the <GUIRef href="ttttaad320.seqn" role="manual">Sequence Number</GUIRef> of the field behind which the form command appears as a field button.</ListItem>
				</List>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Sessions can have multiple appearances of the same field, in which case the field has an entry in the <GUIRef href="/baanerp/tt/adv/ttadv3506m000" role="session">Form Fields (ttadv3506m000)</GUIRef> session for every apperance on the session's form. The sequence of the fields on the form is the same as the fields' order in the <GUIRef href="/baanerp/tt/adv/ttadv3506m000" role="session">Form Fields (ttadv3506m000)</GUIRef> session. If you define form command for a field that has multiple appearances on a form, make sure you have the correct sequence number of the field.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="label.desc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Label</Title>
			</Header>
			<FuncDesc>The code of the form command's label.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_elli"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Add Ellipses to Label</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, an ellipsis (...) follows the form command's label. Use ellipses to indicate the form command opens a dialog box.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="desc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Long description</Title>
			</Header>
			<FuncDesc>The form command's description shown on the session's <GUIRef href="" role="menu">Specific</GUIRef> menu at run time.</FuncDesc>
			<SimpleSection><Paragraph class="Default">You define the description in the <GUIRef href="/baanerp/tt/adv/ttadv1140m000" role="session">Labels (ttadv1140m000)</GUIRef> session, for the label code you select in the <GUIRef href="/baanerp/tt/adv/ttadv1140m000#ttadv140.clab" role="manual">Label</GUIRef> field.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">In the <GUIRef href="/baanerp/tt/adv/ttadv1140m000" role="session">Labels (ttadv1140m000)</GUIRef> session you can define two labels (that have the same code) but with different description lengths. If your label code has two labels of differing lengths, this field displays the label with greater than seventeen characters.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="desc.short"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Short Description</Title>
			</Header>
			<FuncDesc>The description shown when the form command is included as a button on the session's form, or as a text button in the session's application toolbar.</FuncDesc>
			<SimpleSection><Paragraph class="Default">You define the description in the <GUIRef href="/baanerp/tt/adv/ttadv1140m000" role="session">Labels (ttadv1140m000)</GUIRef> session, for the label code you select in the <GUIRef href="/baanerp/tt/adv/ttadv1140m000#ttadv140.clab" role="manual">Label</GUIRef> field.</Paragraph>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<List><ListIntro>In the <GUIRef href="/baanerp/tt/adv/ttadv1140m000" role="session">Labels (ttadv1140m000)</GUIRef> session;</ListIntro>
					<ListItem>You can define two labels (that have the same code) but with different description lengths. If your label code has two labels of differing lengths, this field displays the label with seventeen characters or less.</ListItem>
					<ListItem>If you define a label with a <GUIRef href="/baanerp/tt/adv/ttadv1140m000#ttadv140.zc_cont" role="manual">Context of Label</GUIRef> value of <GUIRef href="/baanerp/tt/domains/adv.cont#form.casc.menu" role="option">Cascading Item on Button</GUIRef>, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> displays the label for the form command when the form command is included as a button on the session's form, or as a text button in the session's application toolbar. The label also displays as a tooltip. The label enables you to give a more detailed description than the short description. Example Cascading form command: <Emphasis>Compile &gt; Debug</Emphasis>. The short description for the button is <Emphasis>Debug</Emphasis>, which would display on the form command's button. The developer defines the label <Emphasis>Compile with Debug</Emphasis> with a <GUIRef href="/baanerp/tt/adv/ttadv1140m000#ttadv140.zc_cont" role="manual">Context of Label</GUIRef> value of <GUIRef href="/baanerp/tt/domains/adv.cont#form.casc.menu" role="option">Cascading Item on Button</GUIRef>. The <Emphasis>Compile with Debug</Emphasis> label displays on the button, which gives the end-user a clearer definition of what the button activates.</ListItem>
				</List>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_eshc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Shortcut Key</Title>
			</Header>
			<FuncDesc>Select from the drop-down list the form command's shortcut key.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.sepa"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Separator</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> inserts a line in the menu under the form command. Use these lines to create separate groups of form commands in the menu.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.butt"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Show as Button in modal (browse) Session</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, when a user zooms to the session, the form command displays as a field button on the session's form.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_sdet"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Show on Menu bar of Details window</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, the form command is shown on the details session's <GUIRef href="" role="menu">Specific</GUIRef> menu.</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">Programming functions are available to create an application toolbar that includes a session's form commands.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.autg"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Authorization Group</Title>
			</Header>
			<FuncDesc>Select the Authorization level users must have to carry out the form command. All commands with an authorization group that is higher than the user’s authorization for the session are removed from the <GUIRef href="" role="menu">Specific</GUIRef> menu.</FuncDesc>
			<SimpleSection><Paragraph class="Default">Example:</Paragraph>
				<Paragraph class="Default">A user is authorized to view and to print records in a session. His authorization group for that session is 'Print/Display'. All form commands with authorization groups 'Full Authorization' (Delete/Insert/Modify/Print/Display), 'Insert/Modify/Print/Display' and 'Modify/Print/Display' will be removed from the <GUIRef href="" role="menu">Specific</GUIRef> menu.</Paragraph>
			</SimpleSection>
			<SimpleSection><Paragraph class="Default">You must choose the authorization group of a form command according to the following guidelines:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Command Type</TD>
							<TD rowspan="1" colspan="1">If this form command…</TD>
							<TD rowspan="1" colspan="1">Authorization Group in Form Commands (ttadv3118s000) session</TD>
						</TR>
					</THEAD>
					<TBODY><TR><TD rowspan="1" colspan="1">Form, Field or Group</TD>
							<TD rowspan="1" colspan="1">gives access to functionality, where a delete action should be possible.</TD>
							<TD rowspan="1" colspan="1">Full Authorization</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Form, Field or Group</TD>
							<TD rowspan="1" colspan="1">gives access to functionality, where an insert action should be possible, but no delete action is needed.</TD>
							<TD rowspan="1" colspan="1">Insert/Modify/Print/Display</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Form, Field or Group</TD>
							<TD rowspan="1" colspan="1">gives access to functionality, where a modify action should be possible, but no insert or delete action is needed.</TD>
							<TD rowspan="1" colspan="1">Modify/Print/Display</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Form, Field or Group</TD>
							<TD rowspan="1" colspan="1">gives access to functionality, where data is displayed, but no print, modify, insert, or delete actions are needed.</TD>
							<TD rowspan="1" colspan="1">Display</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Print</TD>
							<TD rowspan="1" colspan="1">gives access to report functionality, which also provides an option for the end-user to delete data (or executes a delete action in the script).</TD>
							<TD rowspan="1" colspan="1">Full Authorization</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Print</TD>
							<TD rowspan="1" colspan="1">gives access to report functionality, which also provides an option for the end-user to insert data, but not to delete (or executes an insert action in the script).</TD>
							<TD rowspan="1" colspan="1">Insert/Modify/Print/Display</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Print</TD>
							<TD rowspan="1" colspan="1">gives access to report functionality, which also provides an option for the end-user to modify data, but not to insert or delete (or executes a modify action in the script).</TD>
							<TD rowspan="1" colspan="1">Modify/Print/Display</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Print</TD>
							<TD rowspan="1" colspan="1">gives access to report functionality, which prints data, but does not provide an option to modify, insert or delete data.</TD>
							<TD rowspan="1" colspan="1">Print/Display</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can define authorizations in the <GUIRef href="ttams0000m0001" role="manual">Authorization Management System</GUIRef> module, and link these to a user on the <GUIRef href="ttttams1100dDF003" role="manual">Authorizations</GUIRef> tab of the <GUIRef href="/baanerp/tt/ams/ttams1100s000" role="session">User Data (ttams1100s000)</GUIRef> details session.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.mocc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Command Availability</Title>
			</Header>
			<FuncDesc>Select the form command's availability.</FuncDesc>
			<SimpleSection><Paragraph class="Default">
                                    Allowed values:</Paragraph>
				<Paragraph class="Default"><Link href="/baanerp/tt/domains/adv.mocc" role="domain">Possible Values</Link>
				</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="confirmation"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Ask for Confirmation</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, before the Form Command is executed, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prompts the user with the question you enter in the <GUIRef href="ttttadv316.ques" role="manual">Question</GUIRef> field. For <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> to carry out the form command, the user must answer with the value in the <GUIRef href="#answer" role="manual">Continue when answer is</GUIRef> field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_ques"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Question</Title>
			</Header>
			<FuncDesc>If you select the <GUIRef href="ttttadv316.conq" role="manual">Ask for Confirmation</GUIRef> checkbox, when the user tries to execute the form command, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> prompts the user with the question whose code you enter in this field.</FuncDesc>
			<SimpleSection><Paragraph class="Default"><GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> only carries out the form command if the user gives the answer whose code you enter in the <GUIRef href="#answer" role="manual">Continue when answer is</GUIRef> field.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="answer"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Continue when answer is</Title>
			</Header>
			<FuncDesc>To carry out form commands with the <GUIRef href="ttttadv316.conq" role="manual">Ask for Confirmation</GUIRef> checkbox selected, a user must give the answer you enter in this field when prompted by <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> with the question in the <GUIRef href="ttttadv316.ques" role="manual">Question</GUIRef> field.</FuncDesc>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_exec"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">For multiple selection, execute</Title>
			</Header>
			<FuncDesc>For an overview session, when a user executes a form command with multiple records selected in the grid, if in this field you select:</FuncDesc>
			<SimpleSection><Paragraph class="Default"><GUIRef href="/baanerp/tt/domains/adv.exec#once" role="option">Once</GUIRef>, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> only carries out the form command for the first record selected in the grid.</Paragraph>
				<Paragraph class="Default"><GUIRef href="/baanerp/tt/domains/adv.exec#every" role="option">For every occurrence</GUIRef>, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> carries out the form command for every record selected in the grid.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttadv316.esav"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Save before execution</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, when a user activates the form command, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> saves the session's data before carrying out the form command.</FuncDesc>
			<SimpleSection><Paragraph class="Default">
                                    If this check box is cleared, when a user activates the form command, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> carries out the form command without saving the session's data.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_sesm"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Start mode Session</Title>
			</Header>
			<FuncDesc>Select the mode of the session the form command starts.</FuncDesc>
			<SimpleSection><List><ListIntro>Allowed values</ListIntro>
					<ListItem><GUIRef href="/baanerp/tt/domains/adv.sesm#modal" role="option">Modal Zoom</GUIRef>
					</ListItem>
					<ListItem><GUIRef href="/baanerp/tt/domains/adv.sesm#modeless" role="option">Modeless</GUIRef>
					</ListItem>
					<ListItem><GUIRef href="/baanerp/tt/domains/adv.sesm#synchronized" role="option">Synchronized Child</GUIRef>
					</ListItem>
					<ListItem><GUIRef href="/baanerp/tt/domains/adv.sesm#overview" role="option">Modal Overview</GUIRef>
					</ListItem>
				</List>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can only maintain this field if you selected <GUIRef href="/baanerp/tt/domains/adv.otyp#session" role="option">Session</GUIRef> in the <GUIRef href="ttttadv316.type" role="manual">Activate a</GUIRef> field.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.zc_seso"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Kind of Session</Title>
			</Header>
			<FuncDesc>Select the type of session the form command starts from the options: <GUIRef href="/baanerp/tt/domains/adv.seso#overview" role="option">Overview Window</GUIRef> <GUIRef href="/baanerp/tt/domains/adv.seso#detail" role="option">Details Window</GUIRef>
			</FuncDesc>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">You can only maintain this field when you select <GUIRef href="/baanerp/tt/domains/adv.otyp#session" role="option">Session</GUIRef> in the <GUIRef href="ttttadv316.type" role="manual">Activate a</GUIRef> field.</Paragraph>
			</Note>
		</FieldHelp>
		<FieldHelp ID="ttadv316.za_refr"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Refresh Parent</Title>
			</Header>
			<FuncDesc>
                                 If this check box is selected, when users execute the form command in a session, the data affected by the form command automatically updates in any related sessions.</FuncDesc>
			<SimpleSection><Paragraph class="Default">
                                    If this check box is cleared, users must manually save the changes after they execute the form command for the changes to update in any related sessions.</Paragraph>
			</SimpleSection>
		</FieldHelp>
	</Fields>
</Session>
