Share

Product numbering

The system will generate a unique number for all new products upon creation. This number is shown at beginning of the Basic section and is also included in the product descriptor (e.g. MH-21-000001):

alt text

This number may consist of the following elements:

  • If the product is related to a Product Line and if this Product Line has a Product Name Prefix defined, this given prefix will be pre-pended to the product’s number. This is where to manage this prefix in details page of Product Lines:

    alt text

    If no Product Line is selected or if this prefix is not set on Product Line level, there will not be any prefix.

  • When creating the product, a Product Year has to be selected to indicate when the given product is supposed to be launched. This year also will be included in the product’s number:

    alt text

  • Finally, a unique counter consisting of 6 digits is being generated.

The product number is being generated by the script Products onEdit. The number generator has been implemented by script to update the number for existing product records if needed (e.g. when the Product Year gets changed after the product’s creation). Editing this script enables to adjust the product number logic. Adjust the function setNumber to do so.

alt text

Was this information helpful?