<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/archiving/td/Atdpur4224m000" xml:lang="en">
   <Header>
      <Title>Delete Purchase Orders (tdpur4224m000)</Title>
   </Header>
   <AimSection>
      <Paragraph>
         <GUIRef href="" role="manual">Path:// Procurement/Purchase Orders/Purchase Orders (tdpur4100m000), menu command Delete</GUIRef>
      </Paragraph>
   </AimSection>
   <GeneralSection>
      <SectionTitle>Session objective</SectionTitle>
      <Paragraph>To delete purchase orders, use this session. When you delete
		data, all detailed operational data is removed from the tables. The purchase
		order history will not be deleted.</Paragraph>
      <Paragraph>This session is not a true archiving session because it does not
		copy data to an archive company before removing the data. The session is
		described here because it is an important session for deleting operational data
		and often a prerequisite for other archiving sessions.</Paragraph>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>How to use this session</SectionTitle>
      <Paragraph>This session can be used to delete processed orders, canceled
		orders, and/or purchase orders without lines. For all actions, you can enter a
		delete up to date. The process performs the following actions:</Paragraph>
      <List>
         <ListItem>Deletes order-specific BOM lines.</ListItem>
         <ListItem>Deletes order header and lines.</ListItem>
         <ListItem>Deletes specific inspection data.</ListItem>
      </List>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>If the Finance package is implemented, you are strongly
		  advised not to delete order data in a fiscal year that has not yet been fully
		  closed. This is because the GRINYA process uses information that would be
		  deleted by this action. For best results, check whether the logistical balance
		  for non-invoiced receipts matches the balance of the GRINYA accounts for the
		  periods up to which you want to delete purchase order data.</Paragraph>
      </Note>
      <Paragraph>Depending on the <GUIRef href="/baanerp/td/pur/tdpur0100m400#tdpur000.mdoh.4" role="manual">Method of Deleting Order History Data</GUIRef> parameter
		setting in the <GUIRef href="/baanerp/td/pur/tdpur0100m400" role="session">Purchase Order Parameters (tdpur0100m400)</GUIRef> session, data
		is cleared by order line or by order. If you select <GUIRef href="/baanerp/td/domains/pur.clro#order" role="option">By Order</GUIRef>, you will always have the receipt data of the entire order at
		your disposal as long as not all the items to be delivered have been
		received.</Paragraph>
      <Paragraph/>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Prerequisites</SectionTitle>
      <Paragraph>A purchase order line can only be deleted if the following
		criteria are met:</Paragraph>
      <List>
         <ListItem>The purchase order line has been processed.</ListItem>
         <ListItem>The purchase invoice matching procedure has been approved if
		  the Finance package is implemented.</ListItem>
         <ListItem>The project has been archived or deleted for project-related
		  purchases.</ListItem>
         <ListItem>The inbound advice has been fully processed.</ListItem>
         <ListItem>The invoice date falls before the date entered on the screen.
		  If the invoice is not printed, the receipt date is used.</ListItem>
         <ListItem>After matching and approval of invoices for the order line is
		  performed, the purchase costs are updated to history.</ListItem>
         <ListItem>Consignment replenishment has been completely
		  consumed.</ListItem>
         <ListItem>Triangular invoicing has been performed.</ListItem>
      </List>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>Invoked tables</SectionTitle>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="9">
            <TR no="1" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Purchase Orders</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur400</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Purchase Order Lines</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur401</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Linked Order Line Data</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur402</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="4" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Purchase Order BOM</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur403</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="5" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Purchase Actual
				Receipts</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur406</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="6" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Purchase Order Material Supply
				Lines</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur416</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="7" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Purchase Payable Receipts</TD>
               <TD width="84" rowspan="1" colspan="1">tdpur430</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="8" isLast="false">
               <TD width="275" rowspan="1" colspan="1">Link (BOM/Material, Routing/Operations)</TD>
               <TD width="84" rowspan="1" colspan="1">qmptc012</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
            <TR no="9" isLast="true">
               <TD width="275" rowspan="1" colspan="1">Order-Specific Inspections</TD>
               <TD width="84" rowspan="1" colspan="1">qmptc049</TD>
               <TD width="70" rowspan="1" colspan="1">Deleted</TD>
            </TR>
         </TBODY>
      </TABLE>
      <Paragraph>This session invokes other tables, but these are less
		relevant.</Paragraph>
   </GeneralSection>
</ManualTopic>