<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/dm/admin/ad000492" xml:lang="en">
   <Header>
      <Title>Related Objects</Title>
      <Keyword type="header" order="d1e252168">
         <Level1>Related objects</Level1>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>A related object is an object related to the main object in a
		functional flow and defined in ODM along with the main object.</Paragraph>
      <Paragraph>A main object is an ERP entity that is defined in ODM. The main
		object can have relations with other objects in the ERP, according to the
		business flow.</Paragraph>
      <Paragraph>The linked document revisions of all related objects and main
		objects can be displayed in the <GUIRef href="/baanerp/dm/com/dmcom8110m000" role="session">Objects Links (dmcom8110m000)</GUIRef> session.</Paragraph>
      <Figure space-and-orientation="indented-estimated">
         <FigIntro>To view the documents of related objects along with the
		  documents of main objects the attribute in the <GUIRef href="/baanerp/dm/sys/dmsys0100m000" role="session">Common ODM Parameters (dmsys0100m000)</GUIRef> session must be set to <GUIRef href="" role="manual">Yes</GUIRef>. The attribute is <GUIRef href="" role="manual">ATT-000007</GUIRef>, as
		  illustrated in the following figure:</FigIntro>
         <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" height="254" width="594"
                   SRC="images/tr_screen_ad000492_1.png"
                   alt="[...]"/>
      </Figure>
      <Paragraph>If this parameter is set to <GUIRef href="" role="manual">Yes</GUIRef>, the
		functionality of related objects is enabled. This implies that the document
		revisions linked to the related object also appear along with the document
		revisions of main objects if you select the paper clip icon from the main
		object session, which you can do as long as the related object is defined for
		the main object.</Paragraph>
      <Paragraph>You must also perform one additional step before the set up is
		ready to implement this functionality: you must define related objects for the
		functionality to work.</Paragraph>
      <Paragraph>You can perform this step in the <GUIRef href="/baanerp/dm/sys/dmsys1113m000" role="session">Related Objects (dmsys1113m000)</GUIRef> session, which you can start from the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu
		of the <GUIRef href="" role="session">Objects</GUIRef> session.</Paragraph>
      <Paragraph>You can also start this session in the Menu Browser: <GUIRef href="" role="manual">Object Data Management</GUIRef> menu, double-click <GUIRef>
            <GUIRef href="" role="manual">ODM Configuration</GUIRef> &gt;   &gt; <GUIRef href="" role="manual">Objects</GUIRef> &gt;   &gt; <GUIRef href="" role="manual">Related Objects</GUIRef>
         </GUIRef>.</Paragraph>
      <Figure space-and-orientation="indented-estimated">
         <FigIntro>The following figure shows the <GUIRef href="/baanerp/dm/sys/dmsys1113m000" role="session">Related Objects (dmsys1113m000)</GUIRef> session:</FigIntro>
         <HTML:IMG xmlns:HTML="http://www.w3.org/TR/REC-html40" height="301" width="720"
                   SRC="images/tr_screen_ad000492_2.png"
                   alt="[...]"/>
      </Figure>
      <List>
         <ListIntro>You must adhere to the following guidelines, with respect to
		  related objects:</ListIntro>
         <ListItem>You can be add, modify, or delete the records, depending on the
		  user authorizations and according to the requirements.</ListItem>
         <ListItem>You must maintain authorizations to include or exclude related
		  objects for a main object.</ListItem>
         <ListItem>The object name for related object is RELATED_OBJECTS and the
		  respective actions are RO_NEW, RO_MODIFY, and RO_DELETE to create, update, and
		  delete the related objects respectively. This object and the object’ s actions
		  are defined as system objects and system actions.</ListItem>
         <ListItem>The <GUIRef href="/baanerp/dm/sys/dmsys1113m000#dmsys113.obid" role="manual">Main Object</GUIRef> and <GUIRef href="/baanerp/dm/sys/dmsys1113m000#dmsys113.rbid" role="manual">Related Object</GUIRef> fields are the objects defined in the
		  Objects sessions.</ListItem>
         <ListItem>The <GUIRef href="/baanerp/dm/sys/dmsys1113m000#dmsys113.rfld" role="manual">Reference Field</GUIRef> is the field in the table of the main
		  object and must have a table level reference to the field of the Related Object
		  table.</ListItem>
         <ListItem>The <GUIRef href="/baanerp/dm/sys/dmsys1113m000#dmsys113.dsca" role="manual">Label Description</GUIRef> is the valid description to be
		  displayed when the respective document revisions are linked.</ListItem>
      </List>
      <Paragraph>For example, consider the marked record shown in the previous
		figure. BOM is the main object and MAIN ITEM is the object’ s related object
		and tibom010.mitm is the field in the table of the BOM and has a table level
		reference to the respective field of the MAIN ITEM table. If these conditions
		are not met, the user cannot save the record.</Paragraph>
      <Paragraph>The exception is if the main object and related object are the
		same. In this case, the table level reference is not checked.</Paragraph>
      <List>
         <ListItem>In the <GUIRef href="/baanerp/dm/com/dmcom8110m000" role="session">Objects Links (dmcom8110m000)</GUIRef> session, the <GUIRef href="/baanerp/dm/com/dmcom8110m000#dmcom010.lgcl" role="manual">Main Link</GUIRef> check box is cleared for the related
		  objects records. For the main object records, this check box is selected.</ListItem>
      </List>
   </GeneralSection>
</ManualTopic>