<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/td/onlinemanual/000360" xml:lang="en">
   <Header>
      <Title>To process/delete sales schedules</Title>
      <Keyword type="header" order="d1e1294800">
         <Level1>Sales schedules</Level1>
         <Level2>processing</Level2>
      </Keyword>
      <Keyword type="header" order="d1e1294805">
         <Level1>Sales schedules</Level1>
         <Level2>deleting</Level2>
      </Keyword>
   </Header>
   <AimSection>
      <Paragraph>If the invoice for a sales schedule line is sent, the sales
		schedule line has the <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> status. You can process and delete sales
		schedules whose lines have the <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> status.</Paragraph>
      <List>
         <ListItem>Use the <GUIRef href="/baanerp/td/sls/tdsls3223m000" role="session">Process Delivered Sales Schedules (tdsls3223m000)</GUIRef> session to process sales
		  schedules.</ListItem>
         <ListItem>Use the <GUIRef href="/baanerp/td/sls/tdsls3224m000" role="session">Delete Sales Schedules (tdsls3224m000)</GUIRef> session to delete processed or canceled and
		  replaced sales schedules.</ListItem>
      </List>
   </AimSection>
   <GeneralSection>
      <SectionTitle>Process</SectionTitle>
      <List>
         <ListIntro>If you process sales schedules in the <GUIRef href="/baanerp/td/sls/tdsls3223m000" role="session">Process Delivered Sales Schedules (tdsls3223m000)</GUIRef> session, LN:</ListIntro>
         <ListItem>Creates sales schedule turnover history for the processed sales
		  schedules. You can view the turnover history in the sales order/schedule
		  history sessions.</ListItem>
         <ListItem>Updates the sales contract line's <GUIRef href="/baanerp/td/sls/tdsls3513m000#tdsls301.qiiv" role="field">Invoiced Quantity</GUIRef> if a sales contract is linked to the
		  sales schedule line.</ListItem>
         <ListItem>Changes the sales schedule status, the sales schedule line
		  status, and the sales schedule line's actual delivery line status from <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> to <GUIRef href="/baanerp/td/domains/sls.stat#processed" role="option">Processed</GUIRef>.</ListItem>
         <ListItem>Processes the linked <Link href="/baanerp/td/glossary/glossary#000326" role="glossary">planned warehouse orders</Link> with the <GUIRef href="/baanerp/td/domains/sls.whst#invoiced" role="option">Invoiced</GUIRef> status.</ListItem>
      </List>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>You cannot process sales schedules for which uninvoiced
		  invoice corrections exist.</Paragraph>
      </Note>
      <ProcedureList>
         <ListIntro>If you process a sales schedule for which not all sales
		  schedule lines, sales schedule actual delivery lines, or invoice corrections
		  have the <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> status, LN:</ListIntro>
         <ListItem>Changes the status of the sales schedule lines, actual
		  delivery lines, and invoice corrections with the <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> status to <GUIRef href="/baanerp/td/domains/sls.stat#processed" role="option">Processed</GUIRef>.</ListItem>
         <ListItem>Does not change the status of the sales schedule lines, actual
		  delivery lines, and invoice corrections that do not have the <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> status.</ListItem>
         <ListItem>Changes the sales schedule status to <GUIRef href="/baanerp/td/domains/sls.hstat#processing.on" role="option">Processing in Process</GUIRef>.</ListItem>
      </ProcedureList>
      <Paragraph>If, for a sales schedule with the <GUIRef href="/baanerp/td/domains/sls.hstat#processing.on" role="option">Processing in Process</GUIRef> status, the not yet processed sales
		schedule lines, actual delivery lines, or invoice corrections receive the <GUIRef href="/baanerp/td/domains/sls.stat#invoiced" role="option">Invoiced</GUIRef> status, LN automatically processes these sales schedule
		lines, actual delivery lines, and invoice corrections and changes the sales
		schedule's status to <GUIRef href="/baanerp/td/domains/sls.stat#processed" role="option">Processed</GUIRef>.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Delete</SectionTitle>
      <Paragraph>In the <GUIRef href="/baanerp/td/sls/tdsls3224m000" role="session">Delete Sales Schedules (tdsls3224m000)</GUIRef> session, you can delete <GUIRef href="/baanerp/td/domains/sls.stat#cancelled" role="option" Update="No">Canceled</GUIRef>, <GUIRef href="/baanerp/td/domains/sls.stat#replaced" role="option" Update="No">Replaced</GUIRef>, and <GUIRef href="/baanerp/td/domains/sls.stat#processed" role="option">Processed</GUIRef> sales schedule lines.</Paragraph>
      <List>
         <ListIntro>If you delete a processed sales schedule, LN deletes all data
		  related to the sales schedule, such as:</ListIntro>
         <ListItem>The sales schedule and sales schedule lines.</ListItem>
         <ListItem>The pick-up sheet and pick-up sheet lines.</ListItem>
         <ListItem>The sales release, release lines, and release line
		  details.</ListItem>
         <ListItem>The sequence shipping information.</ListItem>
         <ListItem>The sales schedule actual delivery lines.</ListItem>
         <ListItem>The shipped CUM.</ListItem>
         <ListItem>The invoiced CUM.</ListItem>
         <ListItem>The FAB and RAW authorizations.</ListItem>
      </List>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <List>
            <ListItem>Sales schedule lines can only be deleted after successful
			 deletion of the linked warehouse order, the planned warehouse order links, and
			 the <Link href="/baanerp/td/glossary/glossary#000326" role="glossary">planned warehouse order(s)</Link>.</ListItem>
            <ListItem>When all lines of a schedule are deleted, LN also deletes the
			 schedule header.</ListItem>
         </List>
      </Note>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/td/onlinemanual/000130" role="manual">Sales schedule procedure</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>