From notifications-return-25281-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Fri Apr 26 12:09:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9B89C18077F for ; Fri, 26 Apr 2019 14:09:02 +0200 (CEST) Received: (qmail 17796 invoked by uid 500); 26 Apr 2019 12:09:01 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 17780 invoked by uid 99); 26 Apr 2019 12:09:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2019 12:09:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 16FE1E2B32 for ; Fri, 26 Apr 2019 12:09:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7431025818 for ; Fri, 26 Apr 2019 12:09:00 +0000 (UTC) Date: Fri, 26 Apr 2019 12:09:00 +0000 (UTC) From: "Suraj Khurana (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-10921) Marital Status not managed properly in Person entity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10921?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D168= 26918#comment-16826918 ]=20 Suraj Khurana commented on OFBIZ-10921: --------------------------------------- Thanks everyone for your inputs, I have attached patch with only two enums as of now, Single and Married. Also, here is the alter query:=C2=A0 {code:java} alter table person change MARITAL_STATUS MARITAL_STATUS VARCHAR(20);{code} > Marital Status not managed properly in Person entity > ---------------------------------------------------- > > Key: OFBIZ-10921 > URL: https://issues.apache.org/jira/browse/OFBIZ-10921 > Project: OFBiz > Issue Type: Improvement > Components: party > Affects Versions: Trunk > Reporter: Suraj Khurana > Assignee: Suraj Khurana > Priority: Major > Attachments: OFBIZ-10921.patch > > > Currently, *maritalStatus* is managed as an indicator (Y/N) in *Person* > entity. I think we can enhance it and make it derived from *Enumeration* > pattern. > =20 > *Classification of legal marital status* > =20 > =C2=A0 =C2=A0- 1 - Married (and not separated) ... > =C2=A0 =C2=A0- 2 - Widowed (including living common law) ... > =C2=A0 =C2=A0- 3 - Separated (and not Divorced) ... > =C2=A0 =C2=A0- 4 - Divorced (including living common law) ... > =C2=A0 =C2=A0- 5 - Single (including living common law) > Please refer discussion over ML: > [https://markmail.org/message/5b33qm3osy76if24] -- This message was sent by Atlassian JIRA (v7.6.3#76005)