docs: public int commandToDocType(String strCommand)  // Standard file maint for this record (returns new record)
      {
          int iDocMode = ScreenConstants.MAINT_MODE;
          if ((MenuConstants.FORM.equalsIgnoreCase(strCommand))
              || (MenuConstants.FORMLINK.equalsIgnoreCase(strCommand)))
                  iDocMode = ScreenConstants.MAINT_MODE;
          else if ((MenuConstants.LOOKUP.equalsIgnoreCase(strCommand))
              || (MenuConstants.LOOKUPCLONE.equalsIgnoreCase(strCommand)))
                  iDocMode = ScreenConstants.DISPLAY_MODE;
          else if (MenuConstants.FORMDETAIL.equalsIgnoreCase(strCommand))
              iDocMode = ScreenConstants.DISPLAY_MODE | 64;
          else if (MenuConstants.POST.equalsIgnoreCase(strCommand))
              iDocMode = ScreenConstants.DISPLAY_MODE | 128;
          else if (MenuConstants.MENUREC.equalsIgnoreCase(strCommand))
              iDocMode = ScreenConstants.MENU_MODE;
          return iDocMode;
      }