Yes it has a feature called Tracking Codes, each department would be allocated its own code.
Read more here