Middle office functionality

Imported from previous forum

What is the functionality of middle office? how does allocation happen?

Suggest to start with FIX Specification Volume 5 which covers post-trade.

What is the functionality of middle office? how does allocation happen?