Accounting Segmentation and Project Reporting

Hi, I am very new to Dolibarr and just getting used to all the modules and how everything fits together. From the documentation, it seems to me that the system cannot natively handle account segmentation. For example, this where for each department has a code - so when recording a transaction in the GL, the transaction have both the account and department code for the transaction. This way multiple department can use one account code whilst still keeping their records easily identifiable. Am I correct to say Dolibarr can’t do this just yet?

The workaround I have seen is using the Project Model. This does work but my question is than - does the project code end up in the GL Database in any way? Can this be exported?

The project module page can produce a PnL for a date range for a project - can this be exported to a CSV?

Thanks

Michael