bust after replace

Imported from previous forum

Consider the following scenario:
New order O1: BUY 1000 XYZ @ 20
Execution E1: BOT 400 XYZ @ 20
Replace R1 : Replace order O1 with
BUY 1300 XYZ @ 19
Bust B1 : Cancel execution E1

Questions:
Q1: What ClOrdID should be used in B1?
Q2: What should the OrderQty and CumQty of order R1 be after the bust?
Q3: What is the Ordstatus of O1 after the bust?
Q4: What should the OrderQty and CumQty of order
O1 be after the bust?