Skip to main content

Recode groups and materials

Use this tool when the codes of the materials of a group have become disordered, or when you want one numbering system for them and for their sub groups. The tool writes new codes for every material and sub group under the group you choose.

Before you begin​

  • Back up the file. The tool runs as soon as you click Ok, with no confirmation question, and it cannot be undone or keep the old codes.
  • Tell the people who depend on material codes outside the program, such as printed barcodes or import files, because the codes will change.
  • To open the tool from the ribbon you need the Recoding Groups and Materials permission in Users Management, on the Operations page, and warehouses in your licence.

Steps​

  1. Open the tool in one of two ways:
    • From the main ribbon: Materials > Tools > Tools > Recoding Groups and Materials.
    • Or from the Chart of Materials: right-click the group and choose Recode Groups and Materials. The group is then already chosen in the window.
  2. Choose the Group if it is not chosen. The program puts in Seperators Count the number of digits of the count of its materials.
  3. Type the prefix if you want the codes to start with text other than the code of the group, for example GR. Leave it empty to start with the code of the group.
  4. Change Seperators Count if you want longer numbers, for example 3 to make the numbers 001 and 002. If you type less than the program put, it uses what it put, and more than 6 counts as 6.
  5. Choose Indexing: Sequence Number for Input for the order in which the cards were created, or Name for the order of the names. It affects the first level of the chosen group only.
  6. Click Ok. The message "Operation successfully completed" appears, the window closes, and the Chart of Materials refreshes.
  7. Open the Chart of Materials and review the new codes, and open a material card to check its code.

Result​

Everything under the group gets a new code by the rules in Recoding Groups and Materials. For example, for a group with the code G02 that has three materials, with no prefix, the codes become G021, G022 and G023.

The names of the materials, their balances, their movement and the code of the chosen group itself do not change. The program records the operation in the operations log.

If something goes wrong​

MessageWhy it appearsWhat to do
Unacceptable Field ValueGroup is empty or not accepted.Choose a group from the list.
Error in PrcReorderMatsCodesThe recoding command failed in the database.Try again, and if the error repeats, contact support. Do not assume the codes did not change; open the Chart of Materials.
The word "Duplicated" appears after a material codeThe new code of a material in a sub group equals the code of a material in another group.Change the code from the material card, or recode with a different prefix.

This page applies to alameen ERP 10, version 10.1.79.764.