The department code defaults from the work order routing. The system creates GL transactions using the accounts associated with this department code. Changing the department code changes the accounts used for the GL transactions created by these programs