Populate textbox with Employee name after entering Employee ID

Hi, I was wondering if anyone knew how to cause a custom field populate with the Employee Name when another custom field has the employee ID entered into it. So far, I have been able to create a button that calls a simple search to fill in the Employee ID and the Employee Name custom fields. I have noticed that when Epicor has screens doing the same thing, you can also just enter the ID without having to trigger the search and when you tab out of the ID field, the name automatically populates in the other field. Anyone know how that part is done?

Thanks in advance,
Brandon

That would be an after field change event. The wizard can make the basic code you need for the event, then you can add your code to change the appropriate field in the dataview.

You can try SubscribeToPublisher method, if you have knowledge of Epicor C# codes.

Thank you for the feedback. I have the after field changed event are there any examples on how to use that to return an Employee Name based on the ID in the field that changed? I am not well versed in C# in general or with Epicor. Normally I can google these things to find the answer but I am struggling with this one. Thanks in advance for any direction you can give me.