Sales order quiries

Hello,

I have created a new page called “Order Form”.

My requirement is, in the sales order or in any sales transactions instead of fetching the details of the item from the item codes,
I want the details of the items to be fetched from the order form(Order Number)

How can I do that?

Thanks & Regards,
Sujay