Set Account Based on Contact function SetAccountName(executionContext) { debugger; var formContext = executionContext.getFormContext(); var contactID = formContext.data.entity.getId(); if (contactID != null) { Xrm.WebApi.retrieveMultip…
HOW TO SET A LOOKUP FIELD TO ANOTHER LOOKUP FIELD ON A DYNAMICS 365 POWER APPS FORM USING JAVASCRIPT