https://www.d365snippets.com/2022/10/how-to-create-lookup-in-d365fo-using-x-code-2022-update.html