Payroll to gl

How do you select departments that time is being paid i.e. sick time goes to assembly. I know that somewhere when you do this on the tree to the left on the screen you select departments. For the life of me can’t find where to do this.