Hi Siva
These are the steps in STO - inter or intra co
1. Company A is requesting company and creates inter co STO on B
2. B does PGI if stock is available or manufactures and does PGI. Acc entry is Cogs Dr and Stock Cr
3. Stock shows as stock in transit at this stage
4. B does invoicing vf01. Acc entry is Inter co Customer Dr and Sales revenue Cr. Use trading partners here
5. A receives goods and does GR. Acc entry is Stock Dr and Gr Ir Cr.
6. You can set up ERS feature to automate Miro because inter co is your trusted supplier.
ERS will automatically do miro for all open GR IRs. You can search forum on ERS. You can also do miro manually as usual
Br. Ajay M