OrderCancelReplaceRequest price change causes order to be executed

Imported from previous forum

So if I have a bid for 10,000 at $3.10 and there are 5,000 shares on the ask at $3.11 and I send an OrderCancelReplaceRequest message changing my bid to $3.11 what are the execution reports (exec type and ord status) that I should send?

FIX version prior to FIX 5 would respond with two ERs, one for the replacement and one for the execution. As of FIX 5, you could send a single ER with the final status and executed quantities. The successful replacement can be inferred from teh fact that the order was executed at $3.11. The basic concept is described for exchange environments in Volume 7 of the spec. You are asking for the special case of an order modification but the behaviour is not really different from a new order being executed immediately.

So if I have a bid for 10,000 at $3.10 and there are 5,000 shares on the ask at $3.11 and I send an OrderCancelReplaceRequest message changing my bid to $3.11 what are the execution reports (exec type and ord status) that I should send?