Author: jleroux
Date: Mon Mar 31 20:03:21 2014
New Revision: 1583427
URL: http://svn.apache.org/r1583427
Log:
A patch from Christian Carlow for "Include Malaysia GeoData OOTB"
https://issues.apache.org/jira/browse/OFBIZ-5606
I determined that Malaysia GeoData does not exist OOTB while importing customer
records from a legacy system so OFBiz should be improved to include it.
Added:
ofbiz/trunk/framework/common/data/GeoData_MY.xml (with props)
Added: ofbiz/trunk/framework/common/data/GeoData_MY.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/GeoData_MY.xml?rev=1583427&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/data/GeoData_MY.xml (added)
+++ ofbiz/trunk/framework/common/data/GeoData_MY.xml Mon Mar 31 20:03:21 2014
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+ <Geo abbreviation="JHR" geoCode="01" geoId="MY-01" geoName="Johor"
geoTypeId="STATE"/>
+ <Geo abbreviation="KDH" geoCode="02" geoId="MY-02" geoName="Kedah"
geoTypeId="STATE"/>
+ <Geo abbreviation="KTN" geoCode="03" geoId="MY-03" geoName="Kelantan"
geoTypeId="STATE"/>
+ <Geo abbreviation="MLK" geoCode="04" geoId="MY-04" geoName="Malacca"
geoTypeId="STATE"/>
+ <Geo abbreviation="NSN" geoCode="05" geoId="MY-05" geoName="Negeri
Sembilan" geoTypeId="STATE"/>
+ <Geo abbreviation="PHG" geoCode="06" geoId="MY-06" geoName="Pahang"
geoTypeId="STATE"/>
+ <Geo abbreviation="PNG" geoCode="07" geoId="MY-07" geoName="Penang"
geoTypeId="STATE"/>
+ <Geo abbreviation="PRK" geoCode="08" geoId="MY-08" geoName="Perak"
geoTypeId="STATE"/>
+ <Geo abbreviation="PLS" geoCode="09" geoId="MY-09" geoName="Perlis"
geoTypeId="STATE"/>
+ <Geo abbreviation="SGR" geoCode="10" geoId="MY-10" geoName="Selangor"
geoTypeId="STATE"/>
+ <Geo abbreviation="TRG" geoCode="11" geoId="MY-11" geoName="Terengganu"
geoTypeId="STATE"/>
+ <Geo abbreviation="SBH" geoCode="12" geoId="MY-12" geoName="Sabah"
geoTypeId="STATE"/>
+ <Geo abbreviation="SRW" geoCode="13" geoId="MY-13" geoName="Sarawak"
geoTypeId="STATE"/>
+ <Geo abbreviation="KUL" geoCode="14" geoId="MY-14" geoName="Federal
Territory of Kuala Lumpur" geoTypeId="TERRITORY"/>
+ <Geo abbreviation="LBN" geoCode="15" geoId="MY-15" geoName="Federal
Territory of Labuan" geoTypeId="TERRITORY"/>
+ <Geo abbreviation="PJY" geoCode="16" geoId="MY-16" geoName="Federal
Territory of Putrajaya" geoTypeId="TERRITORY"/>
+
+ <GeoAssoc geoId="MYS" geoIdTo="MY-01" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-02" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-03" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-04" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-05" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-06" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-07" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-08" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-09" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-10" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-11" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-12" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-13" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-14" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-15" geoAssocTypeId="REGIONS"/>
+ <GeoAssoc geoId="MYS" geoIdTo="MY-16" geoAssocTypeId="REGIONS"/>
+</entity-engine-xml>
+
Propchange: ofbiz/trunk/framework/common/data/GeoData_MY.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/common/data/GeoData_MY.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/framework/common/data/GeoData_MY.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml