Author: arunpatidar
Date: Sat Aug 26 10:34:08 2017
New Revision: 1806283

URL: http://svn.apache.org/viewvc?rev=1806283&view=rev
Log:
Improved: Wrong success message after creating lead in sfa component. 
(OFBIZ-9518).
Thanks Jagpreet Kaur and Parakh Maheshwari

Modified:
    
ofbiz/ofbiz-framework/trunk/applications/marketing/config/MarketingUiLabels.xml
    
ofbiz/ofbiz-framework/trunk/applications/marketing/minilang/sfa/lead/LeadServices.xml

Modified: 
ofbiz/ofbiz-framework/trunk/applications/marketing/config/MarketingUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/config/MarketingUiLabels.xml?rev=1806283&r1=1806282&r2=1806283&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/applications/marketing/config/MarketingUiLabels.xml 
(original)
+++ 
ofbiz/ofbiz-framework/trunk/applications/marketing/config/MarketingUiLabels.xml 
Sat Aug 26 10:34:08 2017
@@ -3279,6 +3279,9 @@
         <value xml:lang="zh">线索</value>
         <value xml:lang="zh-TW">線索</value>
     </property>
+    <property key="SfaLeadCreatedSuccessfully">
+        <value xml:lang="en">Lead created successfully</value>
+    </property>
     <property key="SfaLeadSource">
         <value xml:lang="de">Lead Quelle</value>
         <value xml:lang="en">Lead Source</value>

Modified: 
ofbiz/ofbiz-framework/trunk/applications/marketing/minilang/sfa/lead/LeadServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/minilang/sfa/lead/LeadServices.xml?rev=1806283&r1=1806282&r2=1806283&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/applications/marketing/minilang/sfa/lead/LeadServices.xml
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/applications/marketing/minilang/sfa/lead/LeadServices.xml
 Sat Aug 26 10:34:08 2017
@@ -120,10 +120,10 @@
             <call-service service-name="createPartyDataSource" 
in-map-name="partyDataSourceCtx"/>
             <check-errors/>
         </if-not-empty>
-
         <field-to-result field="leadContactPartyId" result-name="partyId" />
         <field-to-result field="partyGroupPartyId"/>
         <field-to-result field="parameters.roleTypeId" 
result-name="roleTypeId"/>
+        <property-to-field resource="MarketingUiLabels" 
property="SfaLeadCreatedSuccessfully" field="successMessage"/>
     </simple-method>
 
     <simple-method method-name="convertLeadToContact" 
short-description="Convert a lead person into a contact and associated lead 
group to an account">


Reply via email to