- Retrieve AccountID?
- Posted by Rob on February 11th, 2004
Anyone know how you can retrieve an accountID using the SDK?
The idea of what I want to do is verify a contact's login against
their account.. then want to create a case or modify a case in their
account,, in order to create the case I need the accountID, but how do
I retrieve this?
Seems the Retrieve method of crmaccount REQUIRES the AccountID as part
of the method.
thanks in advance
- Posted by Gill Walker on February 12th, 2004
Should you not be looking to retrieve the ID of thr parent
account from the contact record, and passing this to
retrieve the rest of the account details.
Gill
- Posted by Chris Galley on February 12th, 2004
you can use a query to retrieve any information on a contact or any other
object type
you can search on name, account name etc
there is ample documentation in the SDK on queries including examples.
Chris
"Rob" <fiddler27@att.net> wrote in message
news:540e4d0b.0402111321.537dd9f4@posting.google.c om...
- Posted by Rob on February 17th, 2004
Thanks all.
Didnt even think of doing a non-soap query, and just querying the
tables with sql calls, that seems to do the trick.
thanks
- Posted by GreaterThanTwo Media on February 17th, 2004
Hi Rob, I wouldn't suggest using SQL to access the tables directly as you
could get invalid data.
You should use the Query API supplied with MSCRM to perform queries.
Mike
"Rob" <fiddler27@att.net> wrote in message
news:540e4d0b.0402171051.5374feb4@posting.google.c om...