You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/10/04 16:42:10 UTC
svn commit: r1763298 - in /ofbiz/trunk/applications: accounting/servicedef/
manufacturing/servicedef/ order/ order/servicedef/ product/
product/servicedef/
Author: arunpatidar
Date: Tue Oct 4 16:42:10 2016
New Revision: 1763298
URL: http://svn.apache.org/viewvc?rev=1763298&view=rev
Log:
Implemented: Added CRUD services for InvoiceTypeAttr, MrpEventType, OrderAdjustmentAttribute, OrderAdjustmentType, OrderAttribute, OrderBlacklist, OrderBlacklistType, QuantityBreakType, QuoteTermAttribute and QuoteType entities.
(OFBIZ-8271) (OFBIZ-8277) (OFBIZ-8281) (OFBIZ-8283) (OFBIZ-8285) (OFBIZ-8286) (OFBIZ-8287) (OFBIZ-8303) (OFBIZ-8304) (OFBIZ-8305)
Thanks: Amit Gadaley for the contribution.
Added:
ofbiz/trunk/applications/order/servicedef/services_order.xml
ofbiz/trunk/applications/product/servicedef/services_price.xml
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml
ofbiz/trunk/applications/order/ofbiz-component.xml
ofbiz/trunk/applications/order/servicedef/services_quote.xml
ofbiz/trunk/applications/product/ofbiz-component.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?rev=1763298&r1=1763297&r2=1763298&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Tue Oct 4 16:42:10 2016
@@ -470,5 +470,20 @@ under the License.
<description>Delete a InvoiceTermAttribute record</description>
<auto-attributes include="pk" mode="IN"/>
</service>
+
+ <service name="createInvoiceTypeAttr" default-entity-name="InvoiceTypeAttr" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a InvoiceTypeAttr record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateInvoiceTypeAttr" default-entity-name="InvoiceTypeAttr" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a InvoiceTypeAttr record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteInvoiceTypeAttr" default-entity-name="InvoiceTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a InvoiceTypeAttr record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml?rev=1763298&r1=1763297&r2=1763298&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml (original)
+++ ofbiz/trunk/applications/manufacturing/servicedef/services_mrp.xml Tue Oct 4 16:42:10 2016
@@ -65,4 +65,19 @@ under the License.
location="org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRunServices" invoke="setEstimatedDeliveryDates">
<description>Set estimated ship dates for order items based on outstanding production runs</description>
</service>
+
+ <service name="createMrpEventType" default-entity-name="MrpEventType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a MrpEventType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateMrpEventType" default-entity-name="MrpEventType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a MrpEventType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteMrpEventType" default-entity-name="MrpEventType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a MrpEventType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
</services>
Modified: ofbiz/trunk/applications/order/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/ofbiz-component.xml?rev=1763298&r1=1763297&r2=1763298&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/order/ofbiz-component.xml Tue Oct 4 16:42:10 2016
@@ -44,6 +44,7 @@ under the License.
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_cart.xml"/>
+ <service-resource type="model" loader="main" location="servicedef/services_order.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_shoppinglist.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_request.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_quote.xml"/>
Added: ofbiz/trunk/applications/order/servicedef/services_order.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_order.xml?rev=1763298&view=auto
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_order.xml (added)
+++ ofbiz/trunk/applications/order/servicedef/services_order.xml Tue Oct 4 16:42:10 2016
@@ -0,0 +1,96 @@
+<?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://ofbiz.apache.org/dtds/services.xsd">
+ <description>Order Services: Orders </description>
+ <vendor>OFBiz</vendor>
+ <version>1.0</version>
+
+ <!-- Order -->
+ <service name="createOrderAdjustmentAttribute" default-entity-name="OrderAdjustmentAttribute" engine="entity-auto" invoke="create" auth="true">
+ <description>Create an OrderAdjustmentAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateOrderAdjustmentAttribute" default-entity-name="OrderAdjustmentAttribute" engine="entity-auto" invoke="update" auth="true">
+ <description>Update an OrderAdjustmentAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteOrderAdjustmentAttribute" default-entity-name="OrderAdjustmentAttribute" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete an OrderAdjustmentAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createOrderAdjustmentType" default-entity-name="OrderAdjustmentType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create an OrderAdjustmentType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateOrderAdjustmentType" default-entity-name="OrderAdjustmentType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update an OrderAdjustmentType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteOrderAdjustmentType" default-entity-name="OrderAdjustmentType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete an OrderAdjustmentType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createOrderAttribute" default-entity-name="OrderAttribute" engine="entity-auto" invoke="create" auth="true">
+ <description>Create an OrderAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateOrderAttribute" default-entity-name="OrderAttribute" engine="entity-auto" invoke="update" auth="true">
+ <description>Update an OrderAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteOrderAttribute" default-entity-name="OrderAttribute" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete an OrderAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+ <service name="createOrderBlacklist" default-entity-name="OrderBlacklist" engine="entity-auto" invoke="create" auth="true">
+ <description>Create an OrderBlacklist record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteOrderBlacklist" default-entity-name="OrderBlacklist" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete an OrderBlacklist record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+ <service name="createOrderBlacklistType" default-entity-name="OrderBlacklistType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create an OrderBlacklistType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateOrderBlacklistType" default-entity-name="OrderBlacklistType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update an OrderBlacklistType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteOrderBlacklistType" default-entity-name="OrderBlacklistType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete an OrderBlacklistType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+</services>
Modified: ofbiz/trunk/applications/order/servicedef/services_quote.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_quote.xml?rev=1763298&r1=1763297&r2=1763298&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_quote.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_quote.xml Tue Oct 4 16:42:10 2016
@@ -258,4 +258,35 @@ under the License.
<attribute name="noteInfo" type="String" mode="IN" allow-html="any"/>
<attribute name="noteName" type="String" mode="IN" optional="true"/>
</service>
+
+ <service name="createQuoteTermAttribute" default-entity-name="QuoteTermAttribute" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a QuoteTermAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateQuoteTermAttribute" default-entity-name="QuoteTermAttribute" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a QuoteTermAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteQuoteTermAttribute" default-entity-name="QuoteTermAttribute" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a QuoteTermAttribute record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+ <service name="createQuoteType" default-entity-name="QuoteType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a QuoteType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateQuoteType" default-entity-name="QuoteType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a QuoteType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteQuoteType" default-entity-name="QuoteType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a QuoteType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
</services>
Modified: ofbiz/trunk/applications/product/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/ofbiz-component.xml?rev=1763298&r1=1763297&r2=1763298&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/product/ofbiz-component.xml Tue Oct 4 16:42:10 2016
@@ -49,6 +49,7 @@ under the License.
<service-resource type="model" loader="main" location="servicedef/services_inventory.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_maint.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_picklist.xml"/>
+ <service-resource type="model" loader="main" location="servicedef/services_price.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_pricepromo.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_shipmentgateway.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_shipment_dhl.xml"/>
Added: ofbiz/trunk/applications/product/servicedef/services_price.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_price.xml?rev=1763298&view=auto
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_price.xml (added)
+++ ofbiz/trunk/applications/product/servicedef/services_price.xml Tue Oct 4 16:42:10 2016
@@ -0,0 +1,42 @@
+<?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://ofbiz.apache.org/dtds/services.xsd">
+ <description>Product Price Services</description>
+ <vendor>OFBiz</vendor>
+ <version>1.0</version>
+
+ <service name="createQuantityBreakType" default-entity-name="QuantityBreakType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a QuantityBreakType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateQuantityBreakType" default-entity-name="QuantityBreakType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a QuantityBreakType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="deleteQuantityBreakType" default-entity-name="QuantityBreakType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a QuantityBreakType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
+</services>