Keep a restriction in sync with its criteria
Before you start. The restriction has entries in its criteria log, and you have Item Restrictions - Admin or Item Restrictions - User.
Bring a restriction back in line with its filters
- Open the restriction. While it is switched off, choose Refresh Approvals/Restrictions on the card.
- For a rule that is in force, search for Refresh Item Restriction/Approval Criteria instead: the report is the only way to bring an enabled rule up to date.
- In Restriction No., enter the number, for example RSTR-03, and set Enabled to All to include the rules that are in force.
- Choose OK and read the message: 3 restriction(s) refreshed.

Keep the lines a one-time run created
- Open the criteria log and find the entries of the restriction.
- Look at Type: an entry of the type Action worked on the whole table, an entry of the type Filter used a Filter.
- Run the refresh as described above. The lines that a Filter entry created are replaced; the lines that an Action entry created stay as they are.
- Compare the restriction with the log after the refresh: the lines that were added by hand are untouched as well.

Example. The vendor 20000 was taken off restriction RSTR-03 by hand, but the stored filter 20000..20005 still
matches it. After the refresh the vendor is on the rule again, and the lines that were added by hand are untouched.
What happens. The refresh deletes the lines that a filter entry created and re-applies every filter entry to the current master data. Lines that were added by hand are kept, and so are the lines of a one-time run without a filter. The refresh also stamps the current kind of the rule on every line, which is how a rule whose type was changed gets its lines in line again.
If something goes wrong
- Restriction RSTR-03 was not refreshed because its criteria refer to a table that is not supported. — one of the log entries names a table the app cannot read. The other rules are refreshed; delete the entry or redo the run that wrote it.
Tip: Run the refresh after a reorganisation of the master data, for example after a batch of new customers was created. It costs a moment and saves a manual correction.
