Field Security locks fields of a table for users who have chosen permission sets. When a user tries to change a locked field, Business Central refuses the change and shows your own error message. This protects data such as posting groups or job titles, which standard permissions cannot protect one field at a time.
Compliance Field Security. Lock a single field. Anyone who may edit an employee can change the job title. Standard Business Central cannot protect just that one field. So the title is changed, and saved. Nobody is asked why, and nothing is stopped. With Compliance Field Security, you secure one field of one table. Here, the job title of the employee. Everything else on the employee stays editable. Only that one field is locked. You write the message people will see, so they know who to ask. And you choose who is locked out, by linking permission sets. After the next sign-in, the rule is active. Same user, same employee, same field. Now the same user tries the same change. It is refused, with the message you wrote yourself. Nothing is saved. Protect the fields that matter. Compliance Field Security, by 2-Controlware. Try it for thirty days.
Video (1 minute): a user changes a job title, then Field Security locks the field and the change is refused with your own message.
A Field Security belongs to one table. Its lines name the fields. You link permission sets to each line, and the rule applies to the users who have those permission sets. The rule starts on its Starting Date and is loaded when the user signs in.
Read the next section before you create a rule. It explains the one setting that decides what the lines mean.
The header has the switch Default Editable. It has two cases.
| Default Editable on | Default Editable off (shipped default) | |
|---|---|---|
| What is locked for the linked users | Only the fields on the lines. All other fields stay editable. | The whole table. Only the fields on the lines can still be edited. |
| A line with Editable unchecked | The field is locked. | Not used. A line is an exception, so Editable is checked. |
| A line with Editable checked | Not used. | The field can be edited (an exception). |
| What a linked permission set means | The users may not change this field. | The users may change this field. |
| Error message per line | Possible. | Not possible. Use the message in the header. |
| Initial Field Entry Allowed | Works. | Has no effect. |
The shipped default is off, and off locks the entire table for linked users. To lock only one field, such as the Job Title, turn Default Editable on before you add lines.

The same line means the opposite when Default Editable changes.
Good to know:
The wizard is the quickest path.




Fill in Description (why the field is secured) and Error Message (the message a user sees).
Link permission sets. In the wizard the column Not Assigned Perm. Sets is the number of permission sets that are not linked. Choose Assign Permission Sets and then Edit List to add the sets. "Assigned" and "linked" mean the same. See Link permission sets.
Choose Next and then Finish. The wizard sets today as the starting date and opens the new Field Security.
Then sign out and in again. See When the rule does not apply.


A filled-in new Field Security.

| Field | What to enter |
|---|---|
| No. | Filled in automatically when a number series is set up. Otherwise enter a number. |
| Description | What this rule is for, for example "Secure posting groups items". |
| Table ID | The table to secure. Table Caption is filled in automatically. |
| Default Editable | See Lock one field or lock the whole table. |
| Starting Date | The date the rule becomes active. Use today or a date in the past. An empty date means the rule is not active. |
| Error Message | The message the user sees when the rule stops a change. Say who to ask. |
| Ending Date | Optional. The rule stops after this date. |

| Field | What to enter |
|---|---|
| Filter Field No. | Use AssistEdit to pick a field of the same table. The rule then applies only to records that match the filter. |
| Filter Field Caption | Filled in automatically. |
| Filter Value | The value for the filter field. Syntax: see Reference. The operators <, >, . and & are refused here. |


The Job Title line.
| Field | What to enter |
|---|---|
| Field No. | Use AssistEdit, select the field in the list of all table fields and choose OK. Field Caption is filled in automatically. |
| Editable | Unchecked by default when Default Editable is on (the field is locked). Checked by default when it is off (an exception). |
| No. of linked Permission Sets | The number of permission sets for which this line is active. Choose the number to manage them. |
| No. of not linked Permission Sets | The number of permission sets that can modify the table but are not linked to this line. |
| Description | Extra information. It is not shown in the error message. |
| Error Message | A message for this line. You can set it only when Default Editable is on. It replaces the header message. |
Link the permission sets next: Link permission sets to a rule. Actions on the page, such as Copy, Change Log Entries and Effective Securities, are explained in Effective security.

Sometimes a user may fill in a field once, but not change it afterwards. Example: you create customers from templates. The template fills the posting groups. After that, only authorized users may change them.
The control for this is Initial Field Entry Allowed. It is set per linked permission set, not per line. It works when Default Editable is on.


Result. A user with that permission set may fill in an empty field once. When the field already has a value, the change is refused. Without the check mark the user can never change the field. The check works for a change of an existing record. It does not apply when a record is created or deleted.
A rule only works for the users who have a linked permission set. Before you rely on a rule, check who it covers. Open the Field Security and use the two actions in the ribbon. They need release 5.1.202404NN.0 (April 2024) or later.
Who is covered? Choose Effective Securities and answer Yes to calculate. The page lists the users and permission sets that the Field Security applies to for the secured table. Filter on Source Type and Source No. and calculate again to check one user or one permission set.

Effective Field Securities for the rule FS-JOB-TITLE: every user and permission set the rule applies to.
Who is not covered? Choose Not secured Users/Permission Sets and answer Yes. The page lists the users and permission sets that are not covered by this security, with their permissions on the table. The column Cause Permission Set ID shows through which permission set a user is not covered.

Users and permission sets that are not covered. The cause permission set tells you which set to link, or why a data owner is left out on purpose.
Typical findings: a permission set that gives write access to the table but is not linked yet, and a data owner on purpose. Link the missing set, or accept the finding, and calculate again. How the rules combine, and how to read the summary per user, is on the Reference page.
A Field Security works only when it is linked to permission sets. It does not apply to a user if:
2C FIELDSEC USE;After you create or change a rule, you and the affected users must sign out of Business Central and sign in again. The rules are loaded at sign-in.