| # Convert Illegal Codes (tgbrg1900m000) Use this session to correct illegal codes of model items that were created in Baan releases prior to Baan 5.0. As a result of domain restrictions, codes that were legal in earlier ERP releases must be converted if you want to use the model items in ERP5.0c and future releases. This session checks all codes that appear within the range of companies that you have specified, and converts illegal codes to legal codes. Conversion procedure The logical expression for restricted codes is: `[a-zA-Z][a-zA-Z0-9]` This means that a restricted code should start with a letter, and can only be followed by 0 or more letters, digits and underscores. The conversion of the illegal codes is dealt with in the following way: Illegal characters that are not on the first position of a code are replaced by an "_". Example Code `MPU-08` becomes `MPU_08` after conversion. An illegal character on the first position of a code is converted in the following way: The digit 1 is converted to the letter A, the 2 to B, etc. The digit 0 is converted to the letter J. All other invalid characters are converted to the letter Z. Example Code 2000 becomes B000 after conversion. Code `[0000]` becomes `Z0000_` after conversion. Convert Illegal Codes If this check box is selected, illegal codes that occur in the range of companies that you have selected, are converted to legal codes according to illegal coding conversion procedure. Delete Illegal Codes If this check box is selected, the illegal codes that occur in the selected range of companies are deleted after conversion. Print Report If this check box is selected, a report is printed that shows the following data: The converted codes. The deleted codes. Existing codes that are generated. Existing codes must be changed manually to preserve the model items. Convert... If you click this button (or command), the illegal codes in the range of companies that you have selected are converted to legal codes. |