When saving a value in the Merit field, the percentage field value is removed and greyed out or displays an incorrect value.
Reproducing the Issue
It can happen that when creating a new Compensation template that shows both the amount and percentage fields for Merit, the percentage is displayed as greyed out (you cannot add any value on it). The Merit field is correctly defined as Not Read Only and Not Reloadable.
When adding a value to the Amount field the Percentage field is updated.
But upon saving the field is cleared again.
It can also be possible that it will display an incorrect value.
The reason of this issue is that the template is using a Merit calculation based on Merit Target and Merit Target is defined in the template as a Custom field.
Merit Target is defined as a custom field, but it carries a standard field syntax, there are many hard-coded internal behaviors involved. This field should always be using an Import Key, and in our example it is being calculated using a formula, generating the inconsistencies in the percentage field.
If the template must use a Merit calculated based on Target, you will need to configure the Merit Target field with an Import Key to avoid this problem.
meritTarget, merit percentage, based on target, , KBA , LOD-SF-CMP-FRM , Forms & Templates , Problem