| To determine document numbers by transaction type |  |
| Document numbers must be unique within a transaction type. You can assign a document number to a transaction in several ways. In the Transaction Types (tfgld0111s000) session you can determine the document number by using: The Documents in fixed Sequence check box. The Number of Digits for Series field. The selection of the Block Backdating check box in the Transaction Types (tfgld0111s000) session also affects the document numbering. For details, refer to Block backdating of transactions. Number of digits for series A document serial number is a combination of a series number and a sequence number. The document number consists of 8 positions. The maximum number of positions that can be reserved for a series is 4. If no series are used that is, if the Number of Digits for Series field has the value 0, all 8 positions are used for the document sequence number. If the 1 through 4 positions are reserved for the series number, then the remaining positions are available for the rest of the document number.
Number of Digits for Series | Series No. | Remaining Document Sequence Number | Resulting Document No.
--- | --- | --- | ---
0 | - | YYYYYYYY | YYYYYYYY
1 | X | YYYYYYY | XYYYYYYY
2 | XX | YYYYYY | XXYYYYYY
3 | XXX | YYYYY | XXXYYYYY
4 | XXXX | YYYY | XXXXYYYY
ERP LN does not allow leading zeroes for series. If the number of digits for the series is two, the series must be at least 10. Values such as 02 and 04 are not allowed. Three options exist to create a document number within a transaction type: Option 1: The Documents in fixed Sequence check box is selected. The Number of Digits for Series field has the value zero. If you use this option, ERP LN sets the series number to 0 by default. You cannot manually enter the document number. ERP LN automatically generates the document number. Option 2: The Documents in fixed Sequence check box is cleared. The Number of Digits for Series field has the value zero. If you use this option, you can determine the document number yourself. You cannot reuse a document number that is already used. Option 3: The Documents in fixed Sequence check box is selected. The Number of Digits for Series field has a value greater than zero. If you use this option, you can enter the series number for a document number. The series number consists of the number of positions defined in the Number of Digits for Series field. ERP LN fills the remaining positions of the document number on the basis of the document number that was last used within the transaction type. The last used document number within each series is updated in the Transaction Type Series (tfgld0114m000) session. Note The following situation is not allowed: The Documents in fixed Sequence check box is cleared. The Number of Digits for Series field has a value greater than zero. A transaction type that uses a document series must have consecutive numbering. Therefore, if the Documents in fixed Sequence check box is cleared, you cannot enter a value in the Number of Digits for Series field. Related topics To use transaction types |