<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tg/brg/tgbrg7102s000" xml:lang="en">
   <Header>
      <Title>Rules (tgbrg7102s000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <Paragraph> Use this session to display and maintain <Link href="/baanerp/tg/glossary/glossary#000029" role="glossary">rules</Link>.</Paragraph>
      </AimSection>
      <GeneralSection>
         <ProcedureList>
            <ListIntro>To create a <Link href="/baanerp/tg/glossary/glossary#000117" role="glossary">rule condition</Link> (IF-part):</ListIntro>
            <ListItem>Select the <GUIRef href="/baanerp/tg/brg/tgbrg7102s000#exec.user.0" role="command">Rule Condition</GUIRef> command to start the Text Editor.</ListItem>
            <ListItem>Enter business functions or business processes following the
			 IF logical operator. Note that you must leave a space between the operators and
			 the operands (for example BF,1).</ListItem>
            <ListItem>Close the Text Editor.</ListItem>
         </ProcedureList>
         <List>
            <ListIntro>Select the <GUIRef href="/baanerp/tg/brg/tgbrg7102s000#exec.user.1" role="command">Then part of Rule</GUIRef> command to create the Then part
			 of the expression in one of the following sessions:</ListIntro>
            <ListItem>The <Link href="/baanerp/tg/brg/tgbrg7117m000" role="session">Set Parameters by Rule (tgbrg7117m000)</Link> session</ListItem>
            <ListItem>The <Link href="/baanerp/tg/brg/tgbrg7127m000" role="session">Select Business Processes by Rule (tgbrg7127m000)</Link> session</ListItem>
            <ListItem>The <Link href="/baanerp/tg/brg/tgbrg7137m000" role="session">Set Static Conditions by Rule (tgbrg7137m000)</Link> session It depends on the rule type which of the above
			 sessions is started.</ListItem>
         </List>
         <Paragraph>You cannot select the <GUIRef href="/baanerp/tg/brg/tgbrg7102s000#exec.user.1" role="command">Then part of Rule</GUIRef> command if the rule is of <GUIRef href="/baanerp/tg/domains/brg.tyru#dependency" role="option">Consistency</GUIRef> type. In
		  that case you must also specify the Then segment of the rule expression in the
		  Text Editor.</Paragraph>
         <GeneralSection>
            <SectionTitle>Using logical operators</SectionTitle>
            <Paragraph/>
         </GeneralSection>
         <List>
            <ListIntro>If more than one business process or more than one business
			 function is incorporated in the rule expression, thse must be separated by one
			 of the following logical operators:</ListIntro>
            <ListItem>or</ListItem>
            <ListItem>xor</ListItem>
            <ListItem>and</ListItem>
            <ListItem>not</ListItem>
            <ListItem>(</ListItem>
            <ListItem>)</ListItem>
         </List>
         <GeneralSection>
            <SectionTitle>Checking and applying rules</SectionTitle>
            <Paragraph/>
         </GeneralSection>
         <List>
            <ListIntro>Rules are checked ( <GUIRef href="/baanerp/tg/domains/brg.tyru#dependency" role="option">Consistency</GUIRef> rule type)
			 or applied (other rule types) in reference models and/or project models. Rules
			 of <GUIRef href="/baanerp/tg/domains/brg.tyru#dependency" role="option">Consistency</GUIRef> type are
			 checked:</ListIntro>
            <ListItem>If the <Link href="/baanerp/tg/brg/tgbrg2220m000" role="session">Check Reference Model Consistency (tgbrg2220m000)</Link> session is activated (reference model).</ListItem>
            <ListItem>If the <Link href="/baanerp/tg/brg/tgbrg4220m000" role="session">Check Project Model Consistency (tgbrg4220m000)</Link> session is activated (project model).</ListItem>
         </List>
         <List>
            <ListIntro>The Help information of the following sessions describes
			 how rules of type other than <GUIRef href="/baanerp/tg/domains/brg.tyru#dependency" role="option">Consistency</GUIRef> are
			 applied:</ListIntro>
            <ListItem>The <Link href="/baanerp/tg/brg/tgbrg7117m000" role="session">Set Parameters by Rule (tgbrg7117m000)</Link> session</ListItem>
            <ListItem>The <Link href="/baanerp/tg/brg/tgbrg7127m000" role="session">Select Business Processes by Rule (tgbrg7127m000)</Link> session</ListItem>
            <ListItem>The <Link href="/baanerp/tg/brg/tgbrg7137m000" role="session">Set Static Conditions by Rule (tgbrg7137m000)</Link> session</ListItem>
         </List>
      </GeneralSection>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="tgbrg700.tyru">
         <Header>
            <Title>Rule Type</Title>
         </Header>
         <FuncDesc>The type of <Link href="/baanerp/tg/glossary/glossary#000029" role="glossary">rule</Link>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgbrg700.rule">
         <Header>
            <Title>Rule</Title>
         </Header>
         <FuncDesc>An expression.</FuncDesc>
         <SimpleSection>
            <List>
               <ListIntro>A rule is used to:</ListIntro>
               <ListItem>Check the consistency of a business function model
			 (consistency rules).</ListItem>
               <ListItem>Transform a business function model to a business process
			 model (transformation rules).</ListItem>
               <ListItem>Assign a value to the application parameters (parameter
			 setting rules).</ListItem>
               <ListItem>Assign a value to static conditions (static condition setting
			 rules).</ListItem>
            </List>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="tgbrg700.vers">
         <Header>
            <Title>Version</Title>
         </Header>
         <FuncDesc>A group of model items that share some characteristics, such as
		the customer, owner, and effective date.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgbrg100.desc">
         <Header>
            <Title>Version</Title>
         </Header>
         <FuncDesc>The description or name of the <Link href="/baanerp/tg/glossary/glossary#000001" role="glossary">version</Link>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgbrg700.sequ">
         <Header>
            <Title>Sequence</Title>
         </Header>
         <FuncDesc>A number that determines the sequence in which records are
		displayed in an overview session or list box.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgbrg700.desc">
         <Header>
            <Title>Description</Title>
         </Header>
         <FuncDesc>The description or name of the <Link href="/baanerp/tg/glossary/glossary#000029" role="glossary">rule</Link>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgbrg700.expi">
         <Header>
            <Title>Expired</Title>
         </Header>
         <FuncDesc> If this check box is selected, the <Link href="/baanerp/tg/glossary/glossary#000029" role="glossary">rule</Link> has expired.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="txtn.yn">
         <Header>
            <Title>Text</Title>
         </Header>
         <FuncDesc> If this check box is selected, text is available, which
		  provides you with further information about the <Link href="/baanerp/tg/glossary/glossary#000029" role="glossary">rule</Link>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="stra">
         <Header>
            <Title>stra</Title>
         </Header>
         <FuncDesc>The IF-part of the <Link href="/baanerp/tg/glossary/glossary#000117" role="glossary">rule condition</Link>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="converted.cdat">
         <Header>
            <Title>Date</Title>
         </Header>
         <FuncDesc>The date when the last changes were made to this session.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="converted.ctim">
         <Header>
            <Title>Time</Title>
         </Header>
         <FuncDesc>The time when the last changes were made to this session.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="tgbrg700.cusr">
         <Header>
            <Title>User</Title>
         </Header>
         <FuncDesc>The user who made the last changes in this session.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="cusr.name">
         <Header>
            <Title>User</Title>
         </Header>
         <FuncDesc>The name of the user who made the last changes in this session.</FuncDesc>
      </FieldHelp>
   </Fields>
   <FormCommands>
      <CommandHelp ID="exec.user.0">
         <Header>
            <Title>Rule Condition</Title>
         </Header>
         <FuncDesc>Click this button (or command), to start the Text Editor and
		  create or maintain the IF part of the selected rule.</FuncDesc>
         <SimpleSection>
            <Paragraph>In the case of consistency rules, you must
			 also use the Text Editor to create and maintain the <GUIRef href="/baanerp/tg/brg/tgbrg7102s000#exec.user.1" role="command">Then part of Rule</GUIRef>.</Paragraph>
         </SimpleSection>
      </CommandHelp>
      <CommandHelp ID="exec.user.1">
         <Header>
            <Title>Then part of Rule</Title>
         </Header>
         <FuncDesc>Click this button (or command), to start one of the following
		  three sessions depending on the type of rule:</FuncDesc>
         <SimpleSection>
            <List>
               <ListItem>
                  <GUIRef href="/baanerp/tg/brg/tgbrg7117m000" role="session">Set Parameters by Rule (tgbrg7117m000)</GUIRef>
               </ListItem>
               <ListItem>
                  <GUIRef href="/baanerp/tg/brg/tgbrg7127m000" role="session">Select Business Processes by Rule (tgbrg7127m000)</GUIRef>
               </ListItem>
               <ListItem>
                  <GUIRef href="/baanerp/tg/brg/tgbrg7137m000" role="session">Set Static Conditions by Rule (tgbrg7137m000)</GUIRef>
               </ListItem>
            </List>
            <Paragraph>In each of these sessions you can create or
			 maintain the <GUIRef href="/baanerp/tg/brg/tgbrg7102s000#exec.user.1" role="command">Then part of Rule</GUIRef>.</Paragraph>
         </SimpleSection>
      </CommandHelp>
   </FormCommands>
</Session>