<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/em000210" xml:lang="en">
   <Header>
      <Title>Subapplication Modeling</Title>
      <Keyword type="header" order="d1e2271908">
         <Level1>subapplication</Level1>
         <Level2>modeling</Level2>
      </Keyword>
      <Keyword type="header" order="d1e2271913">
         <Level1>Modeling</Level1>
         <Level2>subapplication</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>Subapplication modeling only works for Running ERP. Within DEM,
		you model authorizations for end-users through specifying an authorization type
		with the modeled activities, and through linking Roles and specifying an
		authorization type with that link.</Paragraph>
      <Paragraph>The result is that the end-user has a customized DEM menu, the
		Process Browser, which only contains the activities for which the end-user is
		authorized.</Paragraph>
      <Paragraph>When a session is started from the Process Browser, the modeled
		authorization type is used. This ensures that a session is started in display
		mode; therefore, the user cannot change anything, but only look at the
		data.</Paragraph>
      <Paragraph>From within an ERP Enterprise session, a lot of other ERP Enterprise sessions can be started. By default, these
		sub-sessions, known in DEM as sub-applications, inherit the authorization type
		of the main application, ERP Enterprise session. For some sub-applications that will not be acceptable.
		Within DEM, it is possible to model an exception for those
		situations.</Paragraph>
      <ExampleSection>
         <SectionTitle>Example</SectionTitle>
         <Paragraph>You model for the Sales Clerk that they have <Emphasis>‘Full
		  Authorization’</Emphasis> for the Application " <Code>tdsls4500m000</Code> ", but only <Emphasis>‘Display Authorization’</Emphasis> for the
		  sub-application " <Code>tcibd0501m000</Code> ", which can be started from the main application. This ensures the
		  Sales Clerk can select Items, but cannot define or change Item
		  data.</Paragraph>
         <Paragraph>When an end-user works with the Process Browser with ERP Enterprise, all the
		  authorizations for sessions are controlled by DEM, and the authorization for
		  sessions specified within Tools are ignored.</Paragraph>
      </ExampleSection>
      <Note>
         <SectionTitle> Note</SectionTitle>
         <Paragraph>Next to the sessions reachable from the menu, there is a new
		  session started from the <Link href="/baanerp/tg/glossary/glossary#000307" role="glossary">enterprise modeler editor</Link> (EME), when you use the option " <Code>Insert-&gt;Sub-applications</Code> ".</Paragraph>
      </Note>
      <Paragraph>This session is called <GUIRef href="/baanerp/tg/brg/tgbrg5124m000" role="session">Subapplication Modeler (tgbrg5124m000)</GUIRef>.</Paragraph>
      <Paragraph>With this session, you can model the subapplications with an
		activity from within the process view in the EME.</Paragraph>
      <Paragraph>The following sessions can be found in a new menu, which is a
		sub-menu of the <Emphasis>‘Application Components’</Emphasis> menu:</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Generate Sub-apps by Application based on Tools session
		tables</SectionTitle>
      <Paragraph>With the session Generate Sub-apps by Application based on Tools
		session tables you can automatically fill the sub-application
		table.</Paragraph>
      <Paragraph>The entries are searched using the Tools information about the ERP Enterprise sessions. More
		details about the use of the session are present as online help within the
		session.</Paragraph>
      <Paragraph>The result of this session is visible in the <GUIRef href="/baanerp/tg/brg/tgbrg5163m000" role="session">Subapplications by Component Application (tgbrg5163m000)</GUIRef> session.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Global change of Sub-application Modeling</SectionTitle>
      <Paragraph>This new session Global change of Sub-application Modeling, adds
		a certain sub-application as a modeled sub-application to every activity, from
		which it can be reached as a sub-application.</Paragraph>
      <Paragraph>For more details, see the help within the session.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Print Subapplication authorizations (tgbrg5423m000)</SectionTitle>
      <Paragraph>The session <GUIRef href="/baanerp/tg/brg/tgbrg5423m000" role="session">Print Subapplication authorizations (tgbrg5423m000)</GUIRef> can be used to print the
		result of the situation regarding the sub-application modeling. For more
		details, see the help within the session.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Copy Role - Subapplications by Component Application (tgbrg5228m000)</SectionTitle>
      <Paragraph>The session <GUIRef href="/baanerp/tg/brg/tgbrg5228m000" role="session">Copy Role - Subapplications by Component Application (tgbrg5228m000)</GUIRef> session is
		working on activity level.</Paragraph>
      <Paragraph>You can choose to work in the repository, or within a certain
		Project Model. It is possible to copy the information already modeled with a
		certain activity to another activity.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Analyzing of modeled Subapplications (tgbrg5127m000)</SectionTitle>
      <Paragraph>The session <GUIRef href="/baanerp/tg/brg/tgbrg5127m000" role="session">Analyzing of modeled Subapplications (tgbrg5127m000)</GUIRef> session is made for analyzing
		the current modeling situation.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Subapplications by Application (tgbrg5154m000)</SectionTitle>
      <Paragraph>For every application, you can define one or more
		subapplications.</Paragraph>
      <Paragraph>A subapplication can be started from another application, and
		for which a different level of authorization can be assigned in the business
		process model compared to the main application to which it is
		linked.</Paragraph>
      <Paragraph>To link one or more subapplications to an application, use the <GUIRef href="/baanerp/tg/brg/tgbrg5154m000" role="session">Subapplications by Application (tgbrg5154m000)</GUIRef> session.</Paragraph>
      <Paragraph>You only need to define subapplications if you want to assign a
		different level of authorization to the subapplication in comparison to the
		main application to which it belongs.</Paragraph>
      <Paragraph>An option is added to the Specific Menu to start the new
		session <GUIRef href="/baanerp/tg/brg/tgbrg5258m000" role="session">Generate Sub-Apps by Application Based on Tools Session Tables (tgbrg5258m000)</GUIRef>.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Subsessions by ERP Session (tgbrg5162m000)</SectionTitle>
      <List>
         <ListIntro>To start <GUIRef href="/baanerp/tg/brg/tgbrg5162m000" role="session">Subsessions by ERP Session (tgbrg5162m000)</GUIRef> session, on the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu of the <GUIRef href="/baanerp/tg/brg/tgbrg5154m000" role="session">Subapplications by Application (tgbrg5154m000)</GUIRef> session:</ListIntro>
         <ListItem>Click <GUIRef href="/baanerp/tg/brg/tgbrg5162m000" role="session">Subsessions by ERP Session (tgbrg5162m000)</GUIRef>
         </ListItem>
         <ListItem>Use this session to define one or more ERP Enterprise sessions as
		  subapplications.</ListItem>
         <ListItem>This session displays, per ERP Enterprise session, the ERP Enterprise sessions you can
		  define for each subapplication.</ListItem>
      </List>
      <List>
         <ListIntro>To define an ERP Enterprise session as a subapplication, complete the following
		  steps:</ListIntro>
         <ListItem>Select the ERP Enterprise sessions you want to define as a subapplication.</ListItem>
         <ListItem>On the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu, click <GUIRef href="/baanerp/tg/messages/brgs0478" role="message">&amp;Add selected sessions as Subapplication</GUIRef>.</ListItem>
         <ListItem>The selected ERP Enterprise sessions are added as subapplications to the <GUIRef href="/baanerp/tg/brg/tgbrg5154m000" role="session">Subapplications by Application (tgbrg5154m000)</GUIRef> session.</ListItem>
      </List>
      <Paragraph>You cannot select a session and add it to the list in session <GUIRef href="/baanerp/tg/brg/tgbrg5154m000" role="session">Subapplications by Application (tgbrg5154m000)</GUIRef>.</Paragraph>
      <Paragraph>This functionality is taken over by session <GUIRef href="/baanerp/tg/brg/tgbrg5258m000" role="session">Generate Sub-Apps by Application Based on Tools Session Tables (tgbrg5258m000)</GUIRef>.</Paragraph>
      <Paragraph>Start this session from the Specific Menu in session <GUIRef href="/baanerp/tg/brg/tgbrg5155m000" role="session">Applications by Component (tgbrg5155m000)</GUIRef>.</Paragraph>
   </GeneralSection>
</ManualTopic>