FILTERGROUP

int FILTERGROUP(int newGroupNo);

exapmle:
Customer:FILTERGROUP(1);
Customer:SETRANGE('Blocked', false);
Customer:FILTERGROUP(0);

This function allows you to configure a FilterGroup by adding extra filters that are not directly visible or customizable by the user in lists. Ensure that your script concludes by resetting the FilterGroup to group 0.

int FILTERGROUP();

Retrieve the current FilterGroup in use.