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.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacopo Cappellato
2006-10-01 05:33:21 +00:00
parent 92c8fcbf06
commit 636110c028
@@ -145,19 +145,19 @@ under the License.
<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>