Author: bibryam
Date: Thu Oct 23 00:51:16 2008
New Revision: 707299
URL:
http://svn.apache.org/viewvc?rev=707299&view=revLog:
A patch from Onima Kasliwal "Changes done in the code of "createUpdateBillingAddress" of OrderServices.xml as per coding conventions." - OFBIZ-2015
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=707299&r1=707298&r2=707299&view=diff==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Thu Oct 23 00:51:16 2008
@@ -1067,13 +1067,13 @@
</else>
</if-compare-field>
- <entity-and entity-name="PartyContactMechPurpose" list-name="pcmpShipList" filter-by-date="true">
+ <entity-and entity-name="PartyContactMechPurpose" list-name="pcmpBillList" filter-by-date="true">
<field-map field-name="partyId" env-name="userLogin.partyId"/>
<field-map field-name="contactMechId" env-name="parameters.billToContactMechId"/>
<field-map field-name="contactMechPurposeTypeId" value="BILLING_LOCATION"/>
</entity-and>
<!-- If purpose is not exists then create -->
- <if-empty field="pcmpShipList">
+ <if-empty field="pcmpBillList">
<set-service-fields service-name="createPartyContactMechPurpose" map-name="parameters" to-map-name="serviceContext"/>
<set field="serviceContext.partyId" from-field="userLogin.partyId"/>