svn commit: r451716 - /incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r451716 - /incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml

jacopoc
Author: jacopoc
Date: Sat Sep 30 22:33:21 2006
New Revision: 451716

URL: http://svn.apache.org/viewvc?view=rev&rev=451716
Log:
Fixed bad service definitions for the operations on the FixedAssetStdCostentity (pk fields were defined as optional parameters)): thanks to Anil K Patel for the bug report and patch (OFBIZ-347); I have applied a slightly different version of the patch.

Modified:
    incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml

Modified: incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml?view=diff&rev=451716&r1=451715&r2=451716
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml Sat Sep 30 22:33:21 2006
@@ -145,19 +145,19 @@
     <service name="createFixedAssetStdCost" default-entity-name="FixedAssetStdCost" engine="simple"
                 location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetStdCost" auth="true">
         <description>Create a FixedAssetStdCost</description>
-        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="updateFixedAssetStdCost" default-entity-name="FixedAssetStdCost" engine="simple"
                 location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetStdCost" auth="true">
         <description>Update a FixedAssetStdCost</description>
-        <auto-attributes include="pk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="cancelFixedAssetStdCost" default-entity-name="FixedAssetStdCost" engine="simple"
                 location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="cancelFixedAssetStdCost" auth="true">
         <description>Cancel a FixedAssetStdCost</description>
-        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>