svn commit: r797067 - /ofbiz/trunk/applications/order/servicedef/services.xml

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

svn commit: r797067 - /ofbiz/trunk/applications/order/servicedef/services.xml

apatel-2
Author: apatel
Date: Thu Jul 23 13:34:27 2009
New Revision: 797067

URL: http://svn.apache.org/viewvc?rev=797067&view=rev
Log:
Making postal address fields options. Map processor in service checks required fields and returns error if appropriate. In case shipping contact mach should be used for billing then we don't need postal address fields data.

Modified:
    ofbiz/trunk/applications/order/servicedef/services.xml

Modified: ofbiz/trunk/applications/order/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=797067&r1=797066&r2=797067&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Thu Jul 23 13:34:27 2009
@@ -923,12 +923,12 @@
         <attribute name="userLogin" mode="IN" type="org.ofbiz.entity.GenericValue" optional="true"/>
         <attribute name="billToAttnName" mode="IN" type="String" optional="true"/>
         <attribute name="billToName" mode="IN" type="String" optional="true"/>
-        <attribute name="billToAddress1" mode="IN" type="String" optional="false"/>
+        <attribute name="billToAddress1" mode="IN" type="String" optional="true"/>
         <attribute name="billToAddress2" mode="IN" type="String" optional="true"/>
-        <attribute name="billToCity" mode="IN" type="String" optional="false"/>
-        <attribute name="billToStateProvinceGeoId" mode="IN" type="String" optional="false"/>
-        <attribute name="billToPostalCode" mode="IN" type="String" optional="false"/>
-        <attribute name="billToCountryGeoId" mode="IN" type="String" optional="false"/>
+        <attribute name="billToCity" mode="IN" type="String" optional="true"/>
+        <attribute name="billToStateProvinceGeoId" mode="IN" type="String" optional="true"/>
+        <attribute name="billToPostalCode" mode="IN" type="String" optional="true"/>
+        <attribute name="billToCountryGeoId" mode="IN" type="String" optional="true"/>
         <attribute name="shipToContactMechId" mode="IN" type="String" optional="true"/>
         <attribute name="billToContactMechId" mode="IN" type="String" optional="true"/>
         <attribute name="contactMechId" mode="OUT" type="String" optional="false"/>