I have a list of OpportunityHistories. I want to convert to a Map, where the ID is the OpportunityID (not the OpportunityHistory) and the value to be an OpportunityHistory object.
I know for a fact I will only have one OpportunityHistory object per Opportunity ID so I am ok there.
Any tips?
Thanks