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

Retrieve AccountID? by Gill

Gill
Thu Feb 12 00:15:56 CST 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
>-----Original Message-----
>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
>.
>

Re: Retrieve AccountID? by Chris

Chris
Thu Feb 12 06:38:05 CST 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.com...
> 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



Re: Retrieve AccountID? by fiddler27

fiddler27
Tue Feb 17 12:51:53 CST 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

Re: Retrieve AccountID? by GreaterThanTwo

GreaterThanTwo
Tue Feb 17 17:24:28 CST 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.com...
> 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