<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/em000840" xml:lang="en">
   <Header>
      <Title>Run-time control</Title>
      <Keyword type="header" order="d1e2284228">
         <Level1>Run-time</Level1>
         <Level2>control</Level2>
      </Keyword>
      <Keyword type="header" order="d1e2284233">
         <Level1>Control</Level1>
         <Level2>run-time</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <SectionTitle>Runtime Version, Project Model and Optimization Phase (tgbrg0105m000)</SectionTitle>
      <Paragraph>To create and maintain the run-time project models for a
		combination of a company and a version, use the <GUIRef href="/baanerp/tg/brg/tgbrg0105m000" role="session">Runtime Version, Project Model and Optimization Phase (tgbrg0105m000)</GUIRef> session.</Paragraph>
      <List>
         <ListIntro>To define a runtime version, project model and optimization
		  phase, complete the following steps:</ListIntro>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.comp" role="manual">Company</GUIRef> field, click <Emphasis>New group</Emphasis> and select the company in which the project models are stored that you want to
		  use at run-time.</ListItem>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.vers" role="manual">Version</GUIRef> field, select a version that provides the
		  project models that can be assigned as the run-time project model.</ListItem>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.proj" role="manual">Project Model</GUIRef> field, select a project model that
		  provides the business processes for the Process Browser.</ListItem>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg1110s000#exec.user.0" role="manual">Save</GUIRef>
         </ListItem>
      </List>
      <TABLE width="100%" border="1" space-and-orientation="indented-custom"
             borderstyle="default">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD colspan="2" width="1022" rowspan="1">Key fields for the <GUIRef href="/baanerp/tg/brg/tgbrg0105m000" role="session">Runtime Version, Project Model and Optimization Phase (tgbrg0105m000)</GUIRef> session</TD>
            </TR>
         </THEAD>
         <TBODY noTR="4">
            <TR no="1" isLast="false">
               <TH width="262" rowspan="1" colspan="1">Field</TH>
               <TH width="756" rowspan="1" colspan="1">Description</TH>
            </TR>
            <TR no="2" isLast="false">
               <TD width="262" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.othc" role="manual">Default for Companies Without Run-Time Project Models</GUIRef>
               </TD>
               <TD width="756" rowspan="1" colspan="1">If this check box is selected,, the run-time project
				models in this company are for use in all companies for which no run-time
				project models are defined. You can only select this check box if you click the <Emphasis>New group</Emphasis> button.</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="262" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.optp" role="manual">Optimization Phase</GUIRef>
               </TD>
               <TD width="756" rowspan="1" colspan="1">The optimization phase used at run-time. Combined
				with the run-time version and run-time project model, it determines the
				business processes available in the Process Browser.</TD>
            </TR>
            <TR no="4" isLast="true">
               <TD width="262" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.mprm" role="manual">Main Project Model</GUIRef>
               </TD>
               <TD width="756" rowspan="1" colspan="1">If this check box is selected,, this is the main
				default run-time project model in case more than one run-time project model is
				defined for a company.</TD>
            </TR>
         </TBODY>
      </TABLE>
      <Note>
         <SectionTitle> Note</SectionTitle>
         <Paragraph>Only one main run-time project model can be defined per
		  company. If a run-time project model is for use in all companies, you only need
		  to select the <GUIRef href="/baanerp/tg/brg/tgbrg0105m000#tgbrg005.othc" role="manual">Default for Companies Without Run-Time Project Models</GUIRef> check box, instead of inserting it in all companies.</Paragraph>
      </Note>
      <Paragraph>To change to another project model linked to your current
		company, on the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu, click <Emphasis>Change Project Model</Emphasis>. The project model that
		is started is displayed in a new Process Browser window. The original Process
		Browser Window also remains open; this way, you can use more than one project
		model simultaneously.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Multi-logistic company</SectionTitle>
      <Paragraph>Multiple runtime project models dependent on the same logistic
		company will be solved by storing one or more project models per company [DS
		Org. Modeling].</Paragraph>
      <Paragraph>Because of the multiplicity of companies and project models per
		logistic company, the default runtime company and default project model for
		this company will have to be stored in the DMB user settings. To use different
		project models per company, an entry must be created to allow the user to
		switch to another project model. This project model will be opened in a new
		instance of the DMB.</Paragraph>
      <Paragraph>When the user changes the runtime company, and the selected
		project model is different from the one currently displayed in the DMB window,
		another instance of the DMB tree will be started.</Paragraph>
      <Paragraph>The runtime version, project model, and phase are stored per
		company instead of by user. Only the current modeling version is still stored
		by user.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Starting an end user desktop using the Dynamic Menu Browser
		(DMB)</SectionTitle>
      <List>
         <ListIntro>When an end user interface is started, the DMB uses the
		  defined organization model. This section describes what must be done, using the
		  organization model, to create an end user interface:</ListIntro>
         <ListItem>Find the runtime project model, the runtime current version,
		  and the current phase for the current company the user is in. This can be the
		  Default Project Model from the Baan User DEM Settings, or the main Project
		  Model from the Runtime Project Models by Company. When the Default Project
		  Model is not found within the current company, a message is given and the main
		  Project Model for the current company is used.</ListItem>
         <ListItem>Find the employee linked to the Baan User and the current Baan
		  User DEM Settings.</ListItem>
         <ListItem>Check whether the employee is linked to the current project
		  model and optimization phase; if not linked, a message is given and the process
		  is aborted.</ListItem>
         <ListItem>To find the roles linked to the employee, use the runtime
		  current version.</ListItem>
         <ListItem>Find the business processes the user is authorized for
		  according to his roles. This check has to be done in the repository and within
		  the current project model because the authorization can be restricted within
		  the project model.</ListItem>
      </List>
   </GeneralSection>
</ManualTopic>