what are the consequences for the modification of the entity postalAddress?

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

what are the consequences for the modification of the entity postalAddress?

jjmbconquista
I am adapting the ofbiz for use in Brazil and I need to modify table postal_address, specifically the address1 column, this column stores the number and street, and I need to put street numbers on different fields, I will create new fields in the table. The problem is that the address1 field is referenced in the code of ofbiz in many class. How to do this changes in responsible manner?
Reply | Threaded
Open this post in threaded view
|

Re: what are the consequences for the modification of the entity postalAddress?

Adrian Crum
Maybe write an EECA the extracts the street number and puts it in the
custom field.

-Adrian

jjmbconquista wrote:
> I am adapting the ofbiz for use in Brazil and I need to modify table
> postal_address, specifically the address1 column, this column stores the
> number and street, and I need to put street numbers on different fields, I
> will create new fields in the table. The problem is that the address1 field
> is referenced in the code of ofbiz in many class. How to do this changes in
> responsible manner?
Reply | Threaded
Open this post in threaded view
|

Re: what are the consequences for the modification of the entity postalAddress?

Adam Heath-2
Adrian Crum wrote:

> Maybe write an EECA the extracts the street number and puts it in the
> custom field.
>
> -Adrian
>
> jjmbconquista wrote:
>> I am adapting the ofbiz for use in Brazil and I need to modify table
>> postal_address, specifically the address1 column, this column stores the
>> number and street, and I need to put street numbers on different
>> fields, I
>> will create new fields in the table. The problem is that the address1
>> field
>> is referenced in the code of ofbiz in many class. How to do this
>> changes in
>> responsible manner?

Yeah, an EECA is the right approach.  For an app we wrote, we took the
address1 column, removed all spaces/punctuation, converted to upper case,
then used that as a 404-type lookup.  For instance:

http://example.com/1234MAINST.

Reply | Threaded
Open this post in threaded view
|

Re: what are the consequences for the modification of the entity postalAddress?

jjmbconquista
In reply to this post by Adrian Crum
thanks,
but I  not want to extract the number and  street from address, this
causes many problems. In brasil  there are streets that are identified
by numbers. I have to create new fields for street and number in the
database and for interface (forms)

--- Em ter, 3/3/09, Adrian Crum <[hidden email]> escreveu:
De: Adrian Crum <[hidden email]>
Assunto: Re: what are the consequences for the modification of the entity postalAddress?
Para: [hidden email]
Data: Terça-feira, 3 de Março de 2009, 14:38

Maybe write an EECA the extracts the street number and puts it in the custom
field.

-Adrian

jjmbconquista wrote:
> I am adapting the ofbiz for use in Brazil and I need to modify table
> postal_address, specifically the address1 column, this column stores the
> number and street, and I need to put street numbers on different fields, I
> will create new fields in the table. The problem is that the address1
field
> is referenced in the code of ofbiz in many class. How to do this changes
in
> responsible manner?



      Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com