| # Generate Default Order Line Numbers (bcmtc1224m000) Используйте этот сеанс чтобы 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. Generating default order line numbers is controlled by the following settings: Sales Order Line Numbers 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. Renumber with step-size. A new order line number is generated using the step size as defined in parameter bcmtd100.ssso Purchase Order Line Numbers 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. 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. Renumber with step-size A new order line number is generated using the step size as defined in parameter bcmtd100.sspo 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. Preparation Before you can use this session all sales and purchase order line numbers that are to be converted must be present in session Mapping Table for Order Line Numbers (bcmtc1124m000). Execution 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. Process Logic 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. If origin = sales order line number If method = one-to-one conversion -> target order number = source order number If method = renumber with step-size Determine the last (previous) issued order line number for the current sales order -> target order line number = last issued order line number + 1 If origin = purchase order line number If method = remove decimal sign -> target order line number = source order line number * 100 If method = remove digits behind decimal sign -> target order line number = source order line number rounded on whole number If method = renumber with step-size Determine the last (previous) issued order line number for the current purchase order -> target order line number = last issued order line number + 1 The following table contains some example source order line numbers and the defaulted target order line number, applying the process logic described above.
Origin | Source Order - Line no. | One-to-One | Renumber * with step size | Remove Decimal Sign | Remove Digits behind Decimal Sign
Sales | 12345 - 10 | 10 | 1 | NA | NA
Sales | 12345 – 40 | 40 | 2 | NA | NA
Purchase | 12345 – 10.2 | NA | 1 | 102 | 10 **
Purchase | 12345 - 10.3 | NA | 2 | 103 | 10 **
* In these examples step size for origins sales and purchase is set to 1 ** Applying method ‘remove digits behind decimal sign’ results in duplicate order line numbers for purchase order 12345. The Verify option in session Mapping Table for Order Line Numbers (bcmtc1124m000), will detect this. Restart When you restart the session to generate new default order line numbers, this will only have effect if the checkbox ‘Overwrite’ is selected. Связанные темы To migrate order line numbers Generate Sales Order Line Numbers Indicates if default sales order line numbers are to be generated. Допустимые значения Yes and No Значение по умолчанию No Step Size for Sales Order Line The step size that is used in generating default sales order line numbers when using method ‘Renumber with step-size’. Значение по умолчанию The ‘Step Size for Sales Order Line’ as defined in session Conversion Parameters for Order Management (bcmtd1100s000) is defaulted and cannot be changed. From Using the sales order range fields, generating default order line numbers can be restricted to a specific sales order number range. Значение по умолчанию The minimum range value. To Using the sales order range fields, generating default order line numbers can be restricted to a specific sales order number range. Значение по умолчанию The maximum range value. Overwrite 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. Допустимые значения Yes and No Значение по умолчанию No Order Line Generation Method The Order Line Generation Method parameter controls the method to be used for generating default sales order line numbers. Допустимые значения One-To-One Renumber with step size Make Empty 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. Значение по умолчанию One-to-one conversion Generate Purchase Order Line Numbers Indicates if default purchase order line numbers are to be generated. Допустимые значения Yes and No Значение по умолчанию No Step Size for Purchase Order Line The step size that is used in generating default purchase order line numbers when using method ‘Renumber with step-size’. Значение по умолчанию The ‘Step Size for Purchase Order Line’ as defined in session "Conversion Parameters for Order Management" (bcmtd1100s000) is defaulted and cannot be changed. From Purchase Order Number Using the purchase order range fields, generating default order line numbers can be restricted to a specific purchase order number range. Значение по умолчанию The minimum range value. To Purchase Order Number Using the purchase order range fields, generating default order line numbers can be restricted to a specific purchase order number range. Значение по умолчанию The maximum range value. Overwrite 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. Допустимые значения Yes and No Значение по умолчанию No Order Line Generation Method The Order Line Generation Method parameter controls the method to be used for generating default purchase order line numbers. Допустимые значения Remove Decimal Sign Remove Digits behind Decimal Sign Renumber with step-size Make Empty 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. Значение по умолчанию Remove Decimal Sign Generate The specific command generates default values for the fields in this session. |