| <?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>WorkEffort Timesheet Services</description> |
| <vendor>OFBiz</vendor> |
| <version>1.0</version> |
| |
| <!-- Timesheet Services --> |
| <service name="createTimesheet" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheet"> |
| <description>Creates Timesheet</description> |
| <auto-attributes include="pk" mode="OUT" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="updateTimesheet" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="updateTimesheet"> |
| <description>Updates Timesheet</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="deleteTimesheet" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="deleteTimesheet"> |
| <description>Deletes Timesheet</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| </service> |
| <service name="createTimesheetForThisWeek" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheetForThisWeek"> |
| <description>Creates Timesheet</description> |
| <auto-attributes include="pk" mode="OUT" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"> |
| <exclude field-name="fromDate"/> |
| <exclude field-name="thruDate"/> |
| </auto-attributes> |
| </service> |
| <service name="addTimesheetToInvoice" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="addTimesheetToInvoice"> |
| <description>Add Timesheet to Invoice</description> |
| <attribute name="timesheetId" type="String" mode="IN" optional="false"/> |
| <attribute name="invoiceId" type="String" mode="IN" optional="false"/> |
| </service> |
| <service name="addTimesheetToNewInvoice" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="addTimesheetToInvoice"> |
| <description>Add Timesheet to Invoice</description> |
| <attribute name="timesheetId" type="String" mode="IN" optional="false"/> |
| <attribute name="partyIdFrom" type="String" mode="IN" optional="false"/> |
| <attribute name="partyId" type="String" mode="IN" optional="false"/> |
| <attribute name="invoiceId" type="String" mode="OUT" optional="false"/> |
| </service> |
| |
| <service name="addWorkEffortTimeToInvoice" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="addWorkEffortTimeToInvoice"> |
| <description>Add WorkEffort Time to Invoice</description> |
| <attribute name="workEffortId" type="String" mode="IN" optional="false"/> |
| <attribute name="invoiceId" type="String" mode="IN" optional="false"/> |
| </service> |
| <service name="addWorkEffortTimeToNewInvoice" default-entity-name="Timesheet" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="addWorkEffortTimeToInvoice"> |
| <description>Add WorkEffort Time to Invoice</description> |
| <attribute name="workEffortId" type="String" mode="IN" optional="false"/> |
| <attribute name="partyIdFrom" type="String" mode="IN" optional="false"/> |
| <attribute name="partyId" type="String" mode="IN" optional="false"/> |
| <attribute name="invoiceId" type="String" mode="OUT" optional="false"/> |
| </service> |
| |
| <!-- TimesheetRole Services --> |
| <service name="createTimesheetRole" default-entity-name="TimesheetRole" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheetRole"> |
| <description>Creates TimesheetRole</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="deleteTimesheetRole" default-entity-name="TimesheetRole" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="deleteTimesheetRole"> |
| <description>Deletes TimesheetRole</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| </service> |
| |
| <!-- TimeEntry Services --> |
| <service name="createTimeEntry" default-entity-name="TimeEntry" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimeEntry"> |
| <description>Creates TimeEntry</description> |
| <auto-attributes include="pk" mode="OUT" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="updateTimeEntry" default-entity-name="TimeEntry" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="updateTimeEntry"> |
| <description>Updates TimeEntry</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="deleteTimeEntry" default-entity-name="TimeEntry" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="deleteTimeEntry"> |
| <description>Deletes TimeEntry</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| </service> |
| <service name="getTimeEntryRate" default-entity-name="TimeEntry" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="getTimeEntryRate"> |
| <description>Creates TimeEntry</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <attribute name="rateAmount" type="Double" mode="OUT" optional="true"></attribute> |
| </service> |
| |
| <!-- PartyRate Services --> |
| <service name="createPartyRate" default-entity-name="PartyRate" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/RateServices.xml" invoke="createPartyRate"> |
| <description>Creates PartyRate</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="updatePartyRate" default-entity-name="PartyRate" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/RateServices.xml" invoke="updatePartyRate"> |
| <description>Updates PartyRate</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="deletePartyRate" default-entity-name="PartyRate" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/RateServices.xml" invoke="deletePartyRate"> |
| <description>Deletes PartyRate</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| </service> |
| |
| <!-- WorkEffortAssignmentRate Services --> |
| <service name="createWorkEffortAssignmentRate" default-entity-name="WorkEffortAssignmentRate" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/RateServices.xml" invoke="createWorkEffortAssignmentRate"> |
| <description>Creates WorkEffortAssignmentRate</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="updateWorkEffortAssignmentRate" default-entity-name="WorkEffortAssignmentRate" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/RateServices.xml" invoke="updateWorkEffortAssignmentRate"> |
| <description>Updates WorkEffortAssignmentRate</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| <service name="deleteWorkEffortAssignmentRate" default-entity-name="WorkEffortAssignmentRate" engine="simple" auth="true" |
| location="org/ofbiz/workeffort/timesheet/RateServices.xml" invoke="deleteWorkEffortAssignmentRate"> |
| <description>Deletes WorkEffortAssignmentRate</description> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| </service> |
| </services> |