[jira] Created: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

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

[jira] Created: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
Create Party's  add option to use First and/or lastname as PartyID
------------------------------------------------------------------

                 Key: OFBIZ-148
                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: party
            Reporter: BJ Freeman


Radio buttons  on create Person for
1)Auto created PartyID (number)
2) use Firstname and add a _# if the name is already used
3) use Lastname and and a _# if the name is aready used
4)  Use first and lastname



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-148?page=comments#action_12427092 ]
           
Chris Howe commented on OFBIZ-148:
----------------------------------

I can see this being a useful party Id option for implementations where duplicate party creation occur frequently.  need to pay attention to name length though

> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-148?page=comments#action_12427106 ]
           
BJ Freeman commented on OFBIZ-148:
----------------------------------

good thought.
a new challenge, how to find the lenght of a entity to computer the input field
so you can do some string reductions before inputing to the service.



> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-148?page=comments#action_12427109 ]
           
Chris Howe commented on OFBIZ-148:
----------------------------------

ModelFieldType.stringLength()  ??  or doing something with ModelFieldType.getSqlType() as it looks to be what is returned for webtools' entityref sqlType column

> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-148?page=comments#action_12427175 ]
           
BJ Freeman commented on OFBIZ-148:
----------------------------------

thanks for the info.


> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-148?page=comments#action_12427208 ]
           
Wojciech Gdela commented on OFBIZ-148:
--------------------------------------

There are many more ways to generate partyId:
- first letter of firstname + lastname (wgdela)
- first letter of firstname + dot + lastname (w.gdela)
- first letter of firstname + dot + two letters of lastname (wgd)
- etc

So i think that maybe better option will be to allow user enter any string as partyId (just another form field) and not only in person form, but also in other types of party forms.

Additionaly there might be a javascript function that automatically creates partyId (in arbitrary choosen way), after user has filled firstname and lastname. It would go like this:
- user enters firstname and lastname
- the script proposes party id (without form submit)
- if the user is not happy with id, he changes it
- user submits form


> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-148?page=comments#action_12427225 ]
           
BJ Freeman commented on OFBIZ-148:
----------------------------------

So mayber have a format string that can be customised by the developer(consultant) in a property file.
they can define how first and last name are parsed.

I have not had good experience with letting the user actually fill the partyID.
Lot of customer support everytime they do it.

using the Bsh file is a better choice than javascript IMHO.

I was actually thinking of making this a service. so it could be called from any place to create the party ID.


> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-148) Create Party's add option to use First and/or lastname as PartyID

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-148?page=all ]

Jacopo Cappellato updated OFBIZ-148:
------------------------------------

    Priority: Minor  (was: Major)

> Create Party's  add option to use First and/or lastname as PartyID
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-148
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-148
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: party
>            Reporter: BJ Freeman
>            Priority: Minor
>
> Radio buttons  on create Person for
> 1)Auto created PartyID (number)
> 2) use Firstname and add a _# if the name is already used
> 3) use Lastname and and a _# if the name is aready used
> 4)  Use first and lastname

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira