You can choose to have an engineering item code suggested automatically. To enter a code, open the General Settings module, and navigate to the Settings folder, Codes form, Engineering items tab. Whenever a new engineering item is created, the code will be incremented. You can change the proposed code, if desired.
The value of the Engineering item field determines the numbering of engineering items when:
A new engineering item is created manually
A new engineering item is created by the Engineering Link
If the Script field contains a script that increments the engineering item code, this script takes precedence over the value of the Engineering item field. The script will determine the numbering, and the value of the Engineering item field will be ignored. When a new engineering item is created by the Engineering Link, scripts do not affect the numbering, and the value of the Engineering item field is always used to increment the numbers.
You can use a script to compose an engineering item code to suit your needs. You might want to start the code with the initials of the user creating the engineering item.
The script you create must contain the function 'GenerateEngItemCode' and this function must return a unique part code.
If the Script field contains a script that increments the engineering item code, this script takes precedence over the value of the Engineering item field. The script will determine the numbering, and the value of the Engineering item field will be ignored. When a new engineering item is created by the Engineering Link, scripts do not affect the numbering, and the value of the Engineering item field is always used to increment the numbers.