| <?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>Accounting Services - Miscellaneous</description> |
| <vendor>OFBiz</vendor> |
| <version>1.0</version> |
| <service name="createPartyAcctgPreference" default-entity-name="PartyAcctgPreference" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="createPartyAcctgPreference" auth="true"> |
| <description>Create accounting preferences for a party (organization)</description> |
| <required-permissions join-type="OR"> |
| <check-permission permission="ACCTG_PREF_CREATE"/> |
| </required-permissions> |
| <auto-attributes include="pk" mode="IN" optional="false"/> |
| <auto-attributes include="nonpk" mode="IN" optional="true"/> |
| </service> |
| |
| <service name="updateFXConversion" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="updateFXConversion"> |
| <description>Update the conversion rate between two currencies and expire the old conversion rates</description> |
| <required-permissions join-type="AND"> |
| <check-permission permission="ACCTG_FX_ENTRY"/> |
| </required-permissions> |
| <attribute type="String" mode="IN" name="uomId" optional="false"/> |
| <attribute type="String" mode="IN" name="uomIdTo" optional="false"/> |
| <attribute type="Double" mode="IN" name="conversionFactor" optional="false"/> |
| <attribute type="Timestamp" mode="IN" name="asOfTimestamp" optional="true"/> |
| </service> |
| |
| <service name="addInvoiceItemTypeGlAssignment" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="addInvoiceItemTypeGlAssignment"> |
| <description>add a override GL account number to a invoice Itemtype for a certain organisation party.</description> |
| <auto-attributes mode="IN" entity-name="InvoiceItemTypeGlAccount" include="all" optional="false"/> |
| </service> |
| <service name="removeInvoiceItemTypeGlAssignment" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="removeInvoiceItemTypeGlAssignment"> |
| <description>Remove a override GL account number to a invoice type for a certain organisation party.</description> |
| <auto-attributes mode="IN" entity-name="InvoiceItemTypeGlAccount" include="pk" optional="false"/> |
| </service> |
| |
| <service name="addPaymentTypeGlAssignment" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="addPaymentTypeGlAssignment"> |
| <description>add a default GL account type to a payment type.</description> |
| <auto-attributes mode="IN" entity-name="PaymentGlAccountTypeMap" include="all" optional="false"/> |
| </service> |
| <service name="removePaymentTypeGlAssignment" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="removePaymentTypeGlAssignment"> |
| <description>Remove a default GL account type from a payment type.</description> |
| <auto-attributes mode="IN" entity-name="PaymentGlAccountTypeMap" include="pk" optional="false"/> |
| </service> |
| |
| <service name="addPaymentMethodTypeGlAssignment" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="addPaymentMethodTypeGlAssignment"> |
| <description>add a default GL account number to a payment method type.</description> |
| <auto-attributes mode="IN" entity-name="PaymentMethodTypeGlAccount" include="all" optional="false"/> |
| </service> |
| <service name="removePaymentMethodTypeGlAssignment" engine="simple" |
| location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="removePaymentMethodTypeGlAssignment"> |
| <description>Remove a default GL account number from a payment method type.</description> |
| <auto-attributes mode="IN" entity-name="PaymentMethodTypeGlAccount" include="pk" optional="false"/> |
| </service> |
| </services> |