You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/06/10 08:38:03 UTC

svn commit: r783224 - in /ofbiz/trunk/applications/marketing/widget/sfa: OpportunityScreens.xml forms/OpportunityForms.xml

Author: ashish
Date: Wed Jun 10 06:38:02 2009
New Revision: 783224

URL: http://svn.apache.org/viewvc?rev=783224&view=rev
Log:
Showing FirstName, LastName or GroupName along with PartyId instead of showing only PartyId.
This will make CSR life little easy IMO ;)

Modified:
    ofbiz/trunk/applications/marketing/widget/sfa/OpportunityScreens.xml
    ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml

Modified: ofbiz/trunk/applications/marketing/widget/sfa/OpportunityScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/OpportunityScreens.xml?rev=783224&r1=783223&r2=783224&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/OpportunityScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/OpportunityScreens.xml Wed Jun 10 06:38:02 2009
@@ -119,12 +119,12 @@
                     <field-map field-name="salesOpportunityId" from-field="parameters.salesOpportunityId"/>
                     <field-map field-name="roleTypeId" value="ACCOUNT"/>
                 </service>
-                <set field="accountPartyId" from-field="accountPartyResult.partyId"/>
+                <set field="accountParty.accountPartyId" from-field="accountPartyResult.partyId"/>
                 <service service-name="findPartyInSalesOpportunityRole" result-map="leadPartyResult">
                     <field-map field-name="salesOpportunityId" from-field="parameters.salesOpportunityId"/>
                     <field-map field-name="roleTypeId" value="LEAD"/>
                 </service>
-                <set field="leadPartyId" from-field="leadPartyResult.partyId"/>
+                <set field="leadParty.leadPartyId" from-field="leadPartyResult.partyId"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonOpportunityDecorator" location="${parameters.mainDecoratorLocation}">

Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=783224&r1=783223&r2=783224&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Wed Jun 10 06:38:02 2009
@@ -130,7 +130,7 @@
         header-row-style="header-row" default-table-style="basic-table">
         <field name="salesOpportunityId"><hidden/></field>
         <field name="opportunityName" position="1" title="${uiLabelMap.SfaOpportunityName}"><display/></field>
-        <field name="accountPartyId" position="1" title="${uiLabelMap.SfaInitialAccount}"><display/></field>
+        <field name="accountPartyId" position="1" title="${uiLabelMap.SfaInitialAccount}" map-name="accountParty" field-name="partyId"><display-entity description="${firstName} ${lastName} ${groupName} [${partyId}]" entity-name="PartyNameView"/></field>
         <field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount} ${currencyUomId}"><display/></field>
         <field name="typeEnumId" position="1" title="${uiLabelMap.SfaType}"><display/></field>
         <field name="estimatedCloseDate" position="1" title="${uiLabelMap.SfaCloseDate}"><display/></field>