/// <summary> /// Encrypts the SalesLogix end points password. /// </summary> /// <param name="form">The Accounting Integration details form.</param> /// <param name="args">The <see cref="System.EventArgs"/> instance containing the event data.</param> public static void btnSave_OnClickStep(ISlxEndPointDetails form, EventArgs args) { IAppIdMapping appIdMapping = form.CurrentEntity as IAppIdMapping; if (appIdMapping != null) { appIdMapping.EncryptAccountingSystemPassword(form.txtPassword.Text); } appIdMapping.Save(); }
/// <summary> /// Encrypts the SalesLogix end points password. /// </summary> /// <param name="form">The Accounting Integration details form.</param> /// <param name="args">The <see cref="System.EventArgs"/> instance containing the event data.</param> public static void btnSave_OnClickStep(ISlxEndPointDetails form, EventArgs args) { IAppIdMapping appIdMapping = form.CurrentEntity as IAppIdMapping; if (appIdMapping != null) { appIdMapping.EncryptAccountingSystemPassword(form.txtPassword.Text); } appIdMapping.Save(); }
/// <summary> /// Encrypts the Saleslogix end points password. /// </summary> /// <param name="form">The Accounting Integration details form.</param> /// <param name="args">The <see cref="System.EventArgs"/> instance containing the event data.</param> public static void btnSave_OnClickStep(ISlxEndPointDetails form, EventArgs args) { IAppIdMapping appIdMapping = form.CurrentEntity as IAppIdMapping; if (appIdMapping != null) { if (appIdMapping.EndPointURL.Contains(":<port>")) { appIdMapping.EndPointURL = appIdMapping.EndPointURL.Replace(":<port>", string.Empty); } appIdMapping.EncryptAccountingSystemPassword(form.txtPassword.Text); } appIdMapping.Save(); }
/// <summary> /// Encrypts the Saleslogix end points password. /// </summary> /// <param name="form">The Accounting Integration details form.</param> /// <param name="args">The <see cref="System.EventArgs"/> instance containing the event data.</param> public static void btnSave_OnClickStep(ISlxEndPointDetails form, EventArgs args) { IAppIdMapping appIdMapping = form.CurrentEntity as IAppIdMapping; if (appIdMapping != null) { if (appIdMapping.EndPointURL.Contains(":[port]")) { appIdMapping.EndPointURL = appIdMapping.EndPointURL.Replace(":[port]", string.Empty); } appIdMapping.EncryptAccountingSystemPassword(form.txtPassword.Text); } appIdMapping.Save(); }