Are you also trying to set up the necessary account / departments for each of the new codes? If so, it might be easier to copy an existing department to the new department code, which will create all the necessary records for you.
_________________________
Andrew Bates