AnsweredAssumed Answered

Getting exception in map function JS Switch statement: switch sun.org.mozilla.javascript.internal.EvaluatorException: missing before statement (1)...

Question asked by BrianWhite9911 on Mar 14, 2014
Latest reply on Mar 14, 2014 by BrianWhite9911
Switch statement is basic:

     Switch (RecordTypeID) {
          case "012300000009E2NAAU":
               DestRcrdTypeID = "012n0000000078JAAQ";
          break;
          case "012300000009E2SAAU":
               DestRcrdTypeID = "012n0000000078OAAQ";
          break;
          case "012300000009E2XAAU":
               DestRcrdTypeID = "012n0000000078TAAQ";
          break;
          case "012300000009E2cAAE":
               DestRcrdTypeID = "012n0000000078YAAQ";
          break;
     }

Outcomes