<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/td/ipu/tdipu0225m000" xml:lang="en">
   <Header>
      <Title>Generate Planned Delivery Moments (tdipu0225m000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <Paragraph>Use this session to to generate/update
		  planned delivery moments that are used by <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> for lead
		  time <Link href="/baanerp/td/glossary/glossary#000345" role="glossary">offsetting</Link>.</Paragraph>
         <Paragraph>In this session, you can generate planned delivery moments
		  both for shipment based schedules and for delivery based schedules.</Paragraph>
      </AimSection>
      <GeneralSection>
         <Paragraph>If you want to generate delivery moments for shipment based
		  purchase schedules, select the <GUIRef href="/baanerp/td/ipu/tdipu0225m000#shipment.based" role="manual">Generate Shipment-based Delivery Moments</GUIRef> check box.
		  The delivery moments generated in the current session are first returned as
		  planned shipment moments. Because, for lead-time offsetting, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> is only
		  interested in planned delivery moments, planned shipment moments must be
		  converted into planned delivery moments. To return planned delivery moments for
		  shipment based schedules, LN carries out the following steps:</Paragraph>
         <ProcedureList>
            <ListItem>Retrieves all valid combinations of warehouse, ship-from
			 business partner and delivery pattern from the <GUIRef href="/baanerp/td/ipu/tdipu0124m000" role="session">Delivery Patterns by Warehouse / BP / Item (tdipu0124m000)</GUIRef> session.</ListItem>
            <ListItem>For all valid combinations, LN retrieves the delivery
			 moments from the <GUIRef href="/baanerp/tc/ccp/tcccp0690m000" role="session">Patterns (tcccp0690m000)</GUIRef> session, which must be seen as
			 shipment moments.</ListItem>
            <ListItem>Converts each shipment moment into a delivery moment by
			 adjusting shipment moments to the transportation time between the address of
			 the ship-from business partner and the warehouse address, which you can define
			 in the <GUIRef href="/baanerp/tc/com/tccom4137s000" role="session">Distance Table by City (tccom4137s000)</GUIRef> session or the <GUIRef href="/baanerp/tc/com/tccom4138s000" role="session">Distance Table by ZIP Code/Postal Code (tccom4138s000)</GUIRef> session. To calculate a
			 transportation time, a ship-from address, a ship-to address, and, if entered, a
			 carrier are needed. In the <GUIRef href="/baanerp/td/ipu/tdipu0124m000" role="session">Delivery Patterns by Warehouse / BP / Item (tdipu0124m000)</GUIRef> session, the ship-to address
			 can be read from the warehouse. The ship-from address (and the carrier),
			 however, can only be read from the ship-from business partner. As a result, for
			 shipment based schedules, LN only retrieves combinations from the <GUIRef href="/baanerp/td/ipu/tdipu0124m000" role="session">Delivery Patterns by Warehouse / BP / Item (tdipu0124m000)</GUIRef> session in which business
			 partners are filled.</ListItem>
            <ListItem>For each delivery moment, LN checks whether the
			 moment is available in the <Link href="/baanerp/tc/glossary/glossary#Calendar_tc" role="glossary">calendar</Link> that is linked to the warehouse, which you can
			 enter in the <GUIRef href="/baanerp/wh/wmd/whwmd2500m000" role="session">Warehouses (whwmd2500m000)</GUIRef> session. <List>
                  <ListItem>If the warehouse is not open at the moment of delivery,
				  and no carrier is used, no planned delivery moments are generated.</ListItem>
                  <ListItem>If the warehouse is not open at the moment of delivery,
				  and a carrier is used, LN returns the first available delivery moment.</ListItem>
               </List>
            </ListItem>
            <ListItem>This step only applies if you use a carrier. In this case,
			 for each shipment moment, LN checks whether the moment is available in
			 the calendar that is linked to the carrier's buy-from business partner. <List>
                  <ListItem>If the carrier is not available on the moment of
				  departure, no delivery moment is generated. The moments of departure are the
				  outcomes of step two.</ListItem>
                  <ListItem>If the carrier is not available on the moment of
				  delivery, no delivery moment is generated. The moments of delivery are the
				  outcomes of step four.</ListItem>
               </List>
            </ListItem>
            <ListItem>LN skips shipment moments for which the same delivery moment is calculated. As a
			 result, when the same delivery moment is calculated for more than one shipping
			 moment, only for the latest shipping moment a delivery moment is generated in
			 the <GUIRef href="/baanerp/td/ipu/tdipu0125m000" role="session">Planned Delivery Moments (Shipment Based) (tdipu0125m000)</GUIRef> session.</ListItem>
         </ProcedureList>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <Paragraph>Although a carrier and a ship-from address can also be
			 defined in the <GUIRef href="/baanerp/td/pur/tdpur3100m000" role="session">Purchase Contracts (tdpur3100m000)</GUIRef> session, <GUIRef href="/baanerp/td/pur/tdpur3110m000" role="session">Purchase Schedules (tdpur3110m000)</GUIRef> session, and the <GUIRef href="/baanerp/td/ipu/tdipu0110m000" role="session">Items - Purchase Business Partner (tdipu0110m000)</GUIRef> session, they are not used to
			 calculate the transportation time. To calculate the transportation time, LN retrieves the
			 ship-from address and, if entered, the carrier, from the ship-from business
			 partner as defined in the <GUIRef href="/baanerp/td/ipu/tdipu0124m000" role="session">Delivery Patterns by Warehouse / BP / Item (tdipu0124m000)</GUIRef> session.</Paragraph>
         </Note>
         <Paragraph/>
         <Paragraph>If you want to generate delivery moments for delivery based
		  purchase schedules, select the <GUIRef href="/baanerp/td/ipu/tdipu0225m000#delivery.based" role="manual">Generate Delivery-based Delivery Moments</GUIRef> check box.
		  To return planned delivery moments for delivery based schedules, LN carries out the
		  following steps:</Paragraph>
         <ProcedureList>
            <ListItem>Retrieves all valid combinations of warehouse and delivery
			 pattern from the <GUIRef href="/baanerp/td/ipu/tdipu0124m000" role="session">Delivery Patterns by Warehouse / BP / Item (tdipu0124m000)</GUIRef> session.</ListItem>
            <ListItem>For all valid combinations, LN retrieves the delivery
			 moments from the <GUIRef href="/baanerp/tc/ccp/tcccp0690m000" role="session">Patterns (tcccp0690m000)</GUIRef> session.</ListItem>
            <ListItem>For each delivery moment, LN compares it to the
			 warehouse calendar, which you can enter in the <GUIRef href="/baanerp/wh/wmd/whwmd2500m000" role="session">Warehouses (whwmd2500m000)</GUIRef> session. If the delivery moment is available in the
			 calendar that is linked to the warehouse, the delivery moment is inserted in
			 the <GUIRef href="/baanerp/td/ipu/tdipu0126m000" role="session">Planned Delivery Moments (Delivery Based) (tdipu0126m000)</GUIRef> session.</ListItem>
         </ProcedureList>
      </GeneralSection>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <List>
            <ListItem>For shipment based schedules, the generated planned delivery
			 moments are stored in the <GUIRef href="/baanerp/td/ipu/tdipu0125m000" role="session">Planned Delivery Moments (Shipment Based) (tdipu0125m000)</GUIRef> session.</ListItem>
            <ListItem>For delivery based schedules, the generated planned delivery
			 moments are stored in the <GUIRef href="/baanerp/td/ipu/tdipu0126m000" role="session">Planned Delivery Moments (Delivery Based) (tdipu0126m000)</GUIRef> session.</ListItem>
         </List>
      </Note>
      <RelatedTopics>
         <SectionTitle>Related topics</SectionTitle>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000352" role="manual">To use planned delivery moments</Link>
         </RelTopic>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000010" role="manual">Overview of purchase schedule handling</Link>
         </RelTopic>
         <RelTopic>
            <Link href="/baanerp/td/onlinemanual/000343" role="manual">Constraints for generating non-referenced purchase schedule lines</Link>
         </RelTopic>
      </RelatedTopics>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="shipment.based">
         <Header>
            <Title>Generate Shipment-based Delivery Moments</Title>
         </Header>
         <FuncDesc>If this check box is selected, LN generates planned delivery moments for
		  shipment based purchase schedules.</FuncDesc>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <Paragraph>The generated planned delivery moments are stored in the <GUIRef href="/baanerp/td/ipu/tdipu0125m000" role="session">Planned Delivery Moments (Shipment Based) (tdipu0125m000)</GUIRef> session from which they are
			 called on by <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> for lead time <Link href="/baanerp/td/glossary/glossary#000345" role="glossary">offsetting</Link>.</Paragraph>
         </Note>
         <RelatedTopics>
            <SectionTitle>Related topics</SectionTitle>
            <RelTopic>
               <Link href="/baanerp/td/onlinemanual/000352" role="manual">To use planned delivery moments</Link>
            </RelTopic>
         </RelatedTopics>
      </FieldHelp>
      <FieldHelp ID="delivery.based">
         <Header>
            <Title>Generate Delivery-based Delivery Moments</Title>
         </Header>
         <FuncDesc>If this check box is selected, LN generates planned delivery moments for
		  delivery based purchase schedules.</FuncDesc>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <Paragraph>The generated planned delivery moments are stored in the <GUIRef href="/baanerp/td/ipu/tdipu0126m000" role="session">Planned Delivery Moments (Delivery Based) (tdipu0126m000)</GUIRef> session from which they are
			 called on by <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> for lead time <Link href="/baanerp/td/glossary/glossary#000345" role="glossary">offsetting</Link>.</Paragraph>
         </Note>
      </FieldHelp>
      <FieldHelp ID="gen.from.date">
         <Header>
            <Title>Generate from Date</Title>
         </Header>
         <FuncDesc>This field serves two purposes:</FuncDesc>
         <SimpleSection>
            <List>
               <ListItem>As a start date from which delivery moments are generated.</ListItem>
               <ListItem>As a start date from which old delivery moments are
				removed.</ListItem>
            </List>
         </SimpleSection>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <List>
               <ListItem>The delivery moments are generated until the date as
				defined in the <GUIRef href="/baanerp/td/ipu/tdipu0225m000#horizon.end.date" role="manual">Horizon End Date</GUIRef> field of the current session.</ListItem>
               <ListItem>Removal of delivery moments is only indicated by a start
				date. All old delivery moments are removed as from the date that is defined in
				the current field.</ListItem>
            </List>
         </Note>
      </FieldHelp>
      <FieldHelp ID="horizon.end.date">
         <Header>
            <Title>Horizon End Date</Title>
         </Header>
         <FuncDesc>The date until which the delivery moments are
		  generated/updated.</FuncDesc>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <List>
               <ListItem>The delivery moment generated last, is always smaller than
				or equal to the horizon end date.</ListItem>
               <ListItem>Because delivery moments are not calculated for the period
				after the horizon end date, during this period, <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> is free
				to plan its own delivery moments.</ListItem>
            </List>
         </Note>
      </FieldHelp>
      <FieldHelp ID="print.report">
         <Header>
            <Title>Print Error Report</Title>
         </Header>
         <FuncDesc>If this check box is selected, an error report is
		  printed when errors occur during the generation process.</FuncDesc>
      </FieldHelp>
   </Fields>
</Session>