Re: Hot to get the opportunity ID

Generally speaking, it's usually better to use the GetMutableFieldDescriptor methods instead of the object specific ones (Opportunity, company, contact, etc.). I know in the past they (the object specific ones) had some issues, but I'm not sure if they have all been resolved yet.

Here's a bunch of code I use to get Opportunity information. It basically makes DataTables of Opportunities, Companies in the Opportunity, and Products in the Opportunity. The DataTables are close to, if not exact replicas of the actual tables in ACT!. I do this to make saving the data to a different SQL Server easier (the TransferData call). I've posted the entire batch of code because it could be useful to others.