<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000014" xml:lang="en">
   <Header>
      <Title>To create freight orders</Title>
      <Keyword type="header" order="d1e456236">
         <Level1>Freight order</Level1>
         <Level2>create</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>After the shipping office
		receives a sales order, purchase order, or other order that requires
		transportation, it creates a freight order that lists the goods on this order.
		The shipping office then uses the freight order to plan the transportation of
		the goods. In fact, transport planning is based on the freight order.</Paragraph>
      <Paragraph>Usually, a shipping
		office receives numerous originating orders to be processed at the same time.
		Some of the items on the originating order can be put on freight orders that
		already exist. This is the case if the origin addresses, the destination
		addresses, the dates, and the times correspond.</Paragraph>
      <List>
         <ListIntro>In LN, freight orders are created automatically or batch-wise from the
		  following types of orders:</ListIntro>
         <ListItem>Sales orders</ListItem>
         <ListItem>Purchase orders</ListItem>
         <ListItem>Warehouse orders</ListItem>
         <ListItem>Planned distribution
		  orders (from <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef>).</ListItem>
      </List>
      <List>
         <ListIntro>Depending on particular system settings (see <Link href="#automatic" role="internal">Automatic creation of freight orders</Link> and <Link href="#batch-wise" role="internal">Batch-wise creation of freight orders</Link>), a freight order is generated in either of the
		  following situations:</ListIntro>
         <ListItem>When an order of any of
		  the above order types is created and saved.</ListItem>
         <ListItem>When a user specifies a
		  batch of orders of any of the above order types to be processed and activates
		  the batch process.</ListItem>
      </List>
      <Paragraph>You can also manually
		create freight orders.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <List>
            <ListItem>
               <List>
                  <ListIntro>Freight order generation might fail due to improper
				  master data setup. See:</ListIntro>
                  <ListItem>
                     <Link href="/baanerp/fm/onlinemanual/000005" role="manual">The use of transport means groups</Link>
                  </ListItem>
                  <ListItem>
                     <Link href="/baanerp/fm/onlinemanual/000010" role="manual">The use of addresses in Freight Management</Link>
                  </ListItem>
                  <ListItem>
                     <Link href="/baanerp/fm/onlinemanual/000002" role="manual">The use of transport types</Link>
                  </ListItem>
                  <ListItem>
                     <Link href="/baanerp/fm/onlinemanual/000022" role="manual">The use of route plans</Link>
                  </ListItem>
                  <ListItem>
                     <Link href="/baanerp/fm/onlinemanual/000049" role="manual">To define and use areas in <GUIRef href="/baanerp/fm" role="package">Freight</GUIRef>
                     </Link>
                  </ListItem>
               </List>
            </ListItem>
            <ListItem>
               <Paragraph>Loads and shipments based on freight orders, whose <Link href="/baanerp/fm/glossary/glossary#000048" role="glossary">originating orders</Link> have no
				warehousing orders, cannot be processed in <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>. This
				means, <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef> cannot confirm or close such loads and shipments. However, you can use loads
				and shipments without warehouse processing to obtain an overview of the
				possible planning data and the freight costs.</Paragraph>
            </ListItem>
         </List>
      </Note>
      <GeneralSection ID="automatic">
         <SectionTitle>Automatic creation of freight orders</SectionTitle>
         <List>
            <ListIntro>You can set automatic creation of freight orders in the
			 following locations:</ListIntro>
            <ListItemHead>Sales orders</ListItemHead>
            <ListItem>
               <Paragraph>You can set automatic creation of freight orders from
				sales orders in the <GUIRef href="/baanerp/td/sls/tdsls0560m000" role="session">Sales Order Type - Activities (tdsls0560m000)</GUIRef> session,
				in which you can specify that freight orders are automatically created for
				sales orders of a particular <GUIRef href="/baanerp/td/sls/tdsls0194s000#tdsls094.sotp" role="manual">Sales Order Type</GUIRef>.</Paragraph>
               <Paragraph>However, if a record for a given item and business partner
				combination is created in the <GUIRef href="/baanerp/td/isa/tdisa0110s000" role="session">Item - Sales Business Partner (tdisa0110s000)</GUIRef> session, to enable automatic creation
				of freight orders for this combination, you must also select the <GUIRef href="/baanerp/td/isa/tdisa0110s000#tdisa010.gefo" role="manual">Generate Freight Order from Sales</GUIRef> check box in the <GUIRef href="/baanerp/td/isa/tdisa0110s000" role="session">Item - Sales Business Partner (tdisa0110s000)</GUIRef> session.</Paragraph>
               <Paragraph>In addition, for individual sales order lines, the <GUIRef href="/baanerp/td/sls/tdsls4101m000#tdsls401.gefo" role="manual">Generate Freight Order from Sales</GUIRef> check box in the <GUIRef href="/baanerp/td/sls/tdsls4101m000" role="session">Sales Order Lines (tdsls4101m000)</GUIRef> session and, if line details exist, in the <GUIRef href="/baanerp/td/sls/tdsls4101m100" role="session">Sales Order Delivery Lines (tdsls4101m100)</GUIRef> session, must be selected. This check box is selected
				by default if automatic generation of freight orders is specified for the sales
				order type.</Paragraph>
            </ListItem>
            <ListItemHead>Purchase orders</ListItemHead>
            <ListItem>
               <Paragraph>You can set automatic creation of freight orders from
				purchase orders in the <GUIRef href="/baanerp/td/pur/tdpur0560m000" role="session">Purchase Order Type - Activities (tdpur0560m000)</GUIRef> session, in which you can specify that
				freight orders are automatically created for purchase orders of a particular <GUIRef href="/baanerp/td/pur/tdpur0195m000#tdpur095.potp" role="manual">Purchase Order Type</GUIRef>.</Paragraph>
               <Paragraph>However, if a record for a given item and business partner
				combination is created in the <GUIRef href="/baanerp/td/ipu/tdipu0110m000" role="session">Items - Purchase Business Partner (tdipu0110m000)</GUIRef> session, to enable automatic creation
				of freight orders for this combination, you must also select the <GUIRef href="/baanerp/td/ipu/tdipu0110m000#tdipu010.gefo" role="manual">Generate Freight Orders from Purchase</GUIRef> check box in the <GUIRef href="/baanerp/td/ipu/tdipu0110m000" role="session">Items - Purchase Business Partner (tdipu0110m000)</GUIRef> session.</Paragraph>
               <Paragraph>In addition, for individual purchase order lines, the <GUIRef href="/baanerp/td/pur/tdpur4101s000#tdpur401.gefo" role="manual">Generate Freight Orders from Purchase</GUIRef> check box must
				be selected in the <GUIRef href="/baanerp/td/pur/tdpur4101s000" role="session">Purchase Order - Line (tdpur4101s000)</GUIRef> session, and, if
				line details exist, in the <GUIRef href="/baanerp/td/pur/tdpur4101s200" role="session">Purchase Order Line Details (tdpur4101s200)</GUIRef> session. This check box is selected by default
				if automatic generation of freight orders is specified for the purchase order
				type.</Paragraph>
               <Paragraph>For direct delivery purchase orders generated from a
				service order, the setting that triggers the generation of a freight order is
				defaulted from the originating service order.</Paragraph>
            </ListItem>
            <ListItemHead>Maintenance sales orders</ListItemHead>
            <ListItem>Generation of freight orders from maintenance sales orders is
			 set in the <GUIRef href="/baanerp/ts/msc/tsmsc1110m000" role="session">Part Lines (tsmsc1110m000)</GUIRef> session.</ListItem>
            <ListItemHead>Warehouse orders</ListItemHead>
            <ListItem>Automatic creation of freight orders from warehouse orders is
			 set in the <GUIRef href="/baanerp/wh/inh/whinh0110m000" role="session">Warehousing Order Type (whinh0110m000)</GUIRef> session.
			 However, if the <GUIRef href="/baanerp/wh/inh/whinh2120m000#whinh220.gefo" role="manual">Generate Freight Order from Warehousing</GUIRef> check box is
			 cleared on the inbound or outbound warehousing order line, no freight order is
			 generated.</ListItem>
            <ListItemHead>Enterprise planning orders</ListItemHead>
            <ListItem>Automatic creation of freight orders from enterprise planning
			 orders is set in the <GUIRef href="/baanerp/cp/rpd/cprpd0100m000" role="session">EP Parameters (cprpd0100m000)</GUIRef> session.</ListItem>
         </List>
      </GeneralSection>
      <GeneralSection ID="batch-wise">
         <SectionTitle>Batch-wise creation of freight orders</SectionTitle>
         <List>
            <ListIntro>If LN is not set to automatic creation of freight orders, you can
			 generate freight orders by batch in the following sessions:</ListIntro>
            <ListItemHead>
               <GUIRef href="/baanerp/fm/foc/fmfoc1234m000" role="session">Generate Freight Orders (fmfoc1234m000)</GUIRef>
            </ListItemHead>
            <ListItem>In this session, you can select a range of sales orders,
			 purchase orders, or other orders and generate freight orders from these
			 orders.</ListItem>
            <ListItemHead>
               <GUIRef href="/baanerp/td/pur/tdpur4220m000" role="session">Generate Freight Orders (tdpur4220m000)</GUIRef>
            </ListItemHead>
            <ListItem>In this session, you can select a range of purchase orders
			 and generate freight orders from these orders.</ListItem>
            <ListItemHead>
               <GUIRef href="/baanerp/td/sls/tdsls4222m000" role="session">Generate Freight Orders (tdsls4222m000)</GUIRef>
            </ListItemHead>
            <ListItem>In this session, you can select a range of sales orders and
			 generate freight orders from these orders.</ListItem>
         </List>
      </GeneralSection>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>To enable batch-wise
		  creation of freight orders, the <GUIRef href="/baanerp/td/pur/tdpur4101s000#tdpur401.gefo" role="manual">Generate Freight Orders from Purchase</GUIRef> check box must
		  be selected in the <Link href="/baanerp/fm/glossary/glossary#000048" role="glossary">originating order lines</Link>. In
		  addition, generating freight orders must be specified as a non-automatic
		  activity in the <GUIRef href="/baanerp/td/sls/tdsls0560m000" role="session">Sales Order Type - Activities (tdsls0560m000)</GUIRef> session
		  for the relevant sales order types, and in the <GUIRef href="/baanerp/td/pur/tdpur0560m000" role="session">Purchase Order Type - Activities (tdpur0560m000)</GUIRef> session for the relevant purchase order
		  types.</Paragraph>
         <Paragraph>In addition, if a
		  record for a given item and business partner combination is created in the <GUIRef href="/baanerp/td/ipu/tdipu0110m000" role="session">Items - Purchase Business Partner (tdipu0110m000)</GUIRef> session, to enable batch-wise
		  creation of freight orders for this combination, the <GUIRef href="/baanerp/td/ipu/tdipu0110m000#tdipu010.gefo" role="manual">Generate Freight Orders from Purchase</GUIRef> check box must be selected in
		  the <GUIRef href="/baanerp/td/ipu/tdipu0110m000" role="session">Items - Purchase Business Partner (tdipu0110m000)</GUIRef> session.</Paragraph>
         <Paragraph>Likewise, if a record
		  for a given item and business partner combination is created in the <GUIRef href="/baanerp/td/isa/tdisa0110s000" role="session">Item - Sales Business Partner (tdisa0110s000)</GUIRef> session, to enable batch-wise
		  creation of freight orders for this combination, the <GUIRef href="/baanerp/td/isa/tdisa0110s000#tdisa010.gefo" role="manual">Generate Freight Order from Sales</GUIRef> check box must be
		  selected in the <GUIRef href="/baanerp/td/isa/tdisa0110s000" role="session">Item - Sales Business Partner (tdisa0110s000)</GUIRef> session.</Paragraph>
         <Paragraph>For information on how to generate freight orders from batches
		  of warehousing orders, see <Link href="/baanerp/fm/onlinemanual/000096" role="manual">Generate freight orders for warehousing orders</Link> and <Link href="/baanerp/td/onlinemanual/000416" role="manual">To generate freight orders for direct delivery sales orders</Link>.</Paragraph>
      </Note>
      <GeneralSection>
         <SectionTitle>Batch-wise and automatically created freight orders</SectionTitle>
         <Paragraph>In LN, all orders include
		  items, delivery dates and times, ship-from or ship-to names and addresses, and
		  so on.</Paragraph>
         <Paragraph>Essentially, a freight
		  order that is generated in a batch or created automatically, is a copy of the
		  relevant information (such as items, delivery dates/times, and addresses) from
		  the <Link href="/baanerp/fm/glossary/glossary#000048" role="glossary">originating order</Link> and some
		  specific freight related data added by <GUIRef href="/baanerp/fm" role="package">Freight</GUIRef>.</Paragraph>
         <Paragraph>In the <GUIRef href="/baanerp/fm" role="package">Freight</GUIRef> master
		  data, users can define specific freight related data for items and addresses.
		  If an originating order has items and/or addresses, for example, for which
		  freight related data is defined, the freight related data is added to the
		  freight order that is generated from the originating order.</Paragraph>
      </GeneralSection>
      <ExampleSection>
         <SectionTitle>Example</SectionTitle>
         <Paragraph>A user can allocate a
		  property such as <Link href="/baanerp/fm/glossary/glossary#0000002" role="glossary">transport type</Link>: cold storage
		  to the item deep frozen fish chunk. Whenever a freight order is generated from
		  an originating order for deep frozen fish chunks, the transport type cold
		  storage is added to the item on the freight order line.</Paragraph>
         <Paragraph>However, the order
		  lines of the originating order can be added to different freight orders. For
		  example, if freight order FO1 is created from sales order 1, most of the order
		  lines of sales order 1 go into FO1. However, certain order lines from sales
		  order 1 can be added to the existing freight orders FO2 and FO3. This can
		  happen if the origins, destinations, times, and dates overlap.</Paragraph>
      </ExampleSection>
      <GeneralSection>
         <SectionTitle>Manually created freight orders</SectionTitle>
         <Paragraph>In <GUIRef href="/baanerp/fm" role="package">Freight</GUIRef> you can manually create freight orders in the <GUIRef href="/baanerp/fm/foc/fmfoc2100m000" role="session">Freight Orders (fmfoc2100m000)</GUIRef> session.</Paragraph>
         <List>
            <ListIntro>If you manually create a freight order, you can enter the
			 relevant order heading and order line data yourself. For example:</ListIntro>
            <ListItem>Names</ListItem>
            <ListItem>Addresses</ListItem>
            <ListItem>Dates</ListItem>
            <ListItem>Times</ListItem>
            <ListItem>Items</ListItem>
            <ListItem>Order/order line
			 grouping criteria</ListItem>
         </List>
         <Note>
            <SectionTitle>Note</SectionTitle>
            <Paragraph>If you are primarily interested in planning data such as
			 loading and unloading dates, routes and freight costs without updates on the
			 progress of the goods through warehouse processing, you can use manually
			 created freight orders to perform <GUIRef href="/baanerp/fm" role="package">Freight</GUIRef> load building on a stand-alone
			 basis.</Paragraph>
            <Paragraph>Loads and shipments resulting from manually created freight
			 orders provide you with an overview of the loading and unloading dates, routes,
			 freight costs, and so on, without updates on their progress through warehouse
			 processing. If you require warehouse processing updates in addition to planning
			 and freight cost data, you must base load building on freight orders that are
			 based on <Link href="/baanerp/fm/glossary/glossary#000048" role="glossary">originating orders</Link>.</Paragraph>
            <Paragraph>The reason is, that to process loads and shipments, and to
			 update <GUIRef href="/baanerp/fm" role="package">Freight</GUIRef> on
			 the progress of load and shipment processing through the warehouse, <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef> needs
			 warehouse orders for the freight orders on which the loads and shipments are
			 based, but you cannot create warehousing orders for manually created freight
			 orders in LN.</Paragraph>
            <Paragraph>A warehouse order is generated when the originating order of
			 a freight order is released to <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>. Manually created freight orders
			 have no originating orders, and therefore, these orders cannot be released to <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>.
			 Similarly, loads and shipments based on freight orders, whose originating
			 orders are not released to <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>, cannot be processed in <GUIRef href="/baanerp/wh" role="package">Warehousing</GUIRef>.</Paragraph>
         </Note>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Single-shipment freight orders</SectionTitle>
         <Keyword type="section" order="d1e456574">
            <Level1>Single shipment</Level1>
            <Level2>freight order</Level2>
         </Keyword>
         <Keyword type="section" order="d1e456579">
            <Level1>Freight order</Level1>
            <Level2>single shipment</Level2>
         </Keyword>
         <List>
            <ListIntro>Single-shipment freight orders are generated if:</ListIntro>
            <ListItem>The freight order is generated from a warehousing order with
			 a warehousing order type for which the <Link href="/baanerp/wh/inh/whinh0110m000#whinh010.sgsh" role="formfield">Single Order per Shipment</Link> check box is selected.</ListItem>
            <ListItem>The freight order is generated from a sales order whose order
			 type is associated with a warehousing order type for which the <Link href="/baanerp/wh/inh/whinh0110m000#whinh010.sgsh" role="formfield">Single Order per Shipment</Link> check box is selected.</ListItem>
            <ListItem>The freight order is generated from a sales order whose order
			 type is not associated with a warehousing order type, but the <Link href="/baanerp/wh/inh/whinh0110m000#whinh010.sgsh" role="formfield">Single Order per Shipment</Link> check box is selected for the default
			 warehousing order type of the sales order. You can define default warehousing
			 order types in the <Link href="/baanerp/wh/inh/whinh0120m000" role="session">Default Order Types by Origin (whinh0120m000)</Link> session.</ListItem>
         </List>
         <Paragraph>For all other instances of freight orders being generated
		  from <Link href="/baanerp/fm/glossary/glossary#000048" role="glossary">originating orders</Link>, this check box is greyed out and the
		  value is taken from the <GUIRef href="/baanerp/fm/fmd/fmfmd0165m000#fmfmd065.sgsh" role="manual">Single Shipment Order</GUIRef> check box in the <GUIRef href="/baanerp/fm/fmd/fmfmd0165m000" role="session">Freight Order Type - Defaults (fmfmd0165m000)</GUIRef> session.</Paragraph>
         <Paragraph>For manually created freight orders, you can select or clear
		  the <GUIRef href="/baanerp/wh/inh/whinh0110m000#whinh010.sgsh" role="field">Single Shipment</GUIRef> check box if the freight order is not
		  yet processed.</Paragraph>
      </GeneralSection>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/fm/onlinemanual/000102" role="manual">Freight Management in multisite environments</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>