You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by greg jocher <gr...@jocher.ch> on 2013/07/12 11:29:18 UTC

Ecommerce ship to a party or partygroup address

Hi All

We are working on a custom checkout implementation and are stuck at the 
address setup.

Our customers use many different adresses:
- Home address
- Work address
- Thirdparty address
- Thirdparty work address

Each customer has a default (general or shipping/billing) address.

We could not find an easy way to add and link these addresses in ofbiz 
without loosing information and duplicating content.


Example with a thirdparty work address:

We have to ship the order of customer "Marge Simpson" to a thirdparty 
work address:

Company FOO  -> PartyGroup (groupName)
Homer Jay Simpson -> Person/Party (firstName middleName lastName)
Workstreet 123 -> PostalAddress (address1)
11111 Biztown  -> PostalAddress (postalCode city)

But we were unable to link Homer's CompanyFoo's PostalAddress X with the 
customer (Marge Simpson)
We can link:
- Homer with Marge
- Company with Marge
- PostalAddress with Marge
But there is now relation between all 3.

The ofbiz way we found:
Company FOO  -> PostalAddress (toName)
Homer Jay Simpson -> PostalAddress/Party (attentionName)
Workstreet 123 -> PostalAddress (address1)
11111 Biztown  -> PostalAddress (postalCode city)

This way we loose the following information:
- address = company address
- firstname
- lastname
- middleName
and we duplicate content.

So, we have two questions:
Is there a way to link such (standard) addresses?
Can we flag an address as default (shipping) address?

Best regards
Greg





Re: Ecommerce ship to a party or partygroup address

Posted by S K Pradeep Kumar <s....@gmail.com>.
I think this helps you : party_profile_default

With regards
S K Pradeep Kumar

With regards,
S K Pradeep Kumar,
9035009495


On Fri, Jul 12, 2013 at 2:59 PM, greg jocher <gr...@jocher.ch> wrote:

> Hi All
>
> We are working on a custom checkout implementation and are stuck at the
> address setup.
>
> Our customers use many different adresses:
> - Home address
> - Work address
> - Thirdparty address
> - Thirdparty work address
>
> Each customer has a default (general or shipping/billing) address.
>
> We could not find an easy way to add and link these addresses in ofbiz
> without loosing information and duplicating content.
>
>
> Example with a thirdparty work address:
>
> We have to ship the order of customer "Marge Simpson" to a thirdparty work
> address:
>
> Company FOO  -> PartyGroup (groupName)
> Homer Jay Simpson -> Person/Party (firstName middleName lastName)
> Workstreet 123 -> PostalAddress (address1)
> 11111 Biztown  -> PostalAddress (postalCode city)
>
> But we were unable to link Homer's CompanyFoo's PostalAddress X with the
> customer (Marge Simpson)
> We can link:
> - Homer with Marge
> - Company with Marge
> - PostalAddress with Marge
> But there is now relation between all 3.
>
> The ofbiz way we found:
> Company FOO  -> PostalAddress (toName)
> Homer Jay Simpson -> PostalAddress/Party (attentionName)
> Workstreet 123 -> PostalAddress (address1)
> 11111 Biztown  -> PostalAddress (postalCode city)
>
> This way we loose the following information:
> - address = company address
> - firstname
> - lastname
> - middleName
> and we duplicate content.
>
> So, we have two questions:
> Is there a way to link such (standard) addresses?
> Can we flag an address as default (shipping) address?
>
> Best regards
> Greg
>
>
>
>
>

RE: Ecommerce ship to a party or partygroup address

Posted by Len Shein <ls...@solveda.com>.
Greg,
Use the following entities:

PARTY_CONTACT_MECH - This entity associates the address to a customer.

PARTY_CONTACT_MECH_PURPOSE - This entity associates the address to a
customer and defines its purpose.

Reference entity CONTACT_MECH_PURPOSE_TYPE for the list of available
purposes.

Regards
Len

-----Original Message-----
From: greg jocher [mailto:greg@jocher.ch] 
Sent: Friday, July 12, 2013 5:29 AM
To: user@ofbiz.apache.org
Subject: Ecommerce ship to a party or partygroup address

Hi All

We are working on a custom checkout implementation and are stuck at the 
address setup.

Our customers use many different adresses:
- Home address
- Work address
- Thirdparty address
- Thirdparty work address

Each customer has a default (general or shipping/billing) address.

We could not find an easy way to add and link these addresses in ofbiz 
without loosing information and duplicating content.


Example with a thirdparty work address:

We have to ship the order of customer "Marge Simpson" to a thirdparty 
work address:

Company FOO  -> PartyGroup (groupName)
Homer Jay Simpson -> Person/Party (firstName middleName lastName)
Workstreet 123 -> PostalAddress (address1)
11111 Biztown  -> PostalAddress (postalCode city)

But we were unable to link Homer's CompanyFoo's PostalAddress X with the 
customer (Marge Simpson)
We can link:
- Homer with Marge
- Company with Marge
- PostalAddress with Marge
But there is now relation between all 3.

The ofbiz way we found:
Company FOO  -> PostalAddress (toName)
Homer Jay Simpson -> PostalAddress/Party (attentionName)
Workstreet 123 -> PostalAddress (address1)
11111 Biztown  -> PostalAddress (postalCode city)

This way we loose the following information:
- address = company address
- firstname
- lastname
- middleName
and we duplicate content.

So, we have two questions:
Is there a way to link such (standard) addresses?
Can we flag an address as default (shipping) address?

Best regards
Greg