How to automatically fill up field based on lookup field input

How to automatically fill up field based on lookup field input

Hi there, 

I have a custom module where some emails are stored and i was wondering if i can make it so that based on the selected procurement name the procurement email will pop up, wondering if this is possible using client script.





The APIs

API for procurement module



API for the fields