Step 1. Go to the timesheet and click the "Productivity" tab. Be sure that the shifts are closed before assigning cost codes

Step 2. Assign the cost code to the total amount of worked hours. In case of assigning multiple cost codes to a shift, click on the blue "+" icon to add as many additional rows as needed

Step 3. Be aware that the number of hours assigned to the cost codes and the total worked hours should match. If not, "!" mark and a red sign pointing the missing hours will be shown.

Step 4. Click on the green save box to save

Video: