From 8555fc06e310e483203066ec742b59bfcd4b9bd8 Mon Sep 17 00:00:00 2001 From: Anil Patel Date: Mon, 25 May 2009 21:34:04 +0000 Subject: [PATCH] moved Opportunity services to Order component where entity definitions are. Added eca to add Account Party when partyId is entered in create opportunity form. Updated names of artifacts to match entity they deal with. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778515 13f79535-47bb-0310-9956-ffa450edef68 --- .../sfa/opportunity/OpportunityServices.xml | 40 --------------- .../marketing/servicedef/services.xml | 16 ------ .../webapp/sfa/WEB-INF/controller.xml | 36 ++++++------- .../widget/sfa/OpportunityScreens.xml | 25 ++++++---- .../marketing/widget/sfa/SfaMenus.xml | 10 ++-- .../widget/sfa/forms/OpportunityForms.xml | 20 ++++---- .../order/opportunity/OpportunityServices.xml | 50 +++++++++++++++++++ applications/order/servicedef/secas.xml | 8 +++ .../order/servicedef/services_opportunity.xml | 38 ++++++++++++++ 9 files changed, 144 insertions(+), 99 deletions(-) delete mode 100644 applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml diff --git a/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml b/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml deleted file mode 100644 index e854d9daa8..0000000000 --- a/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/marketing/servicedef/services.xml b/applications/marketing/servicedef/services.xml index 4175a65ad1..a774a6bca7 100644 --- a/applications/marketing/servicedef/services.xml +++ b/applications/marketing/servicedef/services.xml @@ -388,22 +388,6 @@ under the License. - - - Create an opportunity - - - - - - - Update an opportnity - - - - Create a Lead Person or Group diff --git a/applications/marketing/webapp/sfa/WEB-INF/controller.xml b/applications/marketing/webapp/sfa/WEB-INF/controller.xml index 0ffcabf023..b9575ccb97 100644 --- a/applications/marketing/webapp/sfa/WEB-INF/controller.xml +++ b/applications/marketing/webapp/sfa/WEB-INF/controller.xml @@ -30,30 +30,30 @@ under the License. - - + + - + - + - + - + - + - + - - - + + + - + - - - + + + @@ -230,9 +230,9 @@ under the License. - - - + + + diff --git a/applications/marketing/widget/sfa/OpportunityScreens.xml b/applications/marketing/widget/sfa/OpportunityScreens.xml index 4a61d02558..be07c09e7a 100644 --- a/applications/marketing/widget/sfa/OpportunityScreens.xml +++ b/applications/marketing/widget/sfa/OpportunityScreens.xml @@ -21,7 +21,7 @@ under the License. - +
@@ -39,8 +39,8 @@ under the License.
- - + +
@@ -55,7 +55,7 @@ under the License.
- +
@@ -67,13 +67,18 @@ under the License.
- +
- + + + + + + @@ -87,7 +92,7 @@ under the License.
- +
@@ -98,11 +103,11 @@ under the License.
- +
- + @@ -118,7 +123,7 @@ under the License.
- +
diff --git a/applications/marketing/widget/sfa/SfaMenus.xml b/applications/marketing/widget/sfa/SfaMenus.xml index d0d1283516..df1e9355b0 100644 --- a/applications/marketing/widget/sfa/SfaMenus.xml +++ b/applications/marketing/widget/sfa/SfaMenus.xml @@ -26,17 +26,17 @@ under the License. - + - - + + - - + + diff --git a/applications/marketing/widget/sfa/forms/OpportunityForms.xml b/applications/marketing/widget/sfa/forms/OpportunityForms.xml index e7d3cb9de4..0b5a02e7e2 100644 --- a/applications/marketing/widget/sfa/forms/OpportunityForms.xml +++ b/applications/marketing/widget/sfa/forms/OpportunityForms.xml @@ -21,7 +21,7 @@ under the License. -
@@ -42,7 +42,7 @@ under the License.
-
@@ -54,7 +54,7 @@ under the License. - + @@ -62,25 +62,25 @@ under the License. - +
-
- - + + - + + - @@ -125,7 +125,7 @@ under the License. -
diff --git a/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml b/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml index d99c420b1b..1beab64004 100644 --- a/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml +++ b/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml @@ -100,4 +100,54 @@ This file contains basic services for SalesOpportunity and SalesForecast. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/applications/order/servicedef/secas.xml b/applications/order/servicedef/secas.xml index 0d8603a8d1..32448ac5b8 100644 --- a/applications/order/servicedef/secas.xml +++ b/applications/order/servicedef/secas.xml @@ -360,4 +360,12 @@ under the License. + + + + + + + + \ No newline at end of file diff --git a/applications/order/servicedef/services_opportunity.xml b/applications/order/servicedef/services_opportunity.xml index be7e2482b3..3d26fcb107 100644 --- a/applications/order/servicedef/services_opportunity.xml +++ b/applications/order/servicedef/services_opportunity.xml @@ -67,4 +67,42 @@ under the License. Delete a Sales Forecast Detail + + + + Create an sales opportunity + + + + + + + + Update an sales opportunity + + + + + + Create sales opportunity role + + + + Create sales opportunity account role + + + + + find sales opportunity role party + + + + + + \ No newline at end of file