Copy Record from Parent to Child using Java Script Html along with jqgrid
////////////CopyQuote Javascript////////////////////////////// var getGUiDofSelectedRecord; var formContext; function OpenHTML(primaryControl) { debugger; formContext = primaryControl; if (Xrm.Page.getAttribute("customerid") != null && Xrm.Page.getAttribute("customerid") != undefined) { if (Xrm.Page.getAttribute("customerid").getValue() == null) { alert("Please select the customer"); return; } } var isEdit = true; var alertButton = new Alert.Button(); alertButton.label = "Copy & Close"; alertButton.callback = onAlertCloseButtonClick; var array = new Array(); array.push(alertButton); if (isEdit) { Alert.showWebResource("apy_CustoapyMLForAccountQuotePopul...