Initiliaze assiocations on Opportunity made from Lead
<p>On a Lead it is possible to insert Associations, when I qualify a Lead, a Opportunity is made, which shows Associations lines.</p>

<p>I want to insert the associations from the Lead into the opportunity in AX2012.</p>

<p>I have found out the associations in the Lead is using the <code>smmLeadRelTable</code>, the Opportunity is using the <code>smmOpportunityRelTable</code>.</p>

<p>How can i insert the association? I don't see the relation between these tables and I can't figure how to start to initialize these values?</p>