1 vote

Using Map To Convert Value - How To Access Value From This Map And Avoid SOQL In Loop At The Same Time

Placed those Map before the loop => Did not work, the method cannot access it. Since the convertNametoId method is private and it seems to be called only from convert method, you could just add ...
RubenDG's user avatar
  • 5,934

Only top scored, non community-wiki answers of a minimum length are eligible