Hello
Answering your query in a very simple form.
1.0 Ensure that the document is posted to finance.
2.0 You may have to change the sort key so that the PO number is added to the assignment field.
3.0 You can amend the user exit in MIRO while finance document creation.
Shubham