<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/fm/onlinemanual/000096" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Generate freight orders for warehousing orders</Title>
		<Keyword><Level1>generate freight orders</Level1>
		</Keyword>
		<Keyword><Level1>freight order</Level1>
		</Keyword>
		<Keyword><Level1>generate</Level1>
		</Keyword>
	</Header>
	<AimSection><Paragraph>Sometimes, you may want to create a freight order for an originating order even if freight order creation was not specified for this order. For example, this can happen in the following cases:</Paragraph>
		<List><ListItem>You released a sales order or a purchase order to <GUIRef href="/baanerp/wh" role="package">Warehouse Management</GUIRef> without selecting the <GUIRef href="" role="manual">Generate Freight Order</GUIRef> check box for the originating order, while freight order creation is not specified for the <GUIRef href="/baanerp/wh/wmd/whwmd3405m000#order.type" role="formfield">Warehousing Order Type</GUIRef> of the warehousing order generated for the sales order or the purchase order.</ListItem>
			<ListItem>A warehousing transfer order was generated by <GUIRef href="/baanerp/tp" role="package">Project</GUIRef> while the relevant <GUIRef href="/baanerp/wh/wmd/whwmd3405m000#order.type" role="formfield">Warehousing Order Type</GUIRef> did not specify that a freight order must be created.</ListItem>
		</List>
		<Paragraph>In these cases, you can still create freight orders in the <GUIRef href="/baanerp/fm/foc/fmfoc1234m000" role="session">Generate Freight Orders (fmfoc1234m000)</GUIRef> session. In this session, you can generate freight orders for the warehousing orders related to the originating orders. For this purpose, you must select the <GUIRef href="" role="manual">Warehousing</GUIRef> order origin and specify the relevant range of warehousing orders.</Paragraph>
	</AimSection>
	<GeneralSection><Paragraph>If you generate freight orders for a range of warehousing orders in this way, you overrule the setting of the <GUIRef href="/baanerp/wh/inh/whinh2110m000#whinh210.gefo" role="formfield">Generate Freight Order from Warehousing</GUIRef> check box, which is cleared, so that no freight orders are created, on the warehouse order lines. This setting is determined by the <GUIRef href="/baanerp/wh/wmd/whwmd3405m000#order.type" role="formfield">Warehousing Order Type</GUIRef> of the warehousing orders. If the warehousing order types specify that freight orders be created, the problem would not have existed because freight orders would have been created when the warehouse orders are saved. If the <GUIRef href="/baanerp/wh/wmd/whwmd3405m000#order.type" role="formfield">Warehousing Order Type</GUIRef> specifies that no freight orders be created, you must create freight orders by means of the <GUIRef href="/baanerp/fm/foc/fmfoc1234m000" role="session">Generate Freight Orders (fmfoc1234m000)</GUIRef> session just mentioned.</Paragraph>
		<Paragraph>This does not apply to the <GUIRef href="/baanerp/fm/domains/foc.oorg#sls" role="enum">Sales</GUIRef>, <GUIRef href="/baanerp/fm/domains/foc.oorg#pur" role="enum">Purchase</GUIRef>, or <GUIRef href="/baanerp/fm/domains/foc.oorg#con" role="enum">Enterprise Planning</GUIRef> order origins, because you can change the selection of the <GUIRef href="/baanerp/td/sls/tdsls4101m000#tdsls401.gefo" role="formfield">Generate Freight Order from Sales</GUIRef> or the <GUIRef href="/baanerp/td/pur/tdpur4101s000#tdpur401.gefo" role="formfield">Generate Freight Orders from Purchase</GUIRef> check box on the originating order line before the originating order is released to <GUIRef href="/baanerp/wh" role="package">Warehouse Management</GUIRef>. When you release orders of these origins to <GUIRef href="/baanerp/wh" role="package">Warehouse Management</GUIRef>, you can generate freight orders for the warehousing orders of these orders. <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> orders are not taken into account, because you can overrule the freight order creation setting when the <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef> order is transferred to a warehousing order.</Paragraph>
		<Paragraph>When you start up the generation of freight orders for the warehousing orders that match the selection criteria that you specified in the <GUIRef href="/baanerp/fm/foc/fmfoc1234m000" role="session">Generate Freight Orders (fmfoc1234m000)</GUIRef> session, SSA ERP takes the following steps:</Paragraph>
		<ProcedureList><ListItem>Check whether any of the warehouse orders are in progress. A warehousing order is in progress if the status is not equal to <GUIRef href="/baanerp/wh/domains/inh.lsta#open" role="enum">Open</GUIRef>. Warehouse orders that are in progress are skipped. A message is given on the error report that no freight order is generated for these warehouse orders because of the status.</ListItem>
			<ListItem>If no freight order exists for any of the warehouse orders, a freight order is generated for the warehousing orders. The freight order is stored on the inbound or outbound order lines. If the origin of the warehousing orders is <GUIRef href="/baanerp/fm/domains/foc.oorg#sls" role="enum">Sales</GUIRef> or <GUIRef href="/baanerp/fm/domains/foc.oorg#pur" role="enum">Purchase</GUIRef>, the linked information of the sales or purchase orders is updated.</ListItem>
			<ListItem>The generated freight order is printed on the success report.</ListItem>
			<ListItem>If a freight order with the <GUIRef href="/baanerp/fm/domains/foc.lnst#igno" role="enum">Ignored</GUIRef> status exists for any of the warehousing orders, the status of the freight orders is changed back from <GUIRef href="/baanerp/fm/domains/foc.lnst#igno" role="enum">Ignored</GUIRef> to <GUIRef href="/baanerp/fm/domains/foc.lnst#expc" role="enum">Expected</GUIRef>. A message is displayed on the success report saying that the status of this freight order has been changed.</ListItem>
		</ProcedureList>
	</GeneralSection>
</ManualTopic>
