When adding a new personnel record, if the HR ID is left blank, then:
If the person has a Coins ERP+ payroll type and EMPAUTON is not blank, the HR ID will be auto-generated according to the Payroll parameters.
If the person has a non-Coins ERP+ payroll type and AUTOID is not blank, the HR ID will be auto-generated according to the HR parameters.
If a personnel record is updated so that the payroll type changes from non-Coins ERP+ payroll to Coins ERP+ payroll or vice versa and/or the company is changed, and the HR ID is not changed at the same time, then:
If the person now has a Coins ERP+ payroll type, EMPAUTON is not blank, and the HR ID does not already comply with the standard validation rules, the HR ID will be automatically re-generated according to the Payroll parameters.
If the person now has a non-Coins ERP+ payroll type, AUTOID is not blank, and the HR ID does not already comply with the standard validation rules, the HR ID will be automatically re-generated according to the HR parameters.
If the user sets the HR ID (add or update) and either the person has a Coins ERP+ payroll type and EMPAUTON is ‘ALWAYS’, or the person has a non-Coins ERP+ payroll type and AUTOID is ‘ALWAYS’, then they will get an error.
When auto-generating an HR ID or when checking the validity of an auto-generated or manually-entered ID, the function checks for any clash with either another HR personnel ID or another Payroll employee number .
Personnel Data Load
When creating or updating a person via the Personnel Data Load, the same rules will apply as when using the Personnel Workbench.
