Author: nmalin
Date: Sun Sep 4 17:58:57 2016
New Revision: 1759181
URL:
http://svn.apache.org/viewvc?rev=1759181&view=revLog:
Add crud entity-auto service for AgreementType, thanks to Rishi Solanki and Pratik Kulshreshth for this patch trow OFBIZ-7871.
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml?rev=1759181&r1=1759180&r2=1759181&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_agreement.xml Sun Sep 4 17:58:57 2016
@@ -221,7 +221,7 @@ under the License.
</service>
<!-- AgreementRole -->
- <service name="createAgreementRole" default-entity-name="AgreementRole" engine="entity-auto" invoke="create" auth="true">
+ <service name="createAgreementRole" default-entity-name="AgreementRole" engine="entity-auto" invoke="create" auth="true">
<description>Create an Agreement Role</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
@@ -236,6 +236,22 @@ under the License.
<auto-attributes mode="IN" include="pk" optional="false"/>
</service>
+ <!-- AgreementType -->
+ <service name="createAgreementType" default-entity-name="AgreementType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a AgreementType record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateAgreementType" default-entity-name="AgreementType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a AgreementType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="removeAgreementType" default-entity-name="AgreementType" engine="entity-auto" invoke="delete" auth="true">
+ <description>Remove a AgreementType record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ </service>
+
<!-- Agreement content services -->
<service name="createAgreementContent" default-entity-name="AgreementContent" engine="entity-auto" invoke="create" auth="true">
<description>Create Agreement Content</description>