Blame view
applications/workeffort/servicedef/services_timesheet.xml
10.1 KB
c16038356
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
<?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://ofbiz.apache.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="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheet"> <description>Creates Timesheet</description> <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateTimesheetToInProcess" default-entity-name="Timesheet" engine="simple" auth="true" location="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="updateTimesheetToInProcess"> <description>Updates the Timesheet status back to in process to be able to correct errors</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="updateTimesheet" default-entity-name="Timesheet" engine="simple" auth="true" location="component://workeffort/script/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="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="deleteTimesheet"> <description>Deletes Timesheet</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="createTimesheets" engine="simple" location="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheets" auth="true"> <description>Creates Timesheet for multiple Parties in a single shot</description> <attribute name="partyIdList" type="List" mode="IN" optional="true"/> <attribute name="clientPartyId" type="String" mode="IN" optional="true"/> <attribute name="fromDate" type="String" mode="IN" optional="true"/> <attribute name="thruDate" type="String" mode="IN" optional="true"/> <attribute name="comments" type="String" mode="IN" optional="true"/> </service> <service name="createTimesheetForThisWeek" default-entity-name="Timesheet" engine="simple" auth="true" location="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="createTimesheetForThisWeek"> <description>Creates Timesheet for this week if no required date specified.</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> <attribute name="requiredDate" type="Timestamp" mode="IN" optional="true"/> </service> <service name="addTimesheetToInvoice" default-entity-name="Timesheet" engine="simple" auth="true" location="component://workeffort/script/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="component://workeffort/script/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="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="addWorkEffortTimeToInvoice"> <description>Add WorkEffort Time to existing Invoice, with the option to combine all timeentries with the same rateType into one invoiceItem </description> <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/> <attribute name="workEffortId" type="String" mode="IN" optional="false"/> <attribute name="invoiceId" type="String" mode="IN" optional="false"/> <attribute name="combineInvoiceItem" mode="IN" type="String" optional="true"/> <attribute name="thruDate" mode="IN" type="Timestamp" optional="true"/> </service> <service name="addWorkEffortTimeToNewInvoice" default-entity-name="Timesheet" engine="simple" auth="true" location="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="addWorkEffortTimeToInvoice"> <description>Add WorkEffort Time to a new Invoice with the option to combine all time entries with the same rateType into one invoiceItem</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"/> <attribute name="combineInvoiceItem" mode="IN" type="String" optional="true"/> <attribute name="thruDate" mode="IN" type="Timestamp" optional="true"/> </service> <!-- TimesheetRole Services --> <service name="createTimesheetRole" default-entity-name="TimesheetRole" engine="simple" auth="true" location="component://workeffort/script/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="component://workeffort/script/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="component://workeffort/script/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="component://workeffort/script/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="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="deleteTimeEntry"> <description>Deletes TimeEntry</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="unlinkInvoiceFromTimeEntry" default-entity-name="TimeEntry" engine="simple" auth="true" location="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="unlinkInvoiceFromTimeEntry"> <description>Deletes TimeEntry</description> <auto-attributes include="pk" mode="IN" optional="false"/> <attribute name="invoiceId" type="String" mode="INOUT" optional="false"/> </service> <service name="getTimeEntryRate" default-entity-name="TimeEntry" engine="simple" auth="true" location="component://workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml" invoke="getTimeEntryRate"> <description>Creates TimeEntry</description> <auto-attributes include="pk" mode="IN" optional="false"/> <attribute name="currencyUomId" mode="IN" type="String" optional="true"/> <attribute name="rateAmount" type="BigDecimal" mode="OUT" optional="true"/> </service> <!-- WorkEffortRate Services (WorkEffortAssignmentRate Services now depreciated and replced by RateAmount services )--> </services> |