Project-based accounting

You can use track code feature please refer to the guide bellow:
Tracking financial performance by division