[ 
https://issues.apache.org/jira/browse/OFBIZ-13329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047281#comment-18047281
 ] 

ASF subversion and git services commented on OFBIZ-13329:
---------------------------------------------------------

Commit 109c496e65ae175495679e0e3f45d3d78470c0a9 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=109c496e65 ]

Improved: Manage marital status type history for person (OFBIZ-13329)

on the framework we can add a marital status to a person through enumeration on 
entity Person.

But we can't manage the history of change. After scan the data model book, we 
proposed to improve party model entity with two new entities :

    MaritalStatus : to stock the history of marital status change
    MaritalStatusType : like Len Silverton suggest on his book to isolate these 
types.

We move the current field maritalStatusEnumId to deprecated and introduce a 
migration service to move field maritalStatusEnumId to maritalStatusTypeId

Thanks to Charles Steltzlen for this improvement


> Manage marital status type history for person
> ---------------------------------------------
>
>                 Key: OFBIZ-13329
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13329
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: party
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>              Labels: history, marital, person
>         Attachments: OFBIZ-13329.patch
>
>
> Currently, on the framework we can add a marital status to a person through 
> enumeration on entity Person. 
> But we can't manage the history of change. After scan the data model book, we 
> proposed to improve party model entity with two new entities :
>  * MaritalStatus : to stock the history of marital status change
>  * MaritalStatusType : like Len Silverton suggest on his book to isolate 
> these types.
> We move the current field *maritalStatusEnumId* to deprecated and introduce a 
> migration service to move field *maritalStatusEnumId* to *maritalStatusTypeId*
>  
> Thanks to Charles Steltzlen for this improvement



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to