SS&C interview question

How to book certain entries