Under Edit | Departments, check the Retained Earnings account for department 504. That's where the problem lies.
_________________________
Andrew Bates