Ejemplo n.º 1
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     AV22Options       = (GxSimpleCollection <String>)(new GxSimpleCollection <String>());
     AV25OptionsDesc   = (GxSimpleCollection <String>)(new GxSimpleCollection <String>());
     AV27OptionIndexes = (GxSimpleCollection <String>)(new GxSimpleCollection <String>());
     GXt_boolean1      = AV8IsAuthorized;
     new GeneXus.Programs.wwpbaseobjects.secisauthbyfunctionalitykey(context).execute("WWSecFunctionality", out GXt_boolean1);
     AV8IsAuthorized = GXt_boolean1;
     if (AV8IsAuthorized)
     {
         new GeneXus.Programs.wwpbaseobjects.loadwwpcontext(context).execute(out AV39WWPContext);
         /* Execute user subroutine: 'LOADGRIDSTATE' */
         S111();
         if (returnInSub)
         {
             this.cleanup();
             if (true)
             {
                 return;
             }
         }
         if (StringUtil.StrCmp(StringUtil.Upper(AV19DDOName), "DDO_SECFUNCTIONALITYKEY") == 0)
         {
             /* Execute user subroutine: 'LOADSECFUNCTIONALITYKEYOPTIONS' */
             S121();
             if (returnInSub)
             {
                 this.cleanup();
                 if (true)
                 {
                     return;
                 }
             }
         }
         else if (StringUtil.StrCmp(StringUtil.Upper(AV19DDOName), "DDO_SECFUNCTIONALITYDESCRIPTION") == 0)
         {
             /* Execute user subroutine: 'LOADSECFUNCTIONALITYDESCRIPTIONOPTIONS' */
             S131();
             if (returnInSub)
             {
                 this.cleanup();
                 if (true)
                 {
                     return;
                 }
             }
         }
     }
     AV23OptionsJson       = AV22Options.ToJSonString(false);
     AV26OptionsDescJson   = AV25OptionsDesc.ToJSonString(false);
     AV28OptionIndexesJson = AV27OptionIndexes.ToJSonString(false);
     this.cleanup();
 }
Ejemplo n.º 2
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     AV22Options       = (GxSimpleCollection <String>)(new GxSimpleCollection <String>());
     AV25OptionsDesc   = (GxSimpleCollection <String>)(new GxSimpleCollection <String>());
     AV27OptionIndexes = (GxSimpleCollection <String>)(new GxSimpleCollection <String>());
     GXt_boolean1      = AV8IsAuthorized;
     new GeneXus.Programs.wwpbaseobjects.secisauthbyfunctionalitykey(context).execute("Manage_Pathology_Specimen", out GXt_boolean1);
     AV8IsAuthorized = GXt_boolean1;
     if (AV8IsAuthorized)
     {
         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(AV19DDOName), "DDO_BR_PATHOLOGY_SPECIMEN_NAME") == 0)
         {
             /* Execute user subroutine: 'LOADBR_PATHOLOGY_SPECIMEN_NAMEOPTIONS' */
             S121();
             if (returnInSub)
             {
                 this.cleanup();
                 if (true)
                 {
                     return;
                 }
             }
         }
     }
     AV23OptionsJson       = AV22Options.ToJSonString(false);
     AV26OptionsDescJson   = AV25OptionsDesc.ToJSonString(false);
     AV28OptionIndexesJson = AV27OptionIndexes.ToJSonString(false);
     this.cleanup();
 }