I have a custom object "Bodies of Water". My client wants to be able to create new opportunities directly from this object with two fields already populated (The body of water name itself, and the name of the account it's attached to). Both of these fields are lookups.
Currently, only the Body of Water name is populating properly, and I need to get the account one functioning as well.
I realize that the account name lookup field is a standard field on the opportunity object - how can I find the proper ID for this so that it will autopopulate?
This is the current code that I have. The second ID is not correct.