How to populate fields salesorder and invoice from the Sales order in payment journal creation form

Hi All,

we have to populate current order and invoice in payment journal creation form while posting the SO invoice with credit

Thanks & Regards,

Nagaraj