First Customer: Business Without First/Last Name

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

First Customer: Business Without First/Last Name

stimits
Hi,
 
I'm just experimenting with trying to add some real customers to a new ofbiz install without sample data. I'm wondering about "First Customer" making "First name" and "Last name" mandatory when the customer is another business (first and last name don't apply). How to handle this if not modifying the OOTB functionality?
 
I suppose one way is to add the same name, e.g., "Commercial Co. One" to both first name and last name. I could see how this might cause issues under some strange circumstance when doing searches. Is there a recommended way to deal with this?
 
Ideally I suppose modifying the app to accept a "category" for customer which is "organization" or "person" would work, but I don't want to do this until everything else is correct.
 
Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: First Customer: Business Without First/Last Name

Jacques Le Roux
Administrator
OFBiz Data Model is based on the The Data Model Resource Book
<http://www.amazon.com/exec/obidos/redirect?path=ASIN/0471380237&link_code=as2&camp=1789&tag=apachesoftwar-20&creative=9325>I recommend to read it.

There are other books which can help you there: https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Related+Books

For a business you don't create a customer but a Party Group https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?create_new=Y

HTH

Jacques


Le 29/03/2017 à 00:11, [hidden email] a écrit :

> Hi,
>  
> I'm just experimenting with trying to add some real customers to a new ofbiz install without sample data. I'm wondering about "First Customer" making "First name" and "Last name" mandatory when the customer is another business (first and last name don't apply). How to handle this if not modifying the OOTB functionality?
>  
> I suppose one way is to add the same name, e.g., "Commercial Co. One" to both first name and last name. I could see how this might cause issues under some strange circumstance when doing searches. Is there a recommended way to deal with this?
>  
> Ideally I suppose modifying the app to accept a "category" for customer which is "organization" or "person" would work, but I don't want to do this until everything else is correct.
>  
> Thanks!
>