You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/09/08 02:39:13 UTC
svn commit: r812312 - in /ofbiz/trunk/applications/party:
config/PartyUiLabels.xml entitydef/entitymodel.xml
script/org/ofbiz/party/customer/CustomerEvents.xml
script/org/ofbiz/party/party/PartyMapProcs.xml
script/org/ofbiz/party/user/UserEvents.xml
Author: doogie
Date: Tue Sep 8 00:39:13 2009
New Revision: 812312
URL: http://svn.apache.org/viewvc?rev=812312&view=rev
Log:
Add deceasedDate support on Person. Not added to ecommerce, as that
only deals with living customers, whereas Person might hold data for
people that have already passed away.
Modified:
ofbiz/trunk/applications/party/config/PartyUiLabels.xml
ofbiz/trunk/applications/party/entitydef/entitymodel.xml
ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyMapProcs.xml
ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=812312&r1=812311&r2=812312&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Tue Sep 8 00:39:13 2009
@@ -39,6 +39,9 @@
<value xml:lang="th">วัà¸à¹à¸à¸´à¸</value>
<value xml:lang="zh">çæ¥</value>
</property>
+ <property key="FormFieldTitle_deceasedDate">
+ <value xml:lang="en">Deceased Date</value>
+ </property>
<property key="FormFieldTitle_certProvisionId">
<value xml:lang="de">Zertifikatsaussteller ID</value>
<value xml:lang="en">Cert Provision Id</value>
@@ -2943,6 +2946,9 @@
<value xml:lang="th">วัà¸à¹à¸à¸´à¸</value>
<value xml:lang="zh">çæ¥</value>
</property>
+ <property key="PartyDeceasedDate">
+ <value xml:lang="en">Deceased Date</value>
+ </property>
<property key="PartyBirthDateMissingError">
<value xml:lang="cs">Datum narozenà nenà ve správném formátu, musà odpovÃdat následujÃcÃmu formátu: rrrr-mm-dd, napÅ. 2004-12-31</value>
<value xml:lang="de">Geburtsdatum ist nicht im richtigen Format, es muss dem folgenden Muster entsprechen: yyyy-mm-dd, z.B. 1982-07-21</value>
@@ -2960,6 +2966,9 @@
<value xml:lang="th">รูà¸à¹à¸à¸à¸à¸à¸à¸§à¸±à¸à¹à¸à¸´à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¹à¸à¹à¸ yyyy-mm-dd, à¸à¸¥à¹à¸²à¸¢à¸à¸±à¸ 1982-07-21</value>
<value xml:lang="zh">çæ¥æ ¼å¼é误ï¼å¿
é¡»æ¯yyyy-mm-ddï¼å¦1982-07-21</value>
</property>
+ <property key="PartyDeceasedDateMissingError">
+ <value xml:lang="en">Deceaseddate is not formatted correctly: must be yyyy-mm-dd, like 1982-07-21</value>
+ </property>
<property key="PartyBusinessPhone">
<value xml:lang="cs">Telefon do zamÄstnánÃ</value>
<value xml:lang="de">Geschäftstelefonnummer</value>
Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=812312&r1=812311&r2=812312&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Tue Sep 8 00:39:13 2009
@@ -2519,6 +2519,7 @@
<field name="memberId" type="id"></field>
<field name="gender" type="indicator"></field>
<field name="birthDate" type="date"></field>
+ <field name="deceasedDate" type="date"></field>
<field name="height" type="floating-point"></field>
<field name="weight" type="floating-point"></field>
<field name="mothersMaidenName" type="long-varchar" encrypt="true"></field>
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml?rev=812312&r1=812311&r2=812312&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml Tue Sep 8 00:39:13 2009
@@ -92,6 +92,7 @@
<process field="USER_TITLE"><copy to-field="personalTitle"/></process>
<process field="USER_SUFFIX"><copy to-field="suffix"/></process>
<process field="USER_BIRTHDATE"><convert type="Date" to-field="birthDate"><fail-property resource="PartyUiLabels" property="PartyBirthDateMissingError"/></convert></process>
+ <process field="USER_DECEASEDDATE"><convert type="Date" to-field="deceasedDate"><fail-property resource="PartyUiLabels" property="PartyDeceasedDateMissingError"/></convert></process>
<process field="USER_GENDER"><copy to-field="gender"/></process>
</simple-map-processor>
</call-map-processor>
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyMapProcs.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyMapProcs.xml?rev=812312&r1=812311&r2=812312&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyMapProcs.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyMapProcs.xml Tue Sep 8 00:39:13 2009
@@ -29,6 +29,7 @@
<process field="nickname"><copy/></process>
<process field="gender"><copy/></process>
<process field="birthDate"><convert type="Date"><fail-property resource="PartyUiLabels" property="PartyBirthDateMissingError"/></convert></process>
+ <process field="deceasedDate"><convert type="Date"><fail-property resource="PartyUiLabels" property="PartyDeceasedDateMissingError"/></convert></process>
<process field="height"><convert type="Double"><fail-property resource="PartyUiLabels" property="PartyHeightNotValidNumber"/></convert></process>
<process field="weight"><convert type="Double"><fail-property resource="PartyUiLabels" property="PartyWeightNotValidNumber"/></convert></process>
<process field="mothersMaidenName"><copy/></process>
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml?rev=812312&r1=812311&r2=812312&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml Tue Sep 8 00:39:13 2009
@@ -130,6 +130,7 @@
<process field="USER_TITLE"><copy to-field="personalTitle"/></process>
<process field="USER_SUFFIX"><copy to-field="suffix"/></process>
<process field="USER_BIRTHDATE"><convert type="Date" to-field="birthDate"><fail-property resource="PartyUiLabels" property="PartyBirthDateMissingError"/></convert></process>
+ <process field="USER_DECEASEDDATE"><convert type="Date" to-field="deceasedDate"><fail-property resource="PartyUiLabels" property="PartyDeceasedDateMissingError"/></convert></process>
<process field="USER_GENDER"><copy to-field="gender"/></process>
</simple-map-processor>
</call-map-processor>