From b2dd527c06ebddd4ed3e9de2dc155efdcb39b729 Mon Sep 17 00:00:00 2001 From: Ashish Vijaywargiya Date: Tue, 1 Sep 2009 14:45:50 +0000 Subject: [PATCH] Moving service definition and implementation to appropriate place - part of jira issue OFBIZ-2887. Thanks Parimal for the patch. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810078 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/ofbiz/accounting/UpgradeServices.xml | 31 +++++++++++++++++++ .../finaccount/FinAccountServices.xml | 12 ------- .../fixedasset/FixedAssetServices.xml | 18 ----------- .../servicedef/services_finaccount.xml | 10 ------ .../servicedef/services_fixedasset.xml | 5 --- .../servicedef/services_upgrade.xml | 16 ++++++++++ 6 files changed, 47 insertions(+), 45 deletions(-) diff --git a/applications/accounting/script/org/ofbiz/accounting/UpgradeServices.xml b/applications/accounting/script/org/ofbiz/accounting/UpgradeServices.xml index 7ba91b7e82..d2c6c2513f 100644 --- a/applications/accounting/script/org/ofbiz/accounting/UpgradeServices.xml +++ b/applications/accounting/script/org/ofbiz/accounting/UpgradeServices.xml @@ -37,4 +37,35 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml b/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml index 56be7f4d2c..dc920c18c5 100644 --- a/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml +++ b/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml @@ -371,18 +371,6 @@ under the License. - - - - - - - - - - - - diff --git a/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml b/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml index 31be9d0b5f..fd9d4076a4 100644 --- a/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml +++ b/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml @@ -453,24 +453,6 @@ under the License. - - - - - - - - - - - - - - - - - - diff --git a/applications/accounting/servicedef/services_finaccount.xml b/applications/accounting/servicedef/services_finaccount.xml index 5950290c0c..d6a5286fc5 100644 --- a/applications/accounting/servicedef/services_finaccount.xml +++ b/applications/accounting/servicedef/services_finaccount.xml @@ -447,16 +447,6 @@ under the License. - - - Migrate statusId to FinAccountTrans entity, - this service can be used to upgrade existing data i.e it sets the statusId(new field in entity) to "Approved" if found empty. - Before running this service, load the seed data for StatusType and StatusItem from the file : - accounting/data/AccountingTypeData.xml - - - Deposit withdraw payments diff --git a/applications/accounting/servicedef/services_fixedasset.xml b/applications/accounting/servicedef/services_fixedasset.xml index 6720dfd11e..b0397fd717 100644 --- a/applications/accounting/servicedef/services_fixedasset.xml +++ b/applications/accounting/servicedef/services_fixedasset.xml @@ -198,11 +198,6 @@ under the License. - - Copy the FixedAssetMaintMeter entity to FixedAssetMeter. FixedAssetMeter.readingDate will be replaced with FixedAssetMaintMeter.createdStamp. - - diff --git a/applications/accounting/servicedef/services_upgrade.xml b/applications/accounting/servicedef/services_upgrade.xml index 2a05287681..34ff3bafff 100644 --- a/applications/accounting/servicedef/services_upgrade.xml +++ b/applications/accounting/servicedef/services_upgrade.xml @@ -32,4 +32,20 @@ under the License. accounting/data/AccountingTypeData.xml + + + + Migrate statusId to FinAccountTrans entity, + this service can be used to upgrade existing data i.e it sets the statusId(new field in entity) to "Approved" if found empty. + Before running this service, load the seed data for StatusType and StatusItem from the file : + accounting/data/AccountingTypeData.xml + + + + + Copy the FixedAssetMaintMeter entity to FixedAssetMeter. FixedAssetMeter.readingDate will be replaced with FixedAssetMaintMeter.createdStamp. + + \ No newline at end of file