I put also some svn:ignore for shark build and lib diretories and assetmaint/build I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit. I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) ! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
91 lines
5.5 KiB
XML
91 lines
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/services.xsd">
|
|
<description>Product Costing Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<service name="createCostComponent" default-entity-name="CostComponent" engine="simple"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="createCostComponent" auth="true">
|
|
<description>Create a CostComponent</description>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<auto-attributes include="pk" mode="OUT" optional="false"/>
|
|
<!--<override name="costComponentTypeId" optional="false"/>-->
|
|
</service>
|
|
<service name="updateCostComponent" default-entity-name="CostComponent" engine="simple"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="updateCostComponent" auth="true">
|
|
<description>Update a CostComponent</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
</service>
|
|
<service name="deleteCostComponent" default-entity-name="CostComponent" engine="simple"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="deleteCostComponent" auth="true">
|
|
<description>Delete a CostComponent</description>
|
|
<auto-attributes include="pk" mode="IN" optional="false"/>
|
|
</service>
|
|
<service name="recreateCostComponent" default-entity-name="CostComponent" engine="simple"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="recreateCostComponent" auth="true">
|
|
<description>Create a CostComponent and cancel the existing ones</description>
|
|
<auto-attributes include="nonpk" mode="IN" optional="true"/>
|
|
<auto-attributes include="pk" mode="OUT" optional="false"/>
|
|
</service>
|
|
<service name="cancelCostComponents" engine="simple"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="cancelCostComponents" auth="true">
|
|
<description>Cancels CostComponent</description>
|
|
<attribute mode="IN" name="costComponentId" optional="true" type="String"/>
|
|
<attribute mode="IN" name="productId" optional="true" type="String"/>
|
|
<attribute mode="IN" name="costUomId" optional="true" type="String"/>
|
|
<attribute mode="IN" name="costComponentTypeId" optional="true" type="String"/>
|
|
</service>
|
|
<service name="getProductCost" engine="simple" auth="true"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="getProductCost">
|
|
<description>Gets the product's costs from CostComponent entries</description>
|
|
<attribute mode="IN" name="productId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="currencyUomId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="costComponentTypePrefix" optional="false" type="String"/>
|
|
<attribute mode="OUT" name="productCost" type="Double" optional="false"/>
|
|
</service>
|
|
<service name="getTaskCost" engine="simple" auth="true"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="getTaskCost">
|
|
<description>Gets the production run task's costs</description>
|
|
<attribute mode="IN" name="workEffortId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="currencyUomId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="productId" optional="true" type="String"/>
|
|
<attribute mode="IN" name="routingId" optional="true" type="String"/>
|
|
<attribute mode="OUT" name="taskCost" type="Double" optional="false"/>
|
|
</service>
|
|
<service name="calculateProductCosts" engine="simple" auth="true"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="calculateProductCosts">
|
|
<description>Calculates the product's costs. If the product does not cost component defined, will use the BOM to calculate the cost.</description>
|
|
<attribute mode="IN" name="productId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="currencyUomId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="costComponentTypePrefix" optional="false" type="String"/>
|
|
<attribute mode="OUT" name="totalCost" type="Double"/>
|
|
</service>
|
|
<service name="calculateAllProductsCosts" engine="simple" auth="true" transaction-timeout="7200"
|
|
location="org/ofbiz/product/cost/CostServices.xml" invoke="calculateAllProductsCosts">
|
|
<description>Calculates estimated costs for all the products</description>
|
|
<attribute mode="IN" name="currencyUomId" optional="false" type="String"/>
|
|
<attribute mode="IN" name="costComponentTypePrefix" optional="false" type="String"/>
|
|
</service>
|
|
</services>
|