AccountServices.xml#createAccount

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

AccountServices.xml#createAccount

Stephen Rufle-2
/ofbiz/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml#createAccount

I am using createAccount to create a PartyGroup with its associated address and phones. The result map I get from the method only contains messages.

[successMessage=Prefix:Prefix message:Telecom Number successfully created.Suffix message:Suffix:, responseMessage=success]

I would like to return the partyId that was created in the createAccount method. How would I go about adding that? I see that most all of these methods use the simple-method xml style of doing things.

Reply | Threaded
Open this post in threaded view
|

Re: AccountServices.xml#createAccount

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

use
https://demo.hotwaxmedia.com/webtools/control/ArtifactInfo?type=service&uniqueId=createPartyGroup
then
createaccount
Stephen Rufle sent the following on 1/29/2009 7:42 AM:

> /ofbiz/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml#createAccount
>
> I am using createAccount to create a PartyGroup with its associated address and phones. The result map I get from the method only contains messages.
>
> [successMessage=Prefix:Prefix message:Telecom Number successfully created.Suffix message:Suffix:, responseMessage=success]
>
> I would like to return the partyId that was created in the createAccount method. How would I go about adding that? I see that most all of these methods use the simple-method xml style of doing things.
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJgmt+rP3NbaWWqE4RAgs+AJ9Q0yGAnx6BnHohZCgfdE36s1UErwCgvzSL
RKKTS15YhovN8ne9uh6TRiA=
=BonO
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: AccountServices.xml#createAccount

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sorry spaced out
createacount calls the createPartyGroup which auto creates the ID.
you just have to add to the createaccount
partyId String optional OUT

BJ Freeman sent the following on 1/29/2009 6:52 PM:

> use
> https://demo.hotwaxmedia.com/webtools/control/ArtifactInfo?type=service&uniqueId=createPartyGroup
> then
> createaccount
> Stephen Rufle sent the following on 1/29/2009 7:42 AM:
>> /ofbiz/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml#createAccount
>
>> I am using createAccount to create a PartyGroup with its associated address and phones. The result map I get from the method only contains messages.
>
>> [successMessage=Prefix:Prefix message:Telecom Number successfully created.Suffix message:Suffix:, responseMessage=success]
>
>> I would like to return the partyId that was created in the createAccount method. How would I go about adding that? I see that most all of these methods use the simple-method xml style of doing things.
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJgmyhrP3NbaWWqE4RAk6HAJ9qHKRM2IrnRCyY6RmAN3wE78G0TwCgrJVF
KZNLqWWciunpIBQmP4C1mWE=
=1++H
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: AccountServices.xml#createAccount

Stephen Rufle-2
Thanks for the reply I think earlier to day I came to the correct
conclusion :)

https://issues.apache.org/jira/browse/OFBIZ-2150


Also had to figure out how to do thing using the xml simple method way.
I like Java because I can set break points and sort of feel my way
around the objects.


BJ Freeman wrote:

> sorry spaced out
> createacount calls the createPartyGroup which auto creates the ID.
> you just have to add to the createaccount
> partyId    String    optional    OUT
>
> BJ Freeman sent the following on 1/29/2009 6:52 PM:
> > use
> >
> https://demo.hotwaxmedia.com/webtools/control/ArtifactInfo?type=service&uniqueId=createPartyGroup
> > then
> > createaccount
> > Stephen Rufle sent the following on 1/29/2009 7:42 AM:
> >>
> /ofbiz/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml#createAccount
> >> I am using createAccount to create a PartyGroup with its associated
> address and phones. The result map I get from the method only contains
> messages.
> >> [successMessage=Prefix:Prefix message:Telecom Number successfully
> created.Suffix message:Suffix:, responseMessage=success]
> >> I would like to return the partyId that was created in the
> createAccount method. How would I go about adding that? I see that
> most all of these methods use the simple-method xml style of doing
> things.
>
>

--
Stephen P Rufle
[hidden email]
H1:480-626-8022
H2:480-802-7173
Yahoo IM: stephen_rufle
AOL IM: stephen1rufle