Author: jleroux
Date: Thu Mar 19 11:19:14 2009 New Revision: 755925 URL: http://svn.apache.org/viewvc?rev=755925&view=rev Log: A 1s set of changes in accounting Following best practice. Changed location="org/ofbiz/......... to location="component:// in the service location attribute. I used <service name=(.*)engine="simple"(.*)\R(.*)location="org/ofbiz => <service name=$1engine="simple"$2\R$3location="component://accounting/script/org/ofbiz More to follow... (component by component) Modified: ofbiz/trunk/applications/accounting/servicedef/services_admin.xml ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml ofbiz/trunk/applications/accounting/servicedef/services_billing.xml ofbiz/trunk/applications/accounting/servicedef/services_cost.xml ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml ofbiz/trunk/applications/accounting/servicedef/services_olap.xml ofbiz/trunk/applications/accounting/servicedef/services_payment.xml ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml ofbiz/trunk/applications/accounting/servicedef/services_rate.xml ofbiz/trunk/applications/accounting/servicedef/services_tax.xml Modified: ofbiz/trunk/applications/accounting/servicedef/services_admin.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_admin.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_admin.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_admin.xml Thu Mar 19 11:19:14 2009 @@ -24,7 +24,7 @@ <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"> + location="component://accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="createPartyAcctgPreference" auth="true"> <description>Create accounting preferences for a party (organization)</description> <permission-service service-name="acctgPrefPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -56,7 +56,7 @@ </auto-attributes> </service> <service name="getPartyAccountingPreferences" default-entity-name="PartyAcctgPreference" engine="simple" - location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="getPartyAccountingPreferences" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="getPartyAccountingPreferences" auth="true"> <description>Get accounting preferences for a party (organization)</description> <permission-service service-name="acctgPrefPermissionCheck" main-action="VIEW"/> <attribute type="String" mode="IN" name="organizationPartyId" optional="false"/> @@ -64,7 +64,7 @@ </service> <service name="updateFXConversion" engine="simple" - location="org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="updateFXConversion"> + location="component://accounting/script/org/ofbiz/accounting/admin/AcctgAdminServices.xml" invoke="updateFXConversion"> <description>Update the conversion rate between two currencies and expire the old conversion rates</description> <permission-service service-name="acctgFxPermissionCheck" main-action="UPDATE"/> <attribute type="String" mode="IN" name="uomId" optional="false"/> Modified: ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml Thu Mar 19 11:19:14 2009 @@ -25,28 +25,28 @@ <!-- Agreement --> <service name="createAgreement" default-entity-name="Agreement" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreement" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreement" auth="true"> <description>Create an Agreement</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> <auto-attributes include="pk" mode="OUT" optional="true"/> </service> <service name="updateAgreement" default-entity-name="Agreement" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreement" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreement" auth="true"> <description>Update an Agreement</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="cancelAgreement" default-entity-name="Agreement" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="cancelAgreement" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="cancelAgreement" auth="true"> <description>Cancel an Agreement</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="copyAgreement" default-entity-name="Agreement" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="copyAgreement" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="copyAgreement" auth="true"> <description>Copy an Agreement</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="false"/> @@ -57,21 +57,21 @@ <!-- AgreementItem --> <service name="createAgreementItem" default-entity-name="AgreementItem" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementItem" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementItem" auth="true"> <description>Create an AgreementItem</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAgreementItem" default-entity-name="AgreementItem" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementItem" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementItem" auth="true"> <description>Update an AgreementItem</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeAgreementItem" default-entity-name="AgreementItem" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementItem" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementItem" auth="true"> <description>Remove an AgreementItem</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> @@ -80,21 +80,21 @@ <!-- AgreementTerm --> <service name="createAgreementTerm" default-entity-name="AgreementTerm" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementTerm" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementTerm" auth="true"> <description>Create an AgreementTerm</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAgreementTerm" default-entity-name="AgreementTerm" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementTerm" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementTerm" auth="true"> <description>Update an AgreementTerm</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteAgreementTerm" default-entity-name="AgreementTerm" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="deleteAgreementTerm" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="deleteAgreementTerm" auth="true"> <description>Delete an AgreementTerm</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> @@ -103,21 +103,21 @@ <!-- AgreementPromoAppl --> <service name="createAgreementPromoAppl" default-entity-name="AgreementPromoAppl" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementPromoAppl" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementPromoAppl" auth="true"> <description>Create an AgreementPromoAppl</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAgreementPromoAppl" default-entity-name="AgreementPromoAppl" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementPromoAppl" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementPromoAppl" auth="true"> <description>Update an AgreementPromoAppl</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeAgreementPromoAppl" default-entity-name="AgreementPromoAppl" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementPromoAppl" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementPromoAppl" auth="true"> <description>Remove an AgreementPromoAppl</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -126,21 +126,21 @@ <!-- AgreementProductAppl --> <service name="createAgreementProductAppl" default-entity-name="AgreementProductAppl" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementProductAppl" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementProductAppl" auth="true"> <description>Create an AgreementProductAppl</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAgreementProductAppl" default-entity-name="AgreementProductAppl" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementProductAppl" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementProductAppl" auth="true"> <description>Update an AgreementProductAppl</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeAgreementProductAppl" default-entity-name="AgreementProductAppl" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementProductAppl" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementProductAppl" auth="true"> <description>Remove an AgreementProductAppl</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -149,21 +149,21 @@ <!-- AgreementPartyApplic --> <service name="createAgreementPartyApplic" default-entity-name="AgreementPartyApplic" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementPartyApplic" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementPartyApplic" auth="true"> <description>Create an AgreementPartyApplic</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAgreementPartyApplic" default-entity-name="AgreementPartyApplic" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementPartyApplic" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementPartyApplic" auth="true"> <description>Update an AgreementPartyApplic</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeAgreementPartyApplic" default-entity-name="AgreementPartyApplic" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementPartyApplic" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementPartyApplic" auth="true"> <description>Remove an AgreementPartyApplic</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -172,21 +172,21 @@ <!-- AgreementGeographicalApplic --> <service name="createAgreementGeographicalApplic" default-entity-name="AgreementGeographicalApplic" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementGeographicalApplic" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementGeographicalApplic" auth="true"> <description>Create an AgreementGeographicalApplic</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAgreementGeographicalApplic" default-entity-name="AgreementGeographicalApplic" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementGeographicalApplic" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementGeographicalApplic" auth="true"> <description>Update an AgreementGeographicalApplic</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeAgreementGeographicalApplic" default-entity-name="AgreementGeographicalApplic" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementGeographicalApplic" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="removeAgreementGeographicalApplic" auth="true"> <description>Remove an AgreementGeographicalApplic</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -195,19 +195,19 @@ <!-- AgreementRole --> <service name="createAgreementRole" default-entity-name="AgreementRole" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementRole" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementRole" auth="true"> <description>Create an Agreement Role</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="updateAgreementRole" default-entity-name="AgreementRole" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementRole" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="updateAgreementRole" auth="true"> <description>Update an Agreement Role</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="deleteAgreementRole" default-entity-name="AgreementRole" engine="simple" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="deleteAgreementRole" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="deleteAgreementRole" auth="true"> <description>Delete an Agreement Role</description> <auto-attributes mode="IN" include="pk" optional="false"/> </service> @@ -235,12 +235,12 @@ <!--AgrementWorkEffortAppl--> <service name="createAgreementWorkEffortAppl" engine="simple" default-entity-name="AgreementWorkEffortAppl" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementWorkEffortAppl"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="createAgreementWorkEffortAppl"> <description> Create AgreementWorkEffortAppl </description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="deleteAgreementWorkEffortAppl" engine="simple" default-entity-name="AgreementWorkEffortAppl" - location="org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="deleteAgreementWorkEffortAppl"> + location="component://accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml" invoke="deleteAgreementWorkEffortAppl"> <description>Delete AgreementWorkEffortAppl</description> <auto-attributes mode="IN" include="pk" optional="false"/> </service> Modified: ofbiz/trunk/applications/accounting/servicedef/services_billing.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_billing.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_billing.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_billing.xml Thu Mar 19 11:19:14 2009 @@ -26,7 +26,7 @@ <!-- Billing Account Services --> <service name="createBillingAccount" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="createBillingAccount"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="createBillingAccount"> <description>Create a Billing Account</description> <permission-service service-name="acctgBillingAcctCheck" main-action="CREATE"/> <attribute name="accountLimit" type="BigDecimal" mode="IN" optional="true"/> @@ -40,7 +40,7 @@ <attribute name="billingAccountId" type="String" mode="OUT" optional="false"/> </service> <service name="updateBillingAccount" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="updateBillingAccount"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="updateBillingAccount"> <description>Update a Billing Account</description> <permission-service service-name="acctgBillingAcctCheck" main-action="UPDATE"/> <attribute name="billingAccountId" type="String" mode="IN" optional="false"/> @@ -52,7 +52,7 @@ <attribute name="thruDate" type="Timestamp" mode="IN" optional="true"/> </service> <service name="createBillingAccountRole" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="createBillingAccountRole"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="createBillingAccountRole"> <description>Create a Billing Account Role</description> <permission-service service-name="acctgBillingAcctCheck" main-action="CREATE"/> <attribute name="billingAccountId" type="String" mode="IN" optional="false"/> @@ -62,7 +62,7 @@ <attribute name="thruDate" type="Timestamp" mode="IN" optional="true"/> </service> <service name="updateBillingAccountRole" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="updateBillingAccountRole"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="updateBillingAccountRole"> <description>Update a Billing Account Role</description> <permission-service service-name="acctgBillingAcctCheck" main-action="UPDATE"/> <attribute name="billingAccountId" type="String" mode="IN" optional="false"/> @@ -72,13 +72,13 @@ <attribute name="thruDate" type="Timestamp" mode="IN" optional="false"/> </service> <service name="removeBillingAccountRole" engine="simple" default-entity-name="BillingAccountRole" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="removeBillingAccountRole"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="removeBillingAccountRole"> <description>Remove a Billing Account Role</description> <permission-service service-name="acctgBillingAcctCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="createBillingAccountTerm" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="createBillingAccountTerm"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="createBillingAccountTerm"> <description>Create a Billing Account Term</description> <permission-service service-name="acctgBillingAcctCheck" main-action="CREATE"/> <attribute name="billingAccountId" type="String" mode="IN" optional="false"/> @@ -88,7 +88,7 @@ <attribute name="billingAccountTermId" type="String" mode="OUT" optional="false"/> </service> <service name="updateBillingAccountTerm" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="updateBillingAccountTerm"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="updateBillingAccountTerm"> <description>Update a Billing Account Term</description> <permission-service service-name="acctgBillingAcctCheck" main-action="UPDATE"/> <attribute name="billingAccountTermId" type="String" mode="IN" optional="false"/> @@ -98,7 +98,7 @@ <attribute name="uomId" type="String" mode="IN" optional="true"/> </service> <service name="removeBillingAccountTerm" engine="simple" - location="org/ofbiz/accounting/payment/BillingServices.xml" invoke="removeBillingAccountTerm"> + location="component://accounting/script/org/ofbiz/accounting/payment/BillingServices.xml" invoke="removeBillingAccountTerm"> <description>Remove a Billing Account Term</description> <permission-service service-name="acctgBillingAcctCheck" main-action="DELETE"/> <attribute name="billingAccountTermId" type="String" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/accounting/servicedef/services_cost.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_cost.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_cost.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_cost.xml Thu Mar 19 11:19:14 2009 @@ -25,7 +25,7 @@ <version>1.0</version> <service name="createCostComponentCalc" default-entity-name="CostComponentCalc" engine="simple" - location="org/ofbiz/accounting/cost/CostServices.xml" invoke="createCostComponentCalc" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/cost/CostServices.xml" invoke="createCostComponentCalc" auth="true"> <description>Create a CostComponentCalc</description> <permission-service service-name="acctgCostPermissionCheck" main-action="CREATE"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> @@ -33,7 +33,7 @@ </service> <service name="updateCostComponentCalc" default-entity-name="CostComponentCalc" engine="simple" - location="org/ofbiz/accounting/cost/CostServices.xml" invoke="updateCostComponentCalc" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/cost/CostServices.xml" invoke="updateCostComponentCalc" auth="true"> <description>Update a CostComponentCalc</description> <permission-service service-name="acctgCostPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -41,7 +41,7 @@ </service> <service name="removeCostComponentCalc" default-entity-name="CostComponentCalc" engine="simple" - location="org/ofbiz/accounting/cost/CostServices.xml" invoke="removeCostComponentCalc" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/cost/CostServices.xml" invoke="removeCostComponentCalc" auth="true"> <description>Remove a CostComponentCalc</description> <permission-service service-name="acctgCostPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -49,7 +49,7 @@ </service> <service name="createWorkEffortCostCalc" default-entity-name="WorkEffortCostCalc" engine="simple" - location="org/ofbiz/accounting/cost/CostServices.xml" invoke="createWorkEffortCostCalc" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/cost/CostServices.xml" invoke="createWorkEffortCostCalc" auth="true"> <description>Create a WorkEffortCostCalc entry</description> <permission-service service-name="acctgCostPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -58,7 +58,7 @@ </service> <service name="removeWorkEffortCostCalc" default-entity-name="WorkEffortCostCalc" engine="simple" - location="org/ofbiz/accounting/cost/CostServices.xml" invoke="removeWorkEffortCostCalc" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/cost/CostServices.xml" invoke="removeWorkEffortCostCalc" auth="true"> <description>Remove a WorkEffortCostCalc entry</description> <permission-service service-name="acctgCostPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Thu Mar 19 11:19:14 2009 @@ -26,7 +26,7 @@ <!-- Financial Account --> <service name="createFinAccount" engine="simple" default-entity-name="FinAccount" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccount"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccount"> <description>Create a new Financial Account. If no finAccountId is provided, an auto-sequenced one will be used.</description> <auto-attributes mode="INOUT" optional="true" include="pk"/> <auto-attributes mode="IN" optional="true" include="nonpk"> @@ -35,7 +35,7 @@ </auto-attributes> </service> <service name="updateFinAccount" engine="simple" default-entity-name="FinAccount" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccount"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccount"> <description>Update a Financial Account</description> <auto-attributes mode="INOUT" optional="false" include="pk"/> <auto-attributes mode="IN" optional="true" include="nonpk"> @@ -49,22 +49,22 @@ <attribute name="replenishLevel" type="BigDecimal" mode="OUT" optional="true"/> </service> <service name="deleteFinAccount" engine="simple" default-entity-name="FinAccount" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="deleteFinAccount"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="deleteFinAccount"> <description>Delete a Financial Account</description> <auto-attributes mode="IN" optional="false" include="pk"/> </service> <service name="updateFinAccountBalancesFromTrans" engine="simple" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccountBalancesFromTrans"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccountBalancesFromTrans"> <description>Update FinAccount.actualBalance and FinAccount.availableBalance based on a new FinAccountTrans; meant to be called as an EECA as it is for data maintenance</description> <attribute name="finAccountTransId" type="String" mode="IN" optional="false"/> </service> <service name="updateFinAccountBalancesFromAuth" engine="simple" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccountBalancesFromAuth"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccountBalancesFromAuth"> <description>Update FinAccount.availableBalance based on a new FinAccountAuth; meant to be called as an EECA as it is for data maintenance</description> <attribute name="finAccountAuthId" type="String" mode="IN" optional="false"/> </service> <service name="createFinAccountStatus" default-entity-name="FinAccountStatus" engine="simple" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountStatus" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountStatus" auth="true"> <description>Create a FinAccountStatus</description> <auto-attributes include="all" mode="IN" optional="false"> <exclude field-name="statusDate"/> @@ -74,7 +74,7 @@ <!-- Financial Account Transaction --> <service name="createFinAccountTrans" engine="simple" default-entity-name="FinAccountTrans" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountTrans"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountTrans"> <description>Create a new Financial Account Transaction. Will use current timestamp for entryDate and trasanctionDate if none is provided.</description> <auto-attributes mode="OUT" optional="false" include="pk"/> <auto-attributes mode="IN" optional="true" include="nonpk"> @@ -82,38 +82,38 @@ </auto-attributes> </service> <service name="postFinAccountTransToGl" engine="simple" - location="org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml" invoke="postFinAccountTransToGl"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml" invoke="postFinAccountTransToGl"> <description>Post a Financial Account Transaction to the General Ledger; meant to be called as an SECA</description> <attribute name="finAccountTransId" type="String" mode="IN" optional="false"/> </service> <service name="createFinAccountRole" engine="simple" default-entity-name="FinAccountRole" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountRole"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountRole"> <description>Create a new Financial Account Role</description> <auto-attributes mode="IN" optional="false" include="pk"/> <auto-attributes mode="IN" optional="true" include="nonpk"/> <override name="fromDate" optional="true"/> </service> <service name="updateFinAccountRole" engine="simple" default-entity-name="FinAccountRole" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccountRole"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccountRole"> <description>Update a Financial Account Role</description> <auto-attributes mode="IN" optional="false" include="pk"/> <auto-attributes mode="IN" optional="true" include="nonpk"/> </service> <service name="deleteFinAccountRole" engine="simple" default-entity-name="FinAccountRole" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="deleteFinAccountRole"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="deleteFinAccountRole"> <description>Remove a Financial Account Role</description> <auto-attributes mode="IN" optional="false" include="pk"/> </service> <service name="createFinAccountAuth" engine="simple" default-entity-name="FinAccountAuth" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountAuth"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccountAuth"> <description>Lower level service for creating authorization against a fin account. Will use current time for authorizationDate and thruDate if not supplied.</description> <auto-attributes mode="OUT" optional="false" include="pk"/> <auto-attributes mode="IN" optional="true" include="nonpk"/> </service> <service name="expireFinAccountAuth" engine="simple" default-entity-name="FinAccountAuth" - location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="expireFinAccountAuth"> + location="component://accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="expireFinAccountAuth"> <!-- NOTE: never set require-new-transaction on this service, needs to be called with other services in same transaction to protect operations such as the payment capture one --> <description>Expires a fin account authorization. Will use current time if no time is supplied in parameter</description> <attribute name="finAccountAuthId" type="String" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml Thu Mar 19 11:19:14 2009 @@ -26,7 +26,7 @@ <!-- Fixed Asset --> <service name="createFixedAsset" default-entity-name="FixedAsset" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAsset" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAsset" auth="true"> <description>Create a Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> @@ -34,7 +34,7 @@ <override name="fixedAssetTypeId" optional="false"/> </service> <service name="updateFixedAsset" default-entity-name="FixedAsset" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAsset" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAsset" auth="true"> <description>Update a Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -44,7 +44,7 @@ <!-- Product to Fixed Asset maintenance --> <service name="addFixedAssetProduct" default-entity-name="FixedAssetProduct" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="addFixedAssetProduct" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="addFixedAssetProduct" auth="true"> <description>Add Product To Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -53,7 +53,7 @@ </service> <service name="updateFixedAssetProduct" default-entity-name="FixedAssetProduct" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetProduct" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetProduct" auth="true"> <description>Update the Product to Fixed Asset information</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -61,7 +61,7 @@ </service> <service name="removeFixedAssetProduct" default-entity-name="FixedAssetProduct" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="removeFixedAssetProduct" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="removeFixedAssetProduct" auth="true"> <description>Remove Product From Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -69,7 +69,7 @@ <!-- TO BE REMOVED : Fixed Asset calendar <service name="updateFixedAssetCalendar" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetCalendar" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetCalendar" auth="true"> <description>Update the Capacity available of Calendar of a Fixed Asset information</description> <attribute name="fixedAssetId" type="Id" mode="IN" optional="false"/> <attribute name="exceptionDateStartTime" type="Timestamp" mode="IN" optional="false"/> @@ -80,21 +80,21 @@ <!-- FixedAssetStdCost --> <service name="createFixedAssetStdCost" default-entity-name="FixedAssetStdCost" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetStdCost" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetStdCost" auth="true"> <description>Create a Fixed Asset Standard Cost</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateFixedAssetStdCost" default-entity-name="FixedAssetStdCost" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetStdCost" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetStdCost" auth="true"> <description>Update a Fixed Asset Standard Cost</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="cancelFixedAssetStdCost" default-entity-name="FixedAssetStdCost" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="cancelFixedAssetStdCost" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="cancelFixedAssetStdCost" auth="true"> <description>Cancel a Fixed Asset Standard Cost</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -103,28 +103,28 @@ <!-- FixedAssetIdent --> <service name="createFixedAssetIdent" default-entity-name="FixedAssetIdent" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetIdent" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetIdent" auth="true"> <description>Create a Fixed Asset Identification</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateFixedAssetIdent" default-entity-name="FixedAssetIdent" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetIdent" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetIdent" auth="true"> <description>Update a Fixed Asset Identification</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeFixedAssetIdent" default-entity-name="FixedAssetIdent" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="removeFixedAssetIdent" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="removeFixedAssetIdent" auth="true"> <description>Remove a Fixed Asset Identification</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- Equipment Registration Create/Update/Delete--> <service name="createFixedAssetRegistration" default-entity-name="FixedAssetRegistration" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetRegistration" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetRegistration" auth="true"> <description>Create a Fixed Asset Registration</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -132,21 +132,21 @@ <override name="fromDate" optional="true"/> </service> <service name="updateFixedAssetRegistration" default-entity-name="FixedAssetRegistration" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetRegistration" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetRegistration" auth="true"> <description>Update a Fixed Asset Registration</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteFixedAssetRegistration" default-entity-name="FixedAssetRegistration" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetRegistration" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetRegistration" auth="true"> <description>Delete a Fixed Asset Registration</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- FixedAsset Maintenance Create/Update/Delete--> <service name="createFixedAssetMaint" default-entity-name="FixedAssetMaint" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetMaint" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetMaint" auth="true"> <description>Create a Fixed Asset Maintenance</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -157,7 +157,7 @@ <override name="maintHistSeqId" mode="OUT"/> <!-- make this OUT rather than IN, we will automatically generate the next sub-sequence ID --> </service> <service name="updateFixedAssetMaint" default-entity-name="FixedAssetMaint" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetMaint" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetMaint" auth="true"> <description>Update a Fixed Asset Maintenance</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -165,13 +165,13 @@ <attribute name="oldStatusId" type="String" mode="OUT" optional="false"/> </service> <service name="deleteFixedAssetMaint" default-entity-name="FixedAssetMaint" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetMaint" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetMaint" auth="true"> <description>Remove a Fixed Asset Maintenance</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="createMaintsFromTimeInterval" engine="simple" use-transaction="false" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createMaintsFromTimeInterval" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createMaintsFromTimeInterval" auth="true"> <description>Create Fixed Asset Maintenances from ProductMaint time intervals. Currently works with day, month, and year interval types. This service is intended to be run as a regularly scheduled job.</description> @@ -179,33 +179,33 @@ </service> <!-- FixedAsset Maintenance Meter Create/Update/Delete--> <service name="createFixedAssetMeter" default-entity-name="FixedAssetMeter" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetMeter" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetMeter" auth="true"> <description>Create a Fixed Asset Maintenance Meter</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateFixedAssetMeter" default-entity-name="FixedAssetMeter" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetMeter" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updateFixedAssetMeter" auth="true"> <description>Update a Fixed Asset Maintenance Meter</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteFixedAssetMeter" default-entity-name="FixedAssetMeter" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetMeter" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetMeter" auth="true"> <description>Remove a Fixed Asset Maintenance Meter</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="migrateFixedAssetMaintMeter" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="migrateFixedAssetMaintMeter" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="migrateFixedAssetMaintMeter" auth="true"> <description>Copy the FixedAssetMaintMeter entity to FixedAssetMeter. FixedAssetMeter.readingDate will be replaced with FixedAssetMaintMeter.createdStamp.</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> </service> <!-- FixedAsset Maintenance Order Create/Update/Delete--> <service name="createFixedAssetMaintOrder" default-entity-name="FixedAssetMaintOrder" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetMaintOrder" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createFixedAssetMaintOrder" auth="true"> <description>Create a Fixed Asset Maintenance Order</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <attribute name="fixedAssetId" type="String" mode="IN" optional="false"/> @@ -215,7 +215,7 @@ <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteFixedAssetMaintOrder" default-entity-name="FixedAssetMaintOrder" engine="simple" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetMaintOrder" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deleteFixedAssetMaintOrder" auth="true"> <description>Remove a Fixed Asset Maintenance Order</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -223,7 +223,7 @@ <!-- =========Party Fixed Asset Assignment Services========= --> <service name="createPartyFixedAssetAssignment" engine="simple" default-entity-name="PartyFixedAssetAssignment" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createPartyFixedAssetAssignment" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="createPartyFixedAssetAssignment" auth="true"> <description>Add Party to a Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -232,7 +232,7 @@ </service> <service name="updatePartyFixedAssetAssignment" engine="simple" default-entity-name="PartyFixedAssetAssignment" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updatePartyFixedAssetAssignment" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="updatePartyFixedAssetAssignment" auth="true"> <description>Update Party to Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -240,7 +240,7 @@ </service> <service name="deletePartyFixedAssetAssignment" engine="simple" default-entity-name="PartyFixedAssetAssignment" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deletePartyFixedAssetAssignment" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="deletePartyFixedAssetAssignment" auth="true"> <description>Delete Party to Fixed Asset</description> <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -265,19 +265,19 @@ <attribute name="assetNBVAfterDepreciation" type="List" mode="OUT" optional="false"/> </service> <service name="straightLineDepreciation" engine="simple" default-entity-name="FixedAsset" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="straightLineDepreciation" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="straightLineDepreciation" auth="true"> <description>Straight line depreciation service to Fixed Asset</description> <implements service="fixedAssetDepCalcInterface"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="doubleDecliningBalanceDepreciation" engine="simple" default-entity-name="FixedAsset" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="doubleDecliningBalanceDepreciation" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="doubleDecliningBalanceDepreciation" auth="true"> <description>Double declining balance depreciation service to Fixed Asset</description> <implements service="fixedAssetDepCalcInterface"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="calculateFixedAssetDepreciation" engine="simple" default-entity-name="FixedAssetDepMethod" - location="org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="calculateFixedAssetDepreciation" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml" invoke="calculateFixedAssetDepreciation" auth="true"> <description>Select the depreciation method according to the entry in FixedAssetDepMethod</description> <attribute name="fixedAssetId" type="String" mode="IN"/> <attribute name="assetDepreciationTillDate" type="List" mode="OUT" optional="false"/> Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?rev=755925&r1=755924&r2=755925&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Thu Mar 19 11:19:14 2009 @@ -26,7 +26,7 @@ <service name="getNextInvoiceId" engine="simple" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="getNextInvoiceId"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="getNextInvoiceId"> <description>Get the Next Invoice ID According to Settings on the PartyAcctgPreference Entity for the given Party</description> <attribute name="partyId" type="String" mode="IN" optional="false"/> <attribute name="invoiceId" type="String" mode="OUT" optional="false"/> @@ -34,7 +34,7 @@ <!-- Invoice services --> <service name="createInvoice" engine="simple" default-entity-name="Invoice" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoice"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoice"> <description>Create Invoice Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="CREATE"/> <auto-attributes mode="INOUT" include="pk" optional="true"/> @@ -45,14 +45,14 @@ <override name="partyId" mode = "IN" optional="false"/> </service> <service name="copyInvoice" engine="simple" default-entity-name="Invoice" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="copyInvoice"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="copyInvoice"> <description>Create Invoice Record/items from an existing invoice</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="CREATE"/> <auto-attributes mode="INOUT" include="pk" optional="true"/> <attribute name="invoiceIdToCopyFrom" type="String" mode="IN" optional="false"/> </service> <service name="getInvoice" engine="simple" default-entity-name="Invoice" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="getInvoice"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="getInvoice"> <description>Retrieve an existing Invoice/Items</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="VIEW"/> <auto-attributes mode="IN" include="pk" optional="false"/> @@ -60,14 +60,14 @@ <attribute name="invoiceItems" type="List" mode="OUT"/><!-- list of invoiceItem GenericValues --> </service> <service name="updateInvoice" engine="simple" default-entity-name="Invoice" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="updateInvoice"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="updateInvoice"> <description>Update an existing Invoice Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="setInvoiceStatus" engine="simple" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="setInvoiceStatus"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="setInvoiceStatus"> <description>Set the Invoice Status</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <attribute name="invoiceId" type="String" mode="IN" optional="false"/> @@ -77,7 +77,7 @@ <attribute name="oldStatusId" type="String" mode="OUT" optional="true"/> </service> <service name="copyInvoiceToTemplate" engine="simple" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="copyInvoiceToTemplate"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="copyInvoiceToTemplate"> <description>Save a Invoice data to a template .</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="CREATE"/> <attribute name="invoiceId" type="String" mode="INOUT" optional="false"/> @@ -93,7 +93,7 @@ we will continue to have null taxableFlags for awhile yet, which is why the mantadory taxableFlag of this method was taken out. --> <service name="createInvoiceItem" engine="simple" default-entity-name="InvoiceItem" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceItem"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceItem"> <description>Create a new Invoice Item Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="IN" include="pk" optional="false"/> @@ -101,34 +101,34 @@ <override name="invoiceItemSeqId" mode="INOUT" optional="true"/><!-- will optionally assign by the system --> </service> <service name="updateInvoiceItem" engine="simple" default-entity-name="InvoiceItem" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="updateInvoiceItem"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="updateInvoiceItem"> <description>Update existing Invoice Item Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="removeInvoiceItem" engine="simple" default-entity-name="InvoiceItem" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="removeInvoiceItem"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="removeInvoiceItem"> <description>Remove an existing Invoice Item Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="IN" include="pk" optional="false"/> </service> <service name="createInvoiceRole" engine="simple" default-entity-name="InvoiceRole" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceRole"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceRole"> <description>Create a new Invoice Role Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="removeInvoiceRole" engine="simple" default-entity-name="InvoiceRole" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="removeInvoiceRole"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="removeInvoiceRole"> <description>Remove an existing Invoice Role Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="IN" include="pk" optional="false"/> </service> <service name="createInvoiceTerm" engine="simple" default-entity-name="InvoiceTerm" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceTerm"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceTerm"> <description>Create Invoice (Item) Term Record</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/> <auto-attributes mode="OUT" include="pk" optional="false"/> @@ -179,7 +179,7 @@ <attribute name="invoicesCreated" type="List" mode="OUT" optional="true"/> </service> <service name="sampleInvoiceAffiliateCommission" engine="simple" - location="org/ofbiz/accounting/invoice/SampleCommissionServices.xml" invoke="sampleCalculateAffiliateCommission" auth="true"> + location="component://accounting/script/org/ofbiz/accounting/invoice/SampleCommissionServices.xml" invoke="sampleCalculateAffiliateCommission" auth="true"> <description> A sample/example service to calculate an affiliate commission (direct relationship to customer) and create and invoice for it on behalf of the affiliate, ie an invoice from the affiliate to the company that can @@ -240,7 +240,7 @@ <attribute name="invoicesCreated" type="List" mode="OUT" optional="true"/> </service> <service name="sendInvoicePerEmail" engine="simple" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="sendInvoicePerEmail"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="sendInvoicePerEmail"> <description>Send an invoice per email</description> <attribute name="invoiceId" type="String" mode="IN" optional="false"/> <attribute name="sendFrom" type="String" mode="IN" optional="false"/> @@ -256,7 +256,7 @@ <attribute name="invoiceId" type="String" mode="IN" optional="false"/> </service> <service name="createInvoiceContactMech" engine="simple" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceContactMech"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceContactMech"> <description>Create a ContactMech for an invoice</description> <permission-service service-name="acctgInvoicePermissionCheck" main-action="CREATE"/> <auto-attributes entity-name="InvoiceContactMech" include="pk" mode="IN" optional="false"/> @@ -276,7 +276,7 @@ <implements service="permissionInterface"/> </service> <service name="updateInvoiceItemType" engine="simple" default-entity-name="InvoiceItemType" - location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="updateInvoiceItemType"> + location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="updateInvoiceItemType"> <description>Update Invoice Item Type Record</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> |
Free forum by Nabble | Edit this page |