void executePrivate( ) { /* GeneXus formulas */ /* Output device settings */ AV38Options = (GxSimpleCollection <String>)(new GxSimpleCollection <String>()); AV41OptionsDesc = (GxSimpleCollection <String>)(new GxSimpleCollection <String>()); AV43OptionIndexes = (GxSimpleCollection <String>)(new GxSimpleCollection <String>()); new GeneXus.Programs.wwpbaseobjects.loadwwpcontext(context).execute(out AV9WWPContext); /* Execute user subroutine: 'LOADGRIDSTATE' */ S111(); if (returnInSub) { this.cleanup(); if (true) { return; } } if (StringUtil.StrCmp(StringUtil.Upper(AV35DDOName), "DDO_VIEW_NE_DEPARTMENT") == 0) { /* Execute user subroutine: 'LOADVIEW_NE_DEPARTMENTOPTIONS' */ S121(); if (returnInSub) { this.cleanup(); if (true) { return; } } } else if (StringUtil.StrCmp(StringUtil.Upper(AV35DDOName), "DDO_VIEW_NE_ENCTYPE") == 0) { /* Execute user subroutine: 'LOADVIEW_NE_ENCTYPEOPTIONS' */ S131(); if (returnInSub) { this.cleanup(); if (true) { return; } } } AV39OptionsJson = AV38Options.ToJSonString(false); AV42OptionsDescJson = AV41OptionsDesc.ToJSonString(false); AV44OptionIndexesJson = AV43OptionIndexes.ToJSonString(false); this.cleanup(); }
protected void S131( ) { /* 'LOADVIEW_NE_ENCTYPEOPTIONS' Routine */ AV15TFview_NE_ENCType = AV33SearchTxt; AV16TFview_NE_ENCType_Sel = ""; AV55WebPanel4DS_1_Tfview_ne_encounterid = AV11TFview_NE_EncounterID; AV56WebPanel4DS_2_Tfview_ne_encounterid_to = AV12TFview_NE_EncounterID_To; AV57WebPanel4DS_3_Tfview_ne_department = AV13TFview_NE_Department; AV58WebPanel4DS_4_Tfview_ne_department_sel = AV14TFview_NE_Department_Sel; AV59WebPanel4DS_5_Tfview_ne_enctype = AV15TFview_NE_ENCType; AV60WebPanel4DS_6_Tfview_ne_enctype_sel = AV16TFview_NE_ENCType_Sel; pr_default.dynParam(1, new Object[] { new Object[] { AV55WebPanel4DS_1_Tfview_ne_encounterid, AV56WebPanel4DS_2_Tfview_ne_encounterid_to, AV58WebPanel4DS_4_Tfview_ne_department_sel, AV57WebPanel4DS_3_Tfview_ne_department, AV60WebPanel4DS_6_Tfview_ne_enctype_sel, AV59WebPanel4DS_5_Tfview_ne_enctype, A549view_NE_EncounterID, A550view_NE_Department, A551view_NE_ENCType }, new int[] { TypeConstants.LONG, TypeConstants.LONG, TypeConstants.STRING, TypeConstants.STRING, TypeConstants.STRING, TypeConstants.STRING, TypeConstants.LONG, TypeConstants.STRING, TypeConstants.BOOLEAN, TypeConstants.STRING, TypeConstants.BOOLEAN } }); lV57WebPanel4DS_3_Tfview_ne_department = StringUtil.Concat(StringUtil.RTrim(AV57WebPanel4DS_3_Tfview_ne_department), "%", ""); lV59WebPanel4DS_5_Tfview_ne_enctype = StringUtil.Concat(StringUtil.RTrim(AV59WebPanel4DS_5_Tfview_ne_enctype), "%", ""); /* Using cursor P004M3 */ pr_default.execute(1, new Object[] { AV55WebPanel4DS_1_Tfview_ne_encounterid, AV56WebPanel4DS_2_Tfview_ne_encounterid_to, lV57WebPanel4DS_3_Tfview_ne_department, AV58WebPanel4DS_4_Tfview_ne_department_sel, lV59WebPanel4DS_5_Tfview_ne_enctype, AV60WebPanel4DS_6_Tfview_ne_enctype_sel }); while ((pr_default.getStatus(1) != 101)) { BRK4M4 = false; A551view_NE_ENCType = P004M3_A551view_NE_ENCType[0]; n551view_NE_ENCType = P004M3_n551view_NE_ENCType[0]; A550view_NE_Department = P004M3_A550view_NE_Department[0]; n550view_NE_Department = P004M3_n550view_NE_Department[0]; A549view_NE_EncounterID = P004M3_A549view_NE_EncounterID[0]; AV45count = 0; while ((pr_default.getStatus(1) != 101) && (StringUtil.StrCmp(P004M3_A551view_NE_ENCType[0], A551view_NE_ENCType) == 0)) { BRK4M4 = false; A549view_NE_EncounterID = P004M3_A549view_NE_EncounterID[0]; AV45count = (long)(AV45count + 1); BRK4M4 = true; pr_default.readNext(1); } if (!String.IsNullOrEmpty(StringUtil.RTrim(A551view_NE_ENCType))) { AV37Option = A551view_NE_ENCType; AV38Options.Add(AV37Option, 0); AV43OptionIndexes.Add(StringUtil.Trim(context.localUtil.Format((decimal)(AV45count), "Z,ZZZ,ZZZ,ZZ9")), 0); } if (AV38Options.Count == 50) { /* Exit For each command. Update data (if necessary), close cursors & exit. */ if (true) { break; } } if (!BRK4M4) { BRK4M4 = true; pr_default.readNext(1); } } pr_default.close(1); }