Replace allocation message 4.0/4.2

Imported from previous forum

When sending a response to either a sell-side initiated replace or a response to a buy-side initated replace message.

Would one send an AllocTransType=4 (calculated) allocation message or one where AllocTransType=1 (Replace)

Many thanks