Good day everyone,
My problem is something related on how NPSP works. Suppose I have 2 group of data, one is CONTACT and one is OPPORTUNITY. What I want to achieve is that I want to insert those 2 data at the same time. We know that when we create a CONTACT,the NPSP will automatically create an ACCOUNT which is related to the CONTACT. What I want to achieve is that, I want to get the accountID in order to put in my OPPORTUNITY data.
The idea I have at the moment, is that I have to insert the CONTACT and after that I query the contact data(including the ACCOUNTID) base on the CONTACT inserted ID then get put the ACCOUNTID in my opportunity then insert the OPPORTUNITY. But is there any easier and more effecient way to do that ? Please help.