<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ti/onlinemanual/000685" xml:lang="en">
   <Header>
      <Title>Closing Assembly Lines</Title>
      <Keyword type="header" order="d1e2042784">
         <Level1>Closing</Level1>
         <Level2>assembly lines</Level2>
      </Keyword>
      <Keyword type="header" order="d1e2042789">
         <Level1>Assembly Lines</Level1>
         <Level2>closing</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <SectionTitle>Prerequisites</SectionTitle>
      <List>
         <ListIntro>You can only close assembly lines by means of this option, if
		  the following conditions are met:</ListIntro>
         <ListItem>You use <GUIRef href="/baanerp/ti/domains/asc.trpr#line" role="option">Line Station Based</GUIRef> transaction processing. The <GUIRef href="/baanerp/ti/asc/tiasc0100m000#tiasc000.trpr" role="manual">Transaction Processing</GUIRef> parameter is set in the <Link href="/baanerp/ti/asc/tiasc0100m000" role="session">
               <GUIRef href="/baanerp/ti/asc/tiasc0100m000" role="session">Assembly Control Parameters (tiasc0100m000)</GUIRef>
            </Link> session. If you use <GUIRef href="/baanerp/ti/domains/asc.trpr#order" role="option">Order Based</GUIRef> transaction processing, you cannot use this session, because LN closes the line
		  automatically when the assembly orders are closed, in the <Link href="/baanerp/ti/asc/tiasc7210m000" role="session">
               <GUIRef href="/baanerp/ti/asc/tiasc7210m000" role="session">Close Assembly Orders (tiasc7210m000)</GUIRef>
            </Link> session.</ListItem>
         <ListItem>All line station orders are <GUIRef href="/baanerp/ti/domains/asc.lsst#closed" role="option">Closed</GUIRef>,
		  which means that all line station orders for this day are
		  backflushed.</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Functionality</SectionTitle>
      <List>
         <ListIntro>If you close an assembly line, the following actions are
		  performed:</ListIntro>
         <ListItem>The line surcharges are applied to the actual WIP. This happens
		  before the production results are calculated.</ListItem>
         <ListItem>The results of the line are calculated and posted.</ListItem>
         <ListItem>The clustered line station orders (CLSOs) that are linked to
		  the line stations receive the status <GUIRef href="/baanerp/ti/domains/asc.alst#closed" role="option">Closed</GUIRef>.
		  In <GUIRef href="/baanerp/ti/domains/asc.trpr#line" role="option">Line Station Based</GUIRef> transaction processing, a CLSO is linked to a line station per
		  day, and this CLSO holds all the parts requirements.</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Post-requirements</SectionTitle>
      <Paragraph>After this session is run, you must delete unwanted data with
		the <Link href="/baanerp/ti/asl/tiasl1200m000" role="session">Purge State-dependent ASC Data (tiasl1200m000)</Link> and <Link href="/baanerp/ti/asl/tiasl1210m000" role="session">Purge State-independent ASC Data (tiasl1210m000)</Link> sessions.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Financial Transactions</SectionTitle>
      <Paragraph>The production result is
		calculated as follows:</Paragraph>
      <Formula space-and-orientation="indented-estimated">
         <Paragraph>Production result = estimated WIP - actual WIP</Paragraph>
      </Formula>
      <Paragraph>The financial transactions that are posted, depend on the
		question whether the assembly line concerned is a main line or supplying
		line.</Paragraph>
      <List>
         <ListIntro>If the assembly line is a <Emphasis>supplying</Emphasis> line, the following transactions are posted:</ListIntro>
         <ListItem>Transaction origin: ASC production</ListItem>
         <ListItem>Financial int. transaction: Line surcharges</ListItem>
      </List>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="2">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">Debit</TD>
               <TD rowspan="1" colspan="1">Production WIP</TD>
            </TR>
            <TR no="2" isLast="true">
               <TD rowspan="1" colspan="1">Credit</TD>
               <TD rowspan="1" colspan="1">Surcharge coverage</TD>
            </TR>
         </TBODY>
      </TABLE>
      <List>
         <ListItem>Transaction origin: ASC production</ListItem>
         <ListItem>Financial int. transaction: Production result</ListItem>
      </List>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="2">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">Debit</TD>
               <TD rowspan="1" colspan="1">Production WIP</TD>
            </TR>
            <TR no="2" isLast="true">
               <TD rowspan="1" colspan="1">Credit</TD>
               <TD rowspan="1" colspan="1">Production result</TD>
            </TR>
         </TBODY>
      </TABLE>
      <Paragraph>If the assembly line is
		a <Emphasis>main</Emphasis> line, the WIP of every order is transferred to the
		calculation office of the order, which results in the posting of a WIP transfer
		issue and receipt. In addition to the postings provided in the previous
		paragraphs, the following transactions are also posted:</Paragraph>
      <List>
         <ListItem>Transaction origin: ASC production</ListItem>
         <ListItem>Financial int. transaction: WIP transfer issue</ListItem>
      </List>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="2">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">Debit</TD>
               <TD rowspan="1" colspan="1">WIP in transit</TD>
            </TR>
            <TR no="2" isLast="true">
               <TD rowspan="1" colspan="1">Credit</TD>
               <TD rowspan="1" colspan="1">Production WIP</TD>
            </TR>
         </TBODY>
      </TABLE>
      <List>
         <ListItem>Transaction origin: ASC production</ListItem>
         <ListItem>Financial int. transaction: WIP transfer receipt</ListItem>
      </List>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="2">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">Debit</TD>
               <TD rowspan="1" colspan="1">Production WIP</TD>
            </TR>
            <TR no="2" isLast="true">
               <TD rowspan="1" colspan="1">Credit</TD>
               <TD rowspan="1" colspan="1">WIP in transit</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
   <Note>
      <SectionTitle>Note</SectionTitle>
      <List>
         <ListItem>
            <Paragraph>If you use <GUIRef href="/baanerp/ti/domains/asc.trpr#line" role="option">Line Station Based</GUIRef> transaction processing, you can only have results per assembly
			 line per day.</Paragraph>
            <Paragraph>If you run this session for a range of days, that is, for
			 every day that the line surcharges are applied to the actual WIP of that day,
			 the production results are calculated and posted for each day. The final
			 outcome is a result that is calculated per assembly line per day, and is logged
			 to the last line station of the assembly line. Line surcharges are applied to
			 the actual WIP before the production results are calculated.</Paragraph>
         </ListItem>
         <ListItem>The WIP figures apply to all the line stations of all the
		  orders on the day concerned.</ListItem>
         <ListItem>You can reopen an assembly line by booking extra hours in <GUIRef href="/baanerp/bp" role="package">People</GUIRef>. You must then close
		  the assembly line again, with the current session.</ListItem>
      </List>
   </Note>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000301" role="manual">Assembly control overview</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000306" role="manual">Assembly orders</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000303" role="manual">Assembly order costing</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>