<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/td/smi/tdsmi0170m000" xml:lang="en">
   <Header>
      <Title>Selections (tdsmi0170m000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <Paragraph>Use this session to define <Link href="/baanerp/td/glossary/glossary#000405" role="glossary">selections</Link>. The result of a selection is TRUE or FALSE.
		  If the outcome is FALSE, the business partner/opportunity/contact/activity
		  concerned is skipped.</Paragraph>
      </AimSection>
      <GeneralSection>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <List>
               <ListItem>A selection expression can be defined in the Text Editor.
				You can check the expression syntax when compiling the expression by choosing <GUIRef href="/baanerp/td/smi/tdsmi0170m000#exec.user.1" role="command">Compile Expression</GUIRef> from the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu.</ListItem>
               <ListItem>A selection expression can be very simple or quite complex.
				On the <GUIRef href="" role="menu">Options</GUIRef> menu of
				the Text Editor, click <GUIRef href="" role="manual" Update="No">Start Zoomsession</GUIRef> to
				retrieve table fields or attributes.</ListItem>
               <ListItem>You can enter the value <Emphasis>bp.turnover.previous.year</Emphasis> as a predefined variable in the
				selection expression. For more information, refer to <Link href="/baanerp/td/onlinemanual/000432#selection_expression_variable"
                        role="manual"
                        Update="No">Predefined variable for selection expressions</Link>.</ListItem>
               <ListItem>Text after the | sign is regarded as comment.</ListItem>
               <ListItem>With regard to the values of variables you must distinguish
				between alphanumeric and numeric values. The former must be put between
				quotation marks ("...."), while the latter can be entered directly.</ListItem>
               <ListItem>The decimal sign is a dot (.).</ListItem>
               <ListItem>Selection expressions can be combined with AND and OR
				constructions.</ListItem>
            </List>
         </Note>
      </GeneralSection>
      <RelatedTopics>
         <SectionTitle>Related topics</SectionTitle>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000428" role="manual">
               <GUIRef href="/baanerp/crm" role="package">CRM</GUIRef> – functionality</Link>
         </RelTopic>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000430" role="manual">
               <GUIRef href="/baanerp/crm" role="package">CRM</GUIRef> – Text Editor</Link>
         </RelTopic>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000433" role="manual">
               <GUIRef href="/baanerp/crm" role="package">CRM</GUIRef> – examples of selection expressions</Link>
         </RelTopic>
      </RelatedTopics>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="tdsmi070.cnsc">
         <Header>
            <Title>Selection</Title>
         </Header>
         <FuncDesc>A predefined set of data that must be printed or processed.
		Such a set is defined by a selection expression (or a selection criterion). You
		can define an expression in the Text Manager, which is used to retrieve data
		from the database for maintenance/printing.</FuncDesc>
         <SimpleSection>
            <List>
               <ListIntro>Selections are used when you:</ListIntro>
               <ListItem>Globally add attributes.</ListItem>
               <ListItem>Mail standard letters and print flexible reports.</ListItem>
               <ListItem>Globally add and delete activities.</ListItem>
            </List>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="text.present">
         <Header>
            <Title>Text</Title>
         </Header>
         <FuncDesc>If this check box is selected, a text is
		  used.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="expr.present">
         <Header>
            <Title>Expression</Title>
         </Header>
         <FuncDesc>If this check box is selected, an expression is used to
		  set up criteria to retrieve data from the database for maintenance/printing.</FuncDesc>
         <RelatedTopics>
            <SectionTitle>Related topics</SectionTitle>
            <RelTopic>
               <Link href="/baanerp/td/onlinemanual/000430" role="manual">
                  <GUIRef href="/baanerp/crm" role="package">CRM</GUIRef> – Text Editor</Link>
            </RelTopic>
            <RelTopic>
               <Link href="/baanerp/td/onlinemanual/000433" role="manual">
                  <GUIRef href="/baanerp/crm" role="package">CRM</GUIRef> – examples of selection expressions</Link>
            </RelTopic>
         </RelatedTopics>
      </FieldHelp>
   </Fields>
</Session>