<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/td/pur/tdpur3202m000" xml:lang="en">
   <Header>
      <Title>Delete Purchase Contract History (tdpur3202m000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <Paragraph>Use this session to delete <Link href="/baanerp/td/glossary/glossary#PuCoHistor_td" role="glossary">purchase contract history</Link>.</Paragraph>
      </AimSection>
      <GeneralSection>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <Paragraph>You can only delete the history of a contract if the
			 contract has already been deleted. In other words, you cannot delete contract
			 lines from history if:</Paragraph>
            <List>
               <ListItem>Corresponding contract lines are present in the <GUIRef href="/baanerp/td/pur/tdpur3110m000" role="session">Purchase Schedules (tdpur3110m000)</GUIRef> session.</ListItem>
               <ListItem>Corresponding contracts are present in the <GUIRef href="/baanerp/td/pur/tdpur3100m000" role="session">Purchase Contracts (tdpur3100m000)</GUIRef> session.</ListItem>
            </List>
         </Note>
         <GeneralSection>
            <Paragraph>If <Link href="/baanerp/tf/glossary/glossary#000013" role="glossary">financial transactions</Link> are logged for the purchase
			 contract, which you can define in the <GUIRef href="/baanerp/td/pur/tdpur0100m300#tdpur000.lpof.3" role="manual">Log Financial Economic Transactions</GUIRef> field of the <GUIRef href="/baanerp/td/pur/tdpur0100m300" role="session">Purchase Contract Parameters (tdpur0100m300)</GUIRef> session, you can only delete purchase
			 contract history if the financial transactions of the contract (line) are
			 processed in a financial period that has the status <GUIRef href="/baanerp/tf/domains/gld.sper#closed" role="option">Closed</GUIRef> or <GUIRef href="/baanerp/tf/domains/gld.sper#finally.closed" role="option">Finally Closed</GUIRef>. You can view the status of the financial
			 period in the <GUIRef href="/baanerp/tf/gld/tfgld0107m000" role="session">Period Status (tfgld0107m000)</GUIRef> session.</Paragraph>
            <Note>
               <SectionTitle>Note</SectionTitle>
               <Paragraph>If no purchase office is entered on the purchase contract
				line, no financial transactions are written to Financials. As a
				result, ERP Enterprise does not check
				the status of the financial period.</Paragraph>
            </Note>
         </GeneralSection>
         <ProcedureList>
            <ListIntro>Purchase contract history is deleted in the following
			 order:</ListIntro>
            <ListItem>Contract price revision(s) history.</ListItem>
            <ListItem>Logistic parameter history.</ListItem>
            <ListItem>Purchase contract line history.</ListItem>
            <ListItem>Purchase contract header history.</ListItem>
         </ProcedureList>
      </GeneralSection>
      <RelatedTopics>
         <SectionTitle>Related topics</SectionTitle>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000067" role="manual">Purchase contracts</Link>
         </RelTopic>
      </RelatedTopics>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="delete.upto">
         <Header>
            <Title>Delete up to Date</Title>
         </Header>
         <FuncDesc>The date up to which the purchase contract history must be
		  removed.</FuncDesc>
      </FieldHelp>
   </Fields>
   <FormCommands>
      <CommandHelp ID="exec.cont.process">
         <Header>
            <Title>Delete</Title>
         </Header>
         <FuncDesc>Deletes the selected information.</FuncDesc>
      </CommandHelp>
   </FormCommands>
</Session>