# FIELDERROR

##### Tags:

- C/AL

##### Categories:

- Best Practice

Never use FIELDERROR with a period as it is automatically inserted.

Bad code

    InvalidValue@1025 : TextConst 'ENU=is invalid.';
    ...
    Cust.FIELDERROR("No.",InvalidValue);

Good code

    InvalidValue@1025 : TextConst 'ENU=is invalid';
    ...
    Cust.FIELDERROR("No.",InvalidValue);

Last modified February 24, 2022: Added tags & categories + cleanup (5ee04366) by waldo1001