Using dedicated number groupsYou can use dedicated number groups to generate unique numbers for orders and documents for specific use. The series numbers that LN generates in number groups dedicated to the same type of use, are unique. To ensure that the numbers are unique, LN checks that the series codes that you define in the number groups cannot result in duplicate numbers. You can dedicate number group to these purposes:
You can assign the number groups to various purposes in the corresponding sessions. For example, in the Sales Order Parameters (tdsls0100s400) session, you can select the number group for sales orders and sales schedules. In the Sales Offices (tdsls0512m000) session, you can then select a series of that number group for the sales orders generated by a specific sales office. First free number: LN numbers the orders, documents, or other records sequentially by using the first free number in the series. You specify the starting number of each series in the First Free Numbers (tcmcs0150m000) session. Order numbers: The resulting number consists of the series code followed by the first free number. The number must consist of 9 characters. LN adds leading zeroes to the first free number to make up the required number of digits. Example The series code is NR08. The first free number is 100. Documents in this series get the numbers:
First free numbers cache: To improve the performance of sessions in which new order numbers are assigned, you can define a cache size for a series. The cache size is the number of new series numbers that LN generates and puts in the user's cache. The users do not have to wait while LN generates and checks the next series numbers. If you use the first free numbers cache, the order numbers can be non sequential; the numbers that are still in the user's cache are lost when you log off. If you do not want to use the first free numbers cache, you must set the cache size to zero. Example You set the cache size to four. The first time a user creates a new order, LN generates four new series numbers and puts them in the user's cache. The user must wait while this happens. The first number is used for the new order. LN retrieves the numbers for the next three orders that the user creates from the user's cache. If the user creates a fifth order, LN generates another four numbers, puts them in the user's cache, and so on. If the user creates six orders and then logs off, the last two series numbers that LN generated for the user are not used. To use identical numbers for related records:
LN generates identical codes when you create the different types of records that you want to link. You can use this, for example, to use identical codes for related orders or contracts in different companies. Examples of dedicated number groups: Example You define number groups with the following details:
If the SF1 number group
contains a series If the SF1 number group
contains a series If the SF5 number group
contains a series Regardless of the series defined in number groups SF1, SF2, and SF3, you can insert any series in the IN9 number group, because IN9 is dedicated to another type of use.
| ||||||||||||||||||