/// <summary> /// Executes when the Document is first loaded for the task by the Extraction /// module, after all of the runtime setup is complete. ///</summary> /// <param name="dataContext">The context object for the document.</param> public void FormLoad(IUimDataEntryFormContext form) { try { IUimDataContext dataContext = form.UimDataContext; IUimFieldDataContext hidden = dataContext.FindFieldDataContext("hiddenCOMMONS"); ScriptMain m = new ScriptMain(); m.hiddenSection(form, hidden.ValueAsString); prelist = m.getLabelField(form); //Custom Table prelistTable = m.getLabelTable(form); //set Dropdowmn List <ScriptMain.LookupDropDownsBankName> listBank = m.restDropDownBankName(dataContext, "BANKMASTER"); m.setDropdownBankName(form, listBank, "ddl_changeICP_bankName"); List <ScriptMain.LookupDropDownsProvince> listProvince = m.restDropDownProvince(dataContext, "PROVINCEMASTER"); // m.setDropdownProvince(form, listProvince, "ddl_changeAddress_province"); //ddl_Province ?? } catch (Exception e) { string error = e.StackTrace; } }
/// <summary> /// Executes when the Document is first loaded for the task by the Extraction /// module, after all of the runtime setup is complete. ///</summary> /// <param name="dataContext">The context object for the document.</param> public void FormLoad(IUimDataEntryFormContext form) { try { IUimDataContext dataContext = form.UimDataContext; IUimFieldDataContext hidden = dataContext.FindFieldDataContext("hiddenCOMMONS"); ScriptMain m = new ScriptMain(); m.hiddenSection(form, hidden.ValueAsString); prelist = m.getLabelField(form); //Custom Table prelistTable = m.getLabelTable(form); } catch (Exception e) { string error = e.StackTrace; } }
/// <summary> /// Executes when the Document is first loaded for the task by the Extraction /// module, after all of the runtime setup is complete. ///</summary> /// <param name="dataContext">The context object for the document.</param> public void FormLoad(IUimDataEntryFormContext form) { try { IUimDataContext dataContext = form.UimDataContext; IUimFieldDataContext hidden = dataContext.FindFieldDataContext("hiddenCOMMONS"); ScriptMain m = new ScriptMain(); m.hiddenSection(form, hidden.ValueAsString); prelist = m.getLabelField(form); //Custom Table prelistTable = m.getLabelTable(form); //// Dropdown List <ScriptMain.LookupDropDownsBankName> list = m.restDropDownBankName(dataContext, "BANKMASTER"); m.setDropdownBankName(form, list, "ddl_partialWithdrawal_bankName"); } catch (Exception e) { string error = e.StackTrace; } }