I have got the answer by the event of the menu subscription with QBXML
when you click on the menu of the QB which you have subscribe and if any active window transaction is open then QB Menu click response is including <currentwindow>
Tag with that.
Its include the Transaction ID and the Type of the transaction open.