1
vote
Accepted
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
field-mapping × 70apex × 23
lead-conversion × 11
leads × 7
data-loader × 6
opportunity × 5
custom-field × 5
trigger × 4
picklist × 4
process-builder × 3
integration × 3
lookup × 3
map × 3
dynamic-visualforce × 3
leadmapping × 3
marketing-cloud × 2
soql × 2
javascript × 2
community × 2
rest-api × 2
managed-package × 2
visual-workflow × 2
custom-object × 2
case × 2
account × 2