blob: dc5880f8f440239766bf69661af0d5b173a25cc0 [file] [log] [blame]
<?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>Common Application Shared WorkEffort Services</description>
<vendor>OFBiz</vendor>
<version>1.0</version>
<!-- WorkEffort services -->
<service name="interfaceWorkEffort" default-entity-name="WorkEffort" engine="interface" location="" invoke="">
<description>WorkEffort Entity Interface</description>
<auto-attributes mode="IN" include="nonpk" optional="true">
<exclude field-name="lastStatusUpdate"/>
<exclude field-name="revisionNumber"/>
<exclude field-name="createdDate"/>
<exclude field-name="createdByUserLogin"/>
<exclude field-name="lastModifiedDate"/>
<exclude field-name="lastModifiedByUserLogin"/>
</auto-attributes>
</service>
<service name="createWorkEffort" default-entity-name="WorkEffort" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffort">
<description>Create a WorkEffort Entity</description>
<implements service="interfaceWorkEffort"/>
<auto-attributes mode="INOUT" include="pk" optional="true"/>
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="true"/>
<attribute name="requirementId" type="String" mode="IN" optional="true"/>
<attribute name="communicationEventId" type="String" mode="IN" optional="true"/>
<override name="workEffortTypeId" optional="false"/>
<override name="workEffortName" optional="false"/>
<override name="currentStatusId" optional="false"/>
</service>
<service name="updateWorkEffort" default-entity-name="WorkEffort" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffort">
<description>Update a WorkEffort Entity</description>
<implements service="interfaceWorkEffort"/>
<auto-attributes mode="IN" include="pk" optional="false"/>
<attribute name="communicationEventId" type="String" mode="IN" optional="true"/>
</service>
<service name="deleteWorkEffort" default-entity-name="WorkEffort" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffort">
<description>Delete a WorkEffort Entity</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
</service>
<service name="duplicateWorkEffort" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="duplicateWorkEffort" auth="true">
<description>Duplicate a Work Effort using a new workEffortId</description>
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
<attribute name="oldWorkEffortId" type="String" mode="IN" optional="false"/>
<attribute name="duplicateWorkEffortAssocs" type="String" mode="IN" optional="true"/>
<attribute name="duplicateWorkEffortContents" type="String" mode="IN" optional="true"/>
<attribute name="duplicateWorkEffortNotes" type="String" mode="IN" optional="true"/>
<attribute name="duplicateWorkEffortAssignmentRates" type="String" mode="IN" optional="true"/>
<attribute name="removeWorkEffortAssocs" type="String" mode="IN" optional="true"/>
<attribute name="removeWorkEffortContents" type="String" mode="IN" optional="true"/>
<attribute name="removeWorkEffortNotes" type="String" mode="IN" optional="true"/>
<attribute name="removeWorkEffortAssignmentRates" type="String" mode="IN" optional="true"/>
</service>
<!-- Communication Event WorkEffort -->
<service name="makeCommunicationEventWorkEffort" default-entity-name="CommunicationEventWorkEff" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="makeCommunicationEventWorkEffort" auth="true">
<description>Make a Communication Event Workeffort</description>
<auto-attributes include="all" mode="IN" optional="false"/>
<override name="description" optional="true"/>
</service>
<!-- WorkEffortPartyAssignment services -->
<service name="assignPartyToWorkEffort" default-entity-name="WorkEffortPartyAssignment" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="assignPartyToWorkEffort">
<description>Create a WorkEffortPartyAssignment Entity</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
<auto-attributes mode="IN" include="nonpk" optional="true">
<exclude field-name="statusDateTime"/>
</auto-attributes>
<override name="fromDate" mode="INOUT" optional="true"/>
<override name="statusId" optional="false"/>
</service>
<service name="updatePartyToWorkEffortAssignment" default-entity-name="WorkEffortPartyAssignment" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updatePartyToWorkEffortAssignment">
<description>Update a WorkEffortPartyAssignment Entity</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
<auto-attributes mode="IN" include="nonpk" optional="true">
<exclude field-name="statusDateTime"/>
</auto-attributes>
</service>
<service name="unassignPartyFromWorkEffort" default-entity-name="WorkEffortPartyAssignment" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="unassignPartyFromWorkEffort">
<description>Delete a WorkEffortPartyAssignment Entity</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
</service>
<service name="quickAssignPartyToWorkEffort" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="quickAssignPartyToWorkEffort">
<description>Quick Assign Party To WorkEffort as Owner</description>
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="false"/>
</service>
<service name="quickAssignPartyToWorkEffortWithRole" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="quickAssignPartyToWorkEffortWithRole">
<description>Quick Assign Party To WorkEffort as Owner</description>
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
<attribute name="quickAssignPartyId" type="String" mode="IN" optional="false"/>
<attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
</service>
<service name="createWorkEffortNote" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortNote" auth="true">
<description>Create a WorkEffort Note</description>
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
<attribute name="noteInfo" type="String" mode="IN" optional="false"/>
<attribute name="noteParty" type="String" mode="IN" optional="true"/>
<attribute name="noteName" type="String" mode="IN" optional="true"/>
<attribute name="noteId" type="String" mode="OUT" optional="false"/>
</service>
<!-- Services for finding Assigned WorkEfforts -->
<service name="getWorkEffortAssignedTasks" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedTasks">
<description>Get WorkEffort Assigned Tasks</description>
<attribute name="tasks" type="java.util.List" mode="OUT" optional="false"/>
</service>
<service name="getWorkEffortAssignedActivities" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedActivities">
<description>Get WorkEffort Assigned Activities</description>
<attribute name="activities" type="java.util.List" mode="OUT" optional="false"/>
</service>
<service name="getWorkEffortAssignedActivitiesByRole" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedActivitiesByRole">
<description>Get WorkEffort Assigned Activities By Role</description>
<attribute name="roleActivities" type="java.util.List" mode="OUT" optional="false"/>
</service>
<service name="getWorkEffortAssignedActivitiesByGroup" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortAssignedActivitiesByGroup">
<description>Get WorkEffort Assigned Activities By Group</description>
<attribute name="groupActivities" type="java.util.List" mode="OUT" optional="false"/>
</service>
<!-- Worker services -->
<service name="getWorkEffort" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffort">
<description>Get WorkEffort</description>
<attribute name="workEffortId" type="java.lang.String" mode="INOUT" optional="true"/>
<attribute name="currentStatusId" type="java.lang.String" mode="IN" optional="true"/>
<attribute name="workEffort" type="org.ofbiz.entity.GenericValue" mode="OUT" optional="true"/>
<attribute name="canView" type="java.lang.Boolean" mode="OUT" optional="true"/>
<attribute name="tryEntity" type="java.lang.Boolean" mode="OUT" optional="true"/>
<attribute name="currentStatusItem" type="org.ofbiz.entity.GenericValue" mode="OUT" optional="true"/>
<attribute name="partyAssigns" type="java.util.Collection" mode="OUT" optional="true"/>
</service>
<service name="getWorkEffortEventsByPeriod" auth="true" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getWorkEffortEventsByPeriod">
<description>Get WorkEffort Events by a period specified by periodType attribute (one of the
java.util.Calendar field values). Return a Map with periodStart as the key and a Collection of events for that period as value
If filterOutCanceledEvents is set to Boolean(true) then workEfforts with currentStatusId=EVENT_CANCELLED will not be returned.
To limit the events to a particular partyId, specify the partyId. To limit the events to a set of partyIds, specify a Collection of partyIds.
</description>
<attribute name="partyId" type="String" mode="IN" optional="true"/>
<attribute name="partyIds" type="java.util.Collection" mode="IN" optional="true"/>
<attribute name="facilityId" type="String" mode="IN" optional="true"/>
<attribute name="fixedAssetId" type="String" mode="IN" optional="true"/>
<attribute name="start" type="java.sql.Timestamp" mode="IN" optional="false"/>
<attribute name="numPeriods" type="java.lang.Integer" mode="IN" optional="false"/>
<attribute name="periodType" type="java.lang.Integer" mode="IN" optional="false"/>
<attribute name="filterOutCanceledEvents" type="java.lang.Boolean" mode="IN" optional="true"/>
<attribute name="periods" type="java.util.List" mode="OUT" optional="false"/>
<attribute name="maxConcurrentEntries" type="java.lang.Integer" mode="OUT" optional="false"/>
</service>
<service name="getProductManufacturingSummaryByFacility" engine="java"
location="org.ofbiz.workeffort.workeffort.WorkEffortServices" invoke="getProductManufacturingSummaryByFacility">
<description>
Create a map with an entry for each facility. The value is another map with information about
the manufacturing orders running in the facility for the given product:
incoming - incomingProductionRunList, estimatedQuantityTotal. Shows quantity of product to be produced.
outgoing - outgoingProductionRunList, estimatedQuantityTotal. Shows quantity of product to be consumed.
</description>
<attribute name="productId" type="String" mode="IN" optional="false"/>
<attribute name="facilityId" type="String" mode="IN" optional="true"/>
<attribute name="summaryInByFacility" type="Map" mode="OUT" optional="false"/>
<attribute name="summaryOutByFacility" type="Map" mode="OUT" optional="false"/>
</service>
<service name="createWorkEffortAssoc" default-entity-name="WorkEffortAssoc" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortAssoc">
<description>
Create a WorkEffort Assoc, for linking task to describe a project or
for linking routing with its routingTasks
</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="fromDate" optional="true"/>
</service>
<service name="updateWorkEffortAssoc" default-entity-name="WorkEffortAssoc" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortAssoc">
<description>
Update a WorkEffort Assoc, for linking task to describe a project or
for linking routing with its routingTasks
</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeWorkEffortAssoc" engine="simple" default-entity-name="WorkEffortAssoc"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="removeWorkEffortAssoc">
<description>
Remove a WorkEffort Assoc, for linking task to describe a project or
for linking routing with its routingTasks
</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<service name="createWorkEffortAndAssoc" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortAndAssoc" auth="true">
<description>Creates a WorkEffort entity and WorkEffortAssoc</description>
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffort"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffort"/>
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffortAssoc"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffortAssoc"/>
</service>
<service name="updateWorkEffortAndAssoc" engine="group" location="updateWorkEffortAndAssoc" invoke="" auth="true">
<description>Creates a WorkEffort entity and WorkEffortAssoc</description>
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffort"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffort"/>
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="WorkEffortAssoc"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkEffortAssoc"/>
</service>
<service name="createWorkEffortGoodStandard" engine="simple" default-entity-name="WorkEffortGoodStandard"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortGoodStandard">
<description>
Create a WorkEffort - Product Assoc, for linking WorkEffort to In or Out Product,
for routing it's the link between Manafactured Product with its routings
</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="fromDate" optional="true"/>
</service>
<service name="updateWorkEffortGoodStandard" engine="simple" default-entity-name="WorkEffortGoodStandard"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortGoodStandard">
<description>
Update a WorkEffort - Product Assoc, for linking WorkEffort to In or Out Product,
for routing it's the link between Manafactured Product with its routings
</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeWorkEffortGoodStandard" engine="simple" default-entity-name="WorkEffortGoodStandard"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="removeWorkEffortGoodStandard">
<description>Remove a WorkEffort - Product Assoc, for linking WorkEffort to In or Out Product,
for routing it's the link between Manafactured Product with its routings
</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<service name="assignInventoryToWorkEffort" default-entity-name="WorkEffortInventoryAssign" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="assignInventoryToWorkEffort" auth="true">
<description>Create or update WorkEffortInventoryAssign</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="createCommunicationEventWorkEff" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="makeCommunicationEventWorkEffort" auth="true">
<description>Creates a CommunicationEvent entity and CommunicationEventWorkEff</description>
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="CommunicationEvent"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEvent"/>
<auto-attributes include="pk" mode="INOUT" optional="true" entity-name="CommunicationEventWorkEff"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEventWorkEff"/>
</service>
<service name="updateCommunicationEventWorkEff" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateCommunicationEventWorkEff" auth="true">
<description>Updates CommunicationEventWorkEff</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CommunicationEventWorkEff"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEventWorkEff"/>
</service>
<service name="deleteCommunicationEventWorkEff" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteCommunicationEventWorkEff" auth="true">
<description>Deletes CommunicationEventWorkEff</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CommunicationEventWorkEff"/>
</service>
<service name="createWorkEffortRequest" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortRequest" auth="true">
<description>Creates a CustRequestWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestWorkEffort"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="CustRequest"/>
<override name="custRequestId" optional="true" mode="INOUT"/>
</service>
<service name="deleteWorkEffortRequest" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortRequest" auth="true">
<description>Deletes a CustRequestWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestWorkEffort"/>
</service>
<service name="createWorkEffortRequestItemAndRequestItem" engine="group" location="createWorkEffortRequestItemAndRequestItem" invoke="" auth="true">
<description>Creates a CustRequestItem entity and CustRequestItemWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="CustRequestItem"/>
<attribute name="custRequestItemExists" type="java.lang.String" mode="OUT" optional="true"/>
</service>
<service name="createWorkEffortRequestItem" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortRequestItem" auth="true">
<description>Creates a CustRequestItemWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="CustRequestItem"/>
<attribute name="custRequestItemExists" type="java.lang.String" mode="IN" optional="true"/>
</service>
<service name="deleteWorkEffortRequestItem" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortRequestItem" auth="true">
<description>Deletes a CustRequestItemWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
</service>
<service name="checkCustRequestItemExists" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="checkCustRequestItemExists" auth="true">
<description>Checks to see if a CustRequestItem exists</description>
<auto-attributes include="pk" mode="IN" optional="true" entity-name="CustRequestItem"/>
<attribute name="custRequestItemExists" type="java.lang.String" mode="OUT" optional="true"/>
</service>
<service name="createWorkEffortQuote" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortQuote" auth="true">
<description>Creates a QuoteWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="QuoteWorkEffort"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="Quote"/>
<override name="quoteId" optional="true" mode="INOUT"/>
</service>
<service name="deleteWorkEffortQuote" default-entity-name="QuoteWorkEffort" engine="simple" auth="true"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortQuote">
<description>Deletes a QuoteWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<service name="createWorkRequirementFulfillment" engine="simple" auth="true"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkRequirementFulfillment">
<description>Creates a WorkRequirementFulfillment</description>
<auto-attributes include="pk" mode="IN" optional="true" entity-name="WorkRequirementFulfillment"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="WorkRequirementFulfillment"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="Requirement"/>
</service>
<service name="deleteWorkRequirementFulfillment" engine="simple" auth="true"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkRequirementFulfillment">
<description>Deletes a WorkRequirementFulfillment</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="WorkRequirementFulfillment"/>
</service>
<service name="createShoppingListWorkEffort" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createShoppingListWorkEffort" auth="true">
<description>Creates a ShoppingListWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="ShoppingListWorkEffort"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="ShoppingListWorkEffort"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="ShoppingList"/>
<override name="shoppingListId" optional="true" mode="INOUT"/>
</service>
<service name="deleteShoppingListWorkEffort" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteShoppingListWorkEffort" auth="true">
<description>Deletes a ShoppingListWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="ShoppingListWorkEffort"/>
</service>
<service name="createOrderHeaderWorkEffort" engine="simple" auth="true"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createOrderHeaderWorkEffort">
<description>Creates a OrderHeaderWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="OrderHeaderWorkEffort"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="OrderHeaderWorkEffort"/>
<auto-attributes include="all" mode="IN" optional="true" entity-name="OrderHeader"/>
<override name="orderId" optional="true" mode="INOUT"/>
</service>
<service name="deleteOrderHeaderWorkEffort" default-entity-name="OrderHeaderWorkEffort" engine="simple" auth="true"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteOrderHeaderWorkEffort">
<description>Deletes a OrderHeaderWorkEffort</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
<service name="setWorkEffortFixedAssetAssign" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="setWorkEffortFixedAssetAssign" auth="true">
<description>Based on task's estimate dates, write assign entries for the fixed asset the task is assigned to</description>
<attribute mode="IN" name="workEffortId" optional="false" type="String"/>
</service>
<!-- WorkEffort-FixedAsset management services -->
<service name="createWorkEffortFixedAssetStd" engine="simple" auth="true"
default-entity-name="WorkEffortFixedAssetStd"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="createWorkEffortFixedAssetStd">
<description>Creates a WorkEffortFixedAssetStd entry to associate a routing task
with a fixed asset (type)</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="updateWorkEffortFixedAssetStd" engine="simple" auth="true"
default-entity-name="WorkEffortFixedAssetStd"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="updateWorkEffortFixedAssetStd">
<description>Updates an existing WorkEffortFixedAssetStd entry</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeWorkEffortFixedAssetStd" engine="simple" auth="true"
default-entity-name="WorkEffortFixedAssetStd"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="removeWorkEffortFixedAssetStd">
<description>Removes a WorkEffortFixedAssetStd, thus removing the association between a routing task
and a fixed asset (type)</description>
<auto-attributes include="pk" mode="IN" optional="false" />
</service>
<service name="createWorkEffortFixedAssetAssign" engine="simple" auth="true"
default-entity-name="WorkEffortFixedAssetAssign"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="createWorkEffortFixedAssetAssign">
<description>Create a WorkEffortFixedAssetAssign entry to associate a fixed asset
with a work effort (e.g. a production run task)</description>
<auto-attributes include="pk" mode="IN" optional="false" />
<auto-attributes include="nonpk" mode="IN" optional="true" />
<override name="fromDate" optional="true" />
</service>
<service name="updateWorkEffortFixedAssetAssign" engine="simple" auth="true"
default-entity-name="WorkEffortFixedAssetAssign"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="updateWorkEffortFixedAssetAssign">
<description>Update an existing WorkEffortFixedAssetAssign entry</description>
<auto-attributes include="pk" mode="IN" optional="false" />
<auto-attributes include="nonpk" mode="IN" optional="true" />
</service>
<service name="removeWorkEffortFixedAssetAssign" engine="simple" auth="true"
default-entity-name="WorkEffortFixedAssetAssign"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="removeWorkEffortFixedAssetAssign">
<description>Remove a WorkEffortFixedAssign entry, which removes the association between a fixed asset
and a work effort (e.g. a production run task)</description>
<auto-attributes include="pk" mode="IN" optional="false" />
</service>
<!-- work effort content services -->
<service name="createWorkEffortContent" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="createWorkEffortContent"
default-entity-name="WorkEffortContent" auth="true">
<description>Create a Work Effort Content</description>
<auto-attributes include="pk" mode="IN" optional="false" />
<auto-attributes include="nonpk" mode="IN" optional="true" />
<override name="fromDate" optional="true" />
</service>
<service name="updateWorkEffortContent" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="updateWorkEffortContent"
default-entity-name="WorkEffortContent" auth="true">
<description>Update a Work Effort Content</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="deleteWorkEffortContent" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml"
invoke="deleteWorkEffortContent"
default-entity-name="WorkEffortContent" auth="true">
<description>Update a Work Effort Content</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<!-- simple use content services -->
<service name="createWorkEffortTextContent" engine="group" transaction-timeout="300" auth="true">
<description>Creates a Text Document DataResource and Content Records</description>
<group>
<invoke name="createTextContent" result-to-context="true"/>
<invoke name="createWorkEffortContent"/>
</group>
</service>
<service name="updateWorkEffortTextContent" engine="group" transaction-timeout="300" auth="true">
<description>Update a Text Document DataResource and Content Records</description>
<group>
<invoke name="updateTextContent" result-to-context="true"/>
<invoke name="updateWorkEffortContent"/>
</group>
</service>
<service name="uploadWorkEffortContentFile" engine="group" transaction-timeout="300">
<description>Upload and attach a file to a WorkEffort</description>
<group>
<invoke name="createContentFromUploadedFile" result-to-context="true"/>
<invoke name="createWorkEffortContent"/>
</group>
</service>
<!-- work effort review services -->
<service name="createWorkEffortReview" default-entity-name="WorkEffortReview" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortReview" auth="true">
<description>Create a Work Effort Review</description>
<auto-attributes include="pk" mode="IN" optional="true"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="updateWorkEffortReview" default-entity-name="WorkEffortReview" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortReview" auth="true">
<description>Update a Work Effort Review</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="deleteWorkEffortReview" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortReview" auth="true">
<description>Remove a Work Effort Review</description>
<auto-attributes entity-name="WorkEffortReview" include="pk" mode="IN" optional="false"/>
</service>
<service name="indexWorkEffortKeywords" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="indexWorkEffortKeywords">
<description>Index the Keywords for a WorkEffort</description>
<attribute name="workEffortId" type="String" mode="IN" optional="false"/>
<attribute name="workEffortInstance" type="GenericValue" mode="IN" optional="true"/>
</service>
<service name="createWorkEffortKeyword" default-entity-name="WorkEffortKeyword" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortKeyword" auth="true">
<description>Create a Work Effort Keyword</description>
<auto-attributes include="pk" mode="IN" optional="true"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="deleteWorkEffortKeyword" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortKeyword" auth="true">
<description>Remove a Work Effort Keyword</description>
<auto-attributes entity-name="WorkEffortKeyword" include="pk" mode="IN" optional="false"/>
</service>
<service name="createWorkEffortKeywords" default-entity-name="WorkEffortKeyword" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortKeywords" auth="true">
<description>Create a Work Effort Keyword</description>
<auto-attributes include="pk" mode="IN" optional="true"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="deleteWorkEffortKeywords" engine="simple"
location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortKeywords" auth="true">
<description>Remove all Work Effort Keyword</description>
<auto-attributes entity-name="WorkEffort" include="pk" mode="IN" optional="false"/>
</service>
<!-- Permission Services -->
<service name="workEffortManagerPermission" engine="simple"
location="org/ofbiz/workeffort/WorkEffortPermissionServices.xml" invoke="workEffortManagerPermission">
<implements service="permissionInterface"/>
</service>
<service name="workEffortGenericPermission" engine="simple"
location="org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml" invoke="workEffortGenericPermission">
<implements service="permissionInterface"/>
<attribute name="workEffortId" mode="IN" type="String" optional="true"/>
<attribute name="workEffortParentId" mode="IN" type="String" optional="true"/>
</service>
<service name="timesheetUpdatePermission" engine="simple"
location="org/ofbiz/workeffort/permission/WorkEffortPermissionServices.xml" invoke="timesheetUpdatePermission">
<implements service="permissionInterface"/>
<attribute name="workEffortId" mode="IN" type="String" optional="true"></attribute>
</service>
</services>