<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/td/pur/tdpur4224m000" xml:lang="en">
   <Header>
      <Title>Delete Purchase Orders (tdpur4224m000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <List>
            <ListIntro>Use this session to delete:</ListIntro>
            <ListItem>Canceled purchase order lines.</ListItem>
            <ListItem>Processed purchase order lines.</ListItem>
            <ListItem>Purchase orders without purchase order lines.</ListItem>
         </List>
      </AimSection>
      <GeneralSection>
         <List>
            <ListIntro>You cannot delete a purchase order (line) if:</ListIntro>
            <ListItem>The linked warehouse order that is closed cannot be removed
			 yet.</ListItem>
            <ListItem>The purchase order belongs to a PCS project that is not yet
			 archived. When the PCS project is archived, all purchase data is archived as
			 well. From that moment on, you an delete the purchase order.</ListItem>
            <ListItem>A consignment replenishment order is not yet consumed
			 completely.</ListItem>
            <ListItem>The invoice is not completely matched and approved yet.</ListItem>
            <ListItem>The invoice amount is not inserted as turnover history yet.</ListItem>
            <ListItem>The sales order or service order that is linked to the
			 purchase order line, and for which an internal invoice must be sent from the
			 purchase office to the sales office or service office, is not invoiced yet. In
			 this case, you cannot delete the purchase order line before the sales order or
			 service order is invoiced.</ListItem>
         </List>
      </GeneralSection>
      <Important>
         <SectionTitle>Important!</SectionTitle>
         <Paragraph>If LN runs into one of the above mentioned problems, the deletion process stops. You
		  must first solve the problem before you can continue deleting.</Paragraph>
      </Important>
      <GeneralSection>
         <List>
            <ListIntro>During the deletion process, the following data (if present)
			 is removed:</ListIntro>
            <ListItem>Inspection data.</ListItem>
            <ListItem>Linked order line data.</ListItem>
            <ListItem>The purchase order line <Link href="/baanerp/ti/glossary/glossary#BillOfMateri_ti" role="glossary">bill of material (BOM)</Link>.</ListItem>
            <ListItem>The purchase order line.</ListItem>
            <ListItem>Purchase actual receipts, as displayed in the <GUIRef href="/baanerp/td/pur/tdpur4106m000" role="session">Purchase Receipts (tdpur4106m000)</GUIRef> session.</ListItem>
            <ListItem>
               <Link href="/baanerp/tc/glossary/glossary#000477" role="glossary">Landed costs</Link>, as displayed in the <GUIRef href="/baanerp/tc/lct/tclct2100m000" role="session">Landed Cost Lines (tclct2100m000)</GUIRef> session.</ListItem>
            <ListItem>The purchase order header, after all order lines are deleted.</ListItem>
         </List>
      </GeneralSection>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>The way in which LN deletes the order data depends on the value
		  of the <Link href="/baanerp/td/pur/tdpur0100m400#tdpur000.clro.4" role="formfield">Delete Order Data if Received Completely</Link> field in the <GUIRef href="/baanerp/td/pur/tdpur0100m400" role="session">Purchase Order Parameters (tdpur0100m400)</GUIRef> session.</Paragraph>
      </Note>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="delete.orders">
         <Header>
            <Title>Delete Processed Orders</Title>
         </Header>
         <FuncDesc>If this check box is selected, LN deletes the purchase
		  order lines that are <GUIRef href="/baanerp/td/domains/pur.stat#processed" role="option">Processed</GUIRef>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="del.ord.upto">
         <Header>
            <Title>Delete up to Date</Title>
         </Header>
         <FuncDesc>The date until which you want LN to delete the <GUIRef href="/baanerp/td/domains/pur.stat#processed" role="option">Processed</GUIRef> order data.</FuncDesc>
         <SimpleSection>
            <Paragraph>The entered date is matched with the invoice date. If no
			 invoice is printed for the receipt of the goods, LN compares this date
			 with the receipt date. As a result, LN deletes all processed purchase order lines
			 of which the invoice date or receipt date is earlier than the date as entered
			 in this field.</Paragraph>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="delete.cancelled">
         <Header>
            <Title>Delete Canceled Orders</Title>
         </Header>
         <FuncDesc>If this check box is selected, LN deletes the purchase
		  order lines that are <GUIRef href="/baanerp/td/domains/pur.stat#cancelled" role="option">Canceled</GUIRef>.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="del.canc.ord.upto">
         <Header>
            <Title>Delete up to Date</Title>
         </Header>
         <FuncDesc>The date until which you want to delete the <GUIRef href="/baanerp/td/domains/pur.stat#cancelled" role="option">Canceled</GUIRef> purchase order data.</FuncDesc>
         <SimpleSection>
            <Paragraph>The entered date is matched with the order date.</Paragraph>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="delete.headers">
         <Header>
            <Title>Delete Orders without Lines</Title>
         </Header>
         <FuncDesc>If this check box is selected, LN deletes the purchase
		  orders to which no lines are linked.</FuncDesc>
      </FieldHelp>
      <FieldHelp ID="del.headers.upto">
         <Header>
            <Title>Delete up to Date</Title>
         </Header>
         <FuncDesc>The date until which you want to delete the purchase orders
		  without lines.</FuncDesc>
         <SimpleSection>
            <Paragraph>The entered date is matched with the order date.</Paragraph>
         </SimpleSection>
      </FieldHelp>
      <FieldHelp ID="print.errors">
         <Header>
            <Title>Print Errors</Title>
         </Header>
         <FuncDesc>If this check box is selected, if errors occur during
		  the deletion process, LN prints an error report.</FuncDesc>
      </FieldHelp>
   </Fields>
</Session>