How do I configure the system to automatically close runs, "x" days before the Pay Date specified?

How do I configure the system to automatically close runs, "x" days before the Pay Date specified?

This feature is available on all PaySpace editions.

Insert the number of days that a run should be closed before its pay date is reached in the "Close runs this many days before pay date" field under the Payroll Settings section on the General Settings screen.

      Navigate > Config > Basic Settings > Company Settings > General Settings > Payroll Settings