You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2021/08/18 15:11:33 UTC
[ofbiz-framework] branch trunk updated: Fixed: move crud QuoteTerm
services to services_quote.xml
This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 70ea85c Fixed: move crud QuoteTerm services to services_quote.xml
70ea85c is described below
commit 70ea85c533ef0c9acafad8e933937dba5dd537f6
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Wed Aug 18 17:10:20 2021 +0200
Fixed: move crud QuoteTerm services to services_quote.xml
No functional change.
Move oriented Quote service to dedicate services_quote.xml instead the generic services.xml file
---
applications/order/servicedef/services.xml | 22 ----------------------
applications/order/servicedef/services_quote.xml | 24 +++++++++++++++++++++++-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/applications/order/servicedef/services.xml b/applications/order/servicedef/services.xml
index c05ed40..24fa78f 100644
--- a/applications/order/servicedef/services.xml
+++ b/applications/order/servicedef/services.xml
@@ -1497,28 +1497,6 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
- <service name="createQuoteTerm" engine="entity-auto" default-entity-name="QuoteTerm" invoke="create">
- <description>
- Create a new Quate term.
- </description>
- <auto-attributes mode="IN" include="pk" optional="false"/>
- <auto-attributes mode="IN" include="nonpk" optional="true"/>
- <override name="quoteItemSeqId" type="String" mode="IN" default-value="_NA_"/>
- </service>
- <service name="updateQuoteTerm" engine="entity-auto" default-entity-name="QuoteTerm" invoke="update">
- <description>
- Edit the Quate term.
- </description>
- <auto-attributes mode="IN" include="pk" optional="false"/>
- <auto-attributes mode="IN" include="nonpk" optional="true"/>
- </service>
- <service name="deleteQuoteTerm" engine="entity-auto" default-entity-name="QuoteTerm" invoke="delete">
- <description>
- delete the Quate term.
- </description>
- <auto-attributes mode="IN" include="pk" optional="false"/>
- </service>
-
<!-- Use for link the payment and the invoice When Received Payment -->
<service name="createOrderPaymentApplication" engine="simple" auth="true"
location="component://order/minilang/order/OrderServices.xml" invoke="createOrderPaymentApplication">
diff --git a/applications/order/servicedef/services_quote.xml b/applications/order/servicedef/services_quote.xml
index 7b13639..289dbb4 100644
--- a/applications/order/servicedef/services_quote.xml
+++ b/applications/order/servicedef/services_quote.xml
@@ -180,6 +180,28 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="true"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
+ <!-- QuoteTerm -->
+ <service name="createQuoteTerm" engine="entity-auto" default-entity-name="QuoteTerm" invoke="create">
+ <description>
+ Create a new Quate term.
+ </description>
+ <auto-attributes mode="IN" include="pk" optional="false"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ <override name="quoteItemSeqId" type="String" mode="IN" default-value="_NA_"/>
+ </service>
+ <service name="updateQuoteTerm" engine="entity-auto" default-entity-name="QuoteTerm" invoke="update">
+ <description>
+ Edit the Quate term.
+ </description>
+ <auto-attributes mode="IN" include="pk" optional="false"/>
+ <auto-attributes mode="IN" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteQuoteTerm" engine="entity-auto" default-entity-name="QuoteTerm" invoke="delete">
+ <description>
+ delete the Quate term.
+ </description>
+ <auto-attributes mode="IN" include="pk" optional="false"/>
+ </service>
<!-- Specialized Quote services -->
<service name="createQuoteAndQuoteItemForRequest" engine="groovy" default-entity-name="QuoteItem"
location="component://order/groovyScripts/quote/QuoteServices.groovy" invoke="createQuoteAndQuoteItemForRequest" auth="true">
@@ -291,7 +313,7 @@ under the License.
<attribute name="messageWrapper" type="org.apache.ofbiz.service.mail.MimeMessageWrapper" mode="OUT" optional="true"/>
<attribute name="communicationEventId" type="String" mode="OUT" optional="true"/>
</service>
- <service name="storeQuote" engine="java" default-entity-name="Quote" validate="true" auth="true"
+ <service name="storeQuote" engine="java" default-entity-name="Quote" validate="true" auth="true"
location="org.apache.ofbiz.order.quote.QuoteServices" invoke="storeQuote">
<description>Creates quote entities</description>
<auto-attributes include="nonpk" mode="IN" optional="true"/>