docs: public int getIDFromCode(String strCode)
      {
          int iID = 0;
          try   {
              iID = Integer.parseInt(strCode);    // Special case - if an integer, just convert it.
          } catch (NumberFormatException ex)  {
              iID = 0;
          }
          if (iID == 0)
          {
              Record record = this.getReferenceRecord();
              if (record != null)
                  iID = record.getIDFromCode(strCode);
          }
          return iID;
      }