svn commit: r786383 - in /ofbiz/trunk/applications/commonext: script/org/ofbiz/SystemInfoServices.xml 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: r786383 - in /ofbiz/trunk/applications/commonext: script/org/ofbiz/SystemInfoServices.xml servicedef/services.xml

hansbak-2
Author: hansbak
Date: Fri Jun 19 06:01:25 2009
New Revision: 786383

URL: http://svn.apache.org/viewvc?rev=786383&view=rev
Log:
correction on previous commit

Modified:
    ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml
    ofbiz/trunk/applications/commonext/servicedef/services.xml

Modified: ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml?rev=786383&r1=786382&r2=786383&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml (original)
+++ ofbiz/trunk/applications/commonext/script/org/ofbiz/SystemInfoServices.xml Fri Jun 19 06:01:25 2009
@@ -22,7 +22,7 @@
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd">
 
     <simple-method method-name="createSystemInfoNote" short-description="Create a system to to a specific party">
-        <set field="partyId" from-field="parameters.partyId"/>
+        <set field="partyId" from-field="parameters.partyId" default-value="userLogin.partyId"/>
         <!-- new communication events -->
         <if-compare field="parameters.entityName" value="CommunicationEvent" operator="equals">
             <entity-one entity-name="CommunicationEvent" value-field="comm">

Modified: ofbiz/trunk/applications/commonext/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/servicedef/services.xml?rev=786383&r1=786382&r2=786383&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/commonext/servicedef/services.xml Fri Jun 19 06:01:25 2009
@@ -28,7 +28,7 @@
         location="component://commonext/script/org/ofbiz/SystemInfoServices.xml" invoke="createSystemInfoNote">
         <description>Create a system info note realted to a certain entityId</description>        
         <auto-attributes mode="IN" optional="true"/>
-        <attribute name="partyId" type="String" mode="IN"/>
+        <attribute name="partyId" type="String" mode="IN" optional="true"/><!-- userLogin.partyId is default -->
         <attribute name="entityName" type="String" mode="IN"/>
         <attribute name="entityNameId" type="String" mode="IN"/>
     </service>