How we can show Stock Entry Number in Material Request

Hi
I want to shown Stock Entry Number in Material Request please advice how i can do the same.
(from Material request we do stock entry that stock entry number i want to shown in material request.)

You can add a Custom field and try to write Custom script to fetch the reference.

@Pawan

Please advice on Custom field type (Link,Read only etc) & Custom Script.

I have tried following filed type & custom script but it not works.

  1. In Material Request added custom field Stock Entry Number as read only
    Custom Script - DocType-Material Request
    cur_frm.add_fetch(“stock_entry”, “naming_series”, “stock_entry_number”)

  2. In Material Request added custom field Stock Entry No as Link (Option-Stock Entry)
    Custom Script - DocType-Material Request
    cur_frm.add_fetch(“stock_entry”, “stock_entry”, “stock_entry_number”)

Please advice