<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/bc/mtc/bcmtc1224m000" xml:lang="en">
   <Header>
      <Title>Generate Default Order Line Numbers (bcmtc1224m000)</Title>
   </Header>
   <HelpTopic>
      <AimSection>
         <Paragraph>Use this session to generate default sales
		  and purchase order line numbers. The settings for generating default order
		  number can be set per order origin. This implies that default sales order line
		  numbers can be generated using another method than for the default purchase
		  order line numbers generation.</Paragraph>
      </AimSection>
      <GeneralSection>
         <Paragraph>Generating default order line numbers is controlled by the
		  following settings:</Paragraph>
         <List>
            <ListIntro>Sales Order Line Numbers</ListIntro>
            <ListItem>One-to-one conversion. A MANMAN/HP sales order line number is converted without
			 any changes to the ERP LN 6.1 sales order line number.</ListItem>
            <ListItem>Renumber with step-size. A new order line number is generated
			 using the step size as defined in parameter bcmtd100.ssso</ListItem>
         </List>
         <List>
            <ListIntro>Purchase Order Line Numbers</ListIntro>
            <ListItem>Remove Decimal Sign. A MANMAN/HP purchase order line number is multiplied with
			 100 to get the ERP LN 6.1 order line number; the decimal sign is moved two digits to the
			 right.</ListItem>
            <ListItem>Remove Digits behind Decimal Sign The digits before the
			 decimal sign from the MANMAN/HP order line number is converted to the ERP LN 6.1 order line number. The digits behind the decimal sign are
			 chopped.</ListItem>
            <ListItem>Renumber with step-size A new order line number is generated
			 using the step size as defined in parameter bcmtd100.sspo</ListItem>
         </List>
         <Paragraph>The ‘Validate’ option present in session "Mapping Table for
		  Order Line Numbers" (bcmtc1124m000) must be used, after generating default
		  order line numbers, for detecting duplicate numbers per order origin. In this
		  session it is always possible to manually change a defaulted ERP LN 6.1 order line number.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Preparation</SectionTitle>
         <Paragraph>Before you can use this session all sales and purchase order
		  line numbers that are to be converted must be present in session <GUIRef href="" role="manual">Mapping Table for Order Line Numbers (bcmtc1124m000)</GUIRef>.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Execution</SectionTitle>
         <Paragraph>Generating default order line numbers depends on whether
		  Master Data is converted or Production Data (including Master Data). If
		  Production Data is converted it is mandatory to run the session.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Process Logic</SectionTitle>
         <Paragraph>The order line number conversion process is controlled by the
		  selected order origin and the selected order line generation method. In the
		  following flow/pseudo code details the functionality of each of the offered
		  conversion methods. This flow is followed for each source order line number in
		  order to get a target order line number.</Paragraph>
         <List>
            <ListIntro>If origin = sales order line number</ListIntro>
            <ListItem>If method = one-to-one conversion <List>
                  <ListItem>-&gt; target order number = source order number</ListItem>
               </List>
            </ListItem>
            <ListItem>If method = renumber with step-size <List>
                  <ListItem>Determine the last (previous) issued order line number
				  for the current sales order <List>
                        <ListItem>-&gt; target order line number = last issued order
						line number + 1</ListItem>
                     </List>
                  </ListItem>
               </List>
            </ListItem>
         </List>
         <List>
            <ListIntro>If origin = purchase order line number</ListIntro>
            <ListItem>If method = remove decimal sign <List>
                  <ListItem>-&gt; target order line number = source order line number
				  * 100</ListItem>
               </List>
            </ListItem>
            <ListItem>If method = remove digits behind decimal sign <List>
                  <ListItem>-&gt; target order line number = source order line number
				  rounded on whole number</ListItem>
               </List>
            </ListItem>
            <ListItem>If method = renumber with step-size <List>
                  <ListItem>Determine the last (previous) issued order line number
				  for the current purchase order <List>
                        <ListItem>-&gt; target order line number = last issued order
						line number + 1</ListItem>
                     </List>
                  </ListItem>
               </List>
            </ListItem>
         </List>
         <Paragraph>The following table contains some example source order line
		  numbers and the defaulted target order line number, applying the process logic
		  described above.</Paragraph>
         <TABLE border="5" cellpadding="5" cellspacing="10" borderstyle="default"
                space-and-orientation="indented-estimated">
            <THEAD noTR="1">
               <TR no="1" isLast="true">
                  <TD width="12%" rowspan="1" colspan="1">Origin</TD>
                  <TD width="21%" rowspan="1" colspan="1">Source Order - Line no.</TD>
                  <TD width="11%" rowspan="1" colspan="1">One-to-One</TD>
                  <TD width="151" rowspan="1" colspan="1">Renumber * with step size</TD>
                  <TD width="158" rowspan="1" colspan="1">Remove Decimal Sign</TD>
                  <TD width="21%" rowspan="1" colspan="1">Remove Digits behind
				  Decimal Sign</TD>
               </TR>
            </THEAD>
            <TBODY noTR="4">
               <TR no="1" isLast="false">
                  <TD width="12%" rowspan="1" colspan="1">Sales</TD>
                  <TD width="21%" rowspan="1" colspan="1">12345 - 10</TD>
                  <TD width="11%" rowspan="1" colspan="1">10</TD>
                  <TD width="151" rowspan="1" colspan="1">1</TD>
                  <TD width="158" rowspan="1" colspan="1">NA</TD>
                  <TD width="21%" rowspan="1" colspan="1">NA</TD>
               </TR>
               <TR no="2" isLast="false">
                  <TD width="12%" rowspan="1" colspan="1">Sales</TD>
                  <TD width="21%" rowspan="1" colspan="1">12345 – 40</TD>
                  <TD width="11%" rowspan="1" colspan="1">40</TD>
                  <TD width="151" rowspan="1" colspan="1">2</TD>
                  <TD width="158" rowspan="1" colspan="1">NA</TD>
                  <TD width="21%" rowspan="1" colspan="1">NA</TD>
               </TR>
               <TR no="3" isLast="false">
                  <TD width="12%" rowspan="1" colspan="1">Purchase</TD>
                  <TD width="21%" rowspan="1" colspan="1">12345 – 10.2</TD>
                  <TD width="11%" rowspan="1" colspan="1">NA</TD>
                  <TD width="151" rowspan="1" colspan="1">1</TD>
                  <TD width="158" rowspan="1" colspan="1">102</TD>
                  <TD width="21%" rowspan="1" colspan="1">10 **</TD>
               </TR>
               <TR no="4" isLast="true">
                  <TD width="12%" rowspan="1" colspan="1">Purchase</TD>
                  <TD width="21%" rowspan="1" colspan="1">12345 - 10.3</TD>
                  <TD width="11%" rowspan="1" colspan="1">NA</TD>
                  <TD width="151" rowspan="1" colspan="1">2</TD>
                  <TD width="158" rowspan="1" colspan="1">103</TD>
                  <TD width="21%" rowspan="1" colspan="1">10 **</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph>* In these examples step size for origins sales and purchase
		  is set to 1</Paragraph>
         <Paragraph>** Applying method ‘remove digits behind decimal sign’ results
		  in duplicate order line numbers for purchase order 12345. The Verify option in
		  session <GUIRef href="" role="manual">Mapping Table for Order Line Numbers (bcmtc1124m000)</GUIRef>,
		  will detect this.</Paragraph>
      </GeneralSection>
      <GeneralSection>
         <SectionTitle>Restart</SectionTitle>
         <Paragraph>When you restart the session to generate new default order
		  line numbers, this will only have effect if the checkbox ‘Overwrite’ is
		  selected.</Paragraph>
      </GeneralSection>
      <RelatedTopics>
         <SectionTitle>Related topics</SectionTitle>
         <RelTopic>To migrate order line numbers</RelTopic>
      </RelatedTopics>
   </HelpTopic>
   <Fields>
      <FieldHelp ID="e.sls.applicable">
         <Header>
            <Title>Generate Sales Order Line Numbers</Title>
         </Header>
         <FuncDesc>Indicates if default sales order line numbers are to be
		  generated.</FuncDesc>
         <AllowedValues>
            <SectionTitle>Allowed values</SectionTitle>
            <Paragraph>Yes and No</Paragraph>
         </AllowedValues>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>No</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="bcmtd100.ssso">
         <Header>
            <Title>Step Size for Sales Order Line</Title>
         </Header>
         <FuncDesc>The step size that is used in generating default sales order
		  line numbers when using method ‘Renumber with step-size’.</FuncDesc>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>The ‘Step Size for Sales Order Line’ as defined in session <GUIRef href="" role="manual">Conversion Parameters for Order Management (bcmtd1100s000)</GUIRef> is
			 defaulted and cannot be changed.</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.mnum.sls.f">
         <Header>
            <Title>From</Title>
         </Header>
         <FuncDesc>Using the sales order range fields, generating default order
		  line numbers can be restricted to a specific sales order number
		  range.</FuncDesc>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>The minimum range value.</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.mnum.sls.t">
         <Header>
            <Title>To</Title>
         </Header>
         <FuncDesc>Using the sales order range fields, generating default order
		  line numbers can be restricted to a specific sales order number
		  range.</FuncDesc>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>The maximum range value.</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.sls.overwrite">
         <Header>
            <Title>Overwrite</Title>
         </Header>
         <FuncDesc>The ‘Overwrite’ checkbox can be used to overwrite the ERP LN 6.1 order line numbers generated in a previous run. Selecting the
		  ‘Overwrite’ checkbox in combination with the ‘Make Empty’ method clears all
		  generated Order Line Numbers.</FuncDesc>
         <AllowedValues>
            <SectionTitle>Allowed values</SectionTitle>
            <Paragraph>Yes and No</Paragraph>
         </AllowedValues>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>No</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.sls.meth">
         <Header>
            <Title>Order Line Generation Method</Title>
         </Header>
         <FuncDesc>The Order Line Generation Method parameter controls the method
		  to be used for generating default sales order line numbers.</FuncDesc>
         <AllowedValues>
            <SectionTitle>Allowed values</SectionTitle>
            <List>
               <ListItem>One-To-One</ListItem>
               <ListItem>Renumber with step size</ListItem>
               <ListItem>Make Empty</ListItem>
            </List>
            <Paragraph>If this session is restarted for the purpose of regenerating
			 default order line numbers, the various methods only have effect if the
			 ‘Overwrite‘ option is selected.</Paragraph>
         </AllowedValues>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>One-to-one conversion</Paragraph>
         </DefaultValue>
         <SimpleSection/>
      </FieldHelp>
      <FieldHelp ID="e.pur.applicable">
         <Header>
            <Title>Generate Purchase Order Line Numbers</Title>
         </Header>
         <FuncDesc>Indicates if default purchase order line numbers are to be
		  generated.</FuncDesc>
         <AllowedValues>
            <SectionTitle>Allowed values</SectionTitle>
            <Paragraph>Yes and No</Paragraph>
         </AllowedValues>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>No</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="bcmtd100.sspo">
         <Header>
            <Title>Step Size for Purchase Order Line</Title>
         </Header>
         <FuncDesc>The step size that is used in generating default purchase order
		  line numbers when using method ‘Renumber with step-size’.</FuncDesc>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>The ‘Step Size for Purchase Order Line’ as defined in
			 session "Conversion Parameters for Order Management" (bcmtd1100s000) is
			 defaulted and cannot be changed.</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.mnum.pur.f">
         <Header>
            <Title>From Purchase Order Number</Title>
         </Header>
         <FuncDesc>Using the purchase order range fields, generating default order
		  line numbers can be restricted to a specific purchase order number
		  range.</FuncDesc>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>The minimum range value.</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.mnum.pur.t">
         <Header>
            <Title>To Purchase Order Number</Title>
         </Header>
         <FuncDesc>Using the purchase order range fields, generating default order
		  line numbers can be restricted to a specific purchase order number
		  range.</FuncDesc>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>The maximum range value.</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.pur.overwrite">
         <Header>
            <Title>Overwrite</Title>
         </Header>
         <FuncDesc>The ‘Overwrite’ checkbox can be used to overwrite the MANMAN/HP order line numbers generated in a previous run.
		  Selecting the ‘Overwrite’ checkbox in combination with the ‘Make Empty’ method
		  clears all generated Order Line Numbers.</FuncDesc>
         <AllowedValues>
            <SectionTitle>Allowed values</SectionTitle>
            <Paragraph>Yes and No</Paragraph>
         </AllowedValues>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>No</Paragraph>
         </DefaultValue>
      </FieldHelp>
      <FieldHelp ID="e.pur.meth">
         <Header>
            <Title>Order Line Generation Method</Title>
         </Header>
         <FuncDesc>The Order Line Generation Method parameter controls the method
		  to be used for generating default purchase order line numbers.</FuncDesc>
         <AllowedValues>
            <SectionTitle>Allowed values</SectionTitle>
            <List>
               <ListItem>Remove Decimal Sign</ListItem>
               <ListItem>Remove Digits behind Decimal Sign</ListItem>
               <ListItem>Renumber with step-size</ListItem>
               <ListItem>Make Empty</ListItem>
            </List>
            <Paragraph>If this session is restarted for the purpose of regenerating
			 default order line numbers, the various methods only have effect if the
			 ‘Overwrite‘ option is selected.</Paragraph>
         </AllowedValues>
         <DefaultValue>
            <SectionTitle>Default value</SectionTitle>
            <Paragraph>Remove Decimal Sign</Paragraph>
         </DefaultValue>
      </FieldHelp>
   </Fields>
   <FormCommands>
      <CommandHelp ID="generate.defaults">
         <Header>
            <Title>Generate</Title>
         </Header>
         <FuncDesc>The specific command generates default values for the fields in
		  this session.</FuncDesc>
      </CommandHelp>
   </FormCommands>
</Session>