<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/archiving/ci/Acisli3210m000" xml:lang="en">
   <Header>
      <Title>Purge Sales Invoice Data (cisli3210m000)</Title>
   </Header>
   <AimSection>
      <Paragraph>
         <GUIRef href="" role="manual">Path:// Central Invoicing / Processing of invoices / Purge Sales Invoice Data</GUIRef>
      </Paragraph>
   </AimSection>
   <GeneralSection>
      <SectionTitle>Session objective</SectionTitle>
      <Paragraph>To remove posted and paid sales invoices and canceled sales
		invoice lines, use this session.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>How to use this session</SectionTitle>
      <Paragraph>To copy the data to the history company, on the second tab,
		verify the <GUIRef href="/baanerp/ci/sli/cisli3210m000#copy.to.history" role="manual">Copy to History Company</GUIRef> check box is selected and the
		correct history company number is entered. If the check box remains cleared,
		the invoice data will be deleted. In the Purge section, specify which data must
		be purged, in the following order:</Paragraph>
      <List>
         <ListItem>Template</ListItem>
         <ListItem>Billing Request</ListItem>
         <ListItem>Invoice</ListItem>
         <ListItem>Open Entries</ListItem>
      </List>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="4">
            <TR no="1" isLast="false">
               <TD width="137" rowspan="1" colspan="1">Before deleting...</TD>
               <TD width="242" rowspan="1" colspan="1">First delete...</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD width="137" rowspan="1" colspan="1">An invoice</TD>
               <TD width="242" rowspan="1" colspan="1">All open entries in the ACR module</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="137" rowspan="1" colspan="1">A
				billing request</TD>
               <TD width="242" rowspan="1" colspan="1">All invoices in the SLI
				module</TD>
            </TR>
            <TR no="4" isLast="true">
               <TD width="137" rowspan="1" colspan="1">A template</TD>
               <TD width="242" rowspan="1" colspan="1">All billing
				requests</TD>
            </TR>
         </TBODY>
      </TABLE>
      <Paragraph>You can optionally delete canceled invoice lines; to do so,
		select the various check boxes on the first tab. Invoice lines with status
		Canceled in the SLI module can be deleted. For performance optimization, purge
		old data regularly.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Invoked tables</SectionTitle>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="4">
            <TR no="1" isLast="false">
               <TD width="177" rowspan="1" colspan="1">Billing Request
				Addition</TD>
               <TD width="73" rowspan="1" colspan="1">cisli120</TD>
               <TD width="130" rowspan="1" colspan="1">Read</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD width="177" rowspan="1" colspan="1">Billing request</TD>
               <TD width="73" rowspan="1" colspan="1">cisli200</TD>
               <TD width="130" rowspan="1" colspan="1">Read or Archived</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="177" rowspan="1" colspan="1">Templates</TD>
               <TD width="73" rowspan="1" colspan="1">clisli201</TD>
               <TD width="130" rowspan="1" colspan="1">Read or Archived</TD>
            </TR>
            <TR no="4" isLast="true">
               <TD width="177" rowspan="1" colspan="1">Invoice-Source Relations</TD>
               <TD width="73" rowspan="1" colspan="1">cisli205</TD>
               <TD width="130" rowspan="1" colspan="1">Read</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
</ManualTopic>