svn commit: r1766116 - in /ofbiz/trunk: applications/order/servicedef/services_order.xml specialpurpose/bi/servicedef/services.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1766116 - in /ofbiz/trunk: applications/order/servicedef/services_order.xml specialpurpose/bi/servicedef/services.xml

Arun Patidar-4
Author: arunpatidar
Date: Fri Oct 21 20:04:30 2016
New Revision: 1766116

URL: http://svn.apache.org/viewvc?rev=1766116&view=rev
Log:
Implemented: Added CRUD services for SalesInvoiceItemFact, OrderItemAssoc, OrderItemAssocType, OrderItemContactMech, OrderItemGroup, OrderItemPriceInfo, OrderItemRole, OrderItemShipGrpInvRes, OrderItemType and OrderItemTypeAttr entities.

(OFBIZ-8430) (OFBIZ-8581) (OFBIZ-8582) (OFBIZ-8583) (OFBIZ-8584) (OFBIZ-8585) (OFBIZ-8586) (OFBIZ-8587) (OFBIZ-8588) (OFBIZ-8589)

Thanks: Amit Gadaley for the contribution.

Modified:
    ofbiz/trunk/applications/order/servicedef/services_order.xml
    ofbiz/trunk/specialpurpose/bi/servicedef/services.xml

Modified: ofbiz/trunk/applications/order/servicedef/services_order.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_order.xml?rev=1766116&r1=1766115&r2=1766116&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_order.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_order.xml Fri Oct 21 20:04:30 2016
@@ -93,4 +93,133 @@ under the License.
         <auto-attributes include="pk" mode="IN"/>
     </service>
 
+    <service name="createOrderItemAssoc" default-entity-name="OrderItemAssoc" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemAssoc record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemAssoc" default-entity-name="OrderItemAssoc" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemAssoc record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemAssoc" default-entity-name="OrderItemAssoc" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemAssoc record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemAssocType" default-entity-name="OrderItemAssocType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemAssocType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemAssocType" default-entity-name="OrderItemAssocType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemAssocType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemAssocType" default-entity-name="OrderItemAssocType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemAssocType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemContactMech" default-entity-name="OrderItemContactMech" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemContactMech record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemContactMech" default-entity-name="OrderItemContactMech" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemContactMech record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemContactMech" default-entity-name="OrderItemContactMech" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemContactMech record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemGroup" default-entity-name="OrderItemGroup" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemGroup record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemGroup" default-entity-name="OrderItemGroup" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemGroup record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemGroup" default-entity-name="OrderItemGroup" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemGroup record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemPriceInfo" default-entity-name="OrderItemPriceInfo" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemPriceInfo record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemPriceInfo" default-entity-name="OrderItemPriceInfo" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemPriceInfo record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemPriceInfo" default-entity-name="OrderItemPriceInfo" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemPriceInfo record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemRole" default-entity-name="OrderItemRole" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemPriceInfo record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemRole" default-entity-name="OrderItemRole" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemPriceInfo record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemShipGrpInvRes" default-entity-name="OrderItemShipGrpInvRes" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemShipGrpInvRes record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemShipGrpInvRes" default-entity-name="OrderItemShipGrpInvRes" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemShipGrpInvRes record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemShipGrpInvRes" default-entity-name="OrderItemShipGrpInvRes" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemShipGrpInvRes record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemType" default-entity-name="OrderItemType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemType" default-entity-name="OrderItemType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemType" default-entity-name="OrderItemType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
+
+    <service name="createOrderItemTypeAttr" default-entity-name="OrderItemTypeAttr" engine="entity-auto" invoke="create" auth="true">
+        <description>Create an OrderItemTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateOrderItemTypeAttr" default-entity-name="OrderItemTypeAttr" engine="entity-auto" invoke="update" auth="true">
+        <description>Update an OrderItemTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteOrderItemTypeAttr" default-entity-name="OrderItemTypeAttr" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete an OrderItemTypeAttr record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 </services>

Modified: ofbiz/trunk/specialpurpose/bi/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/servicedef/services.xml?rev=1766116&r1=1766115&r2=1766116&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/servicedef/services.xml (original)
+++ ofbiz/trunk/specialpurpose/bi/servicedef/services.xml Fri Oct 21 20:04:30 2016
@@ -145,5 +145,20 @@ under the License.
         <attribute name="inventoryItemId" type="String" mode="IN" optional="true"/>
     </service>
 
+    <!-- SalesInvoiceItem Facts -->
+    <service name="createSalesInvoiceItemFact" engine="entity-auto" invoke="create" default-entity-name="SalesInvoiceItemFact" auth="true">
+        <description>Create a SalesInvoiceItemFact record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateSalesInvoiceItemFact" engine="entity-auto" invoke="update" default-entity-name="SalesInvoiceItemFact" auth="true">
+        <description>Update a SalesInvoiceItemFact record</description>
+        <auto-attributes include="pk" mode="IN"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteSalesInvoiceItemFact" engine="entity-auto" invoke="delete" default-entity-name="SalesInvoiceItemFact" auth="true">
+        <description>Delete a SalesInvoiceItemFact record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 
 </services>