create new record and view another data

Hi All,

How to achieve like this.

image

when creating new record, the user click "search pengiriman button" view the modal and select one row and then render view of selected row. how to achieve this?

(render a view from controller A in the active form controller B)

thanks before

That’s called “master-detail”.