Field help (PERMCRNGE) 

Use the From company and To companyfields to open periods for companies within the range. Both fields are required to filter for a range. If the All companies check box is selected, these fields are disabled.