Login  Register

svn commit: r467177 - /incubator/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml

Posted by sichen on Oct 24, 2006; 12:20am
URL: http://ofbiz.116.s1.nabble.com/svn-commit-r467177-incubator-ofbiz-trunk-applications-marketing-script-org-ofbiz-marketing-campaign-l-tp209463.html

Author: sichen
Date: Mon Oct 23 16:20:04 2006
New Revision: 467177

URL: http://svn.apache.org/viewvc?view=rev&rev=467177
Log:
Fixed bug where createMarketingCampaign was not passing marketingCampaignId out

Modified:
    incubator/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml

Modified: incubator/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml?view=diff&rev=467177&r1=467176&r2=467177
==============================================================================
--- incubator/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml (original)
+++ incubator/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml Mon Oct 23 16:20:04 2006
@@ -31,7 +31,7 @@
         
         <create-value value-name="newEntity"/>
         
-        <field-to-result field-name="newSequencedId" result-name="marketingCampaignId"/>
+        <field-to-result field-name="newEntity.marketingCampaignId" result-name="marketingCampaignId"/>
     </simple-method>
     <simple-method method-name="updateMarketingCampaign" short-description="Update an MarketingCampaign">
         <check-permission permission="MARKETING" action="_UPDATE"><fail-message message="Security Error: to run updateMarketingCampaign you must have the MARKETING_UPDATE or MARKETING_ADMIN permission"/></check-permission>