Create purchase order
Create Inboun delivery
Create Transfer Order with reference to inbound delivery
Confirm Transfer order
Post goods receipt
Now I want to automize PGR for confirmed TO qty so we can avoid one more transaction for goods receipt. When user confirm the transfer order system should post GR automatically based on TO confirmation.