Author: nmalin
Date: Sat Aug 27 09:55:48 2016
New Revision: 1757980
URL:
http://svn.apache.org/viewvc?rev=1757980&view=revLog:
Add crud services using entity-auto for BudgetType Entity, thanks to Rishi Solanki and Amit Gadaley for the issue OFBIZ-8012.
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_budget.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/services_budget.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_budget.xml?rev=1757980&r1=1757979&r2=1757980&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_budget.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_budget.xml Sat Aug 27 09:55:48 2016
@@ -85,4 +85,14 @@ under the License.
<description>Remove an existing Budget Review Record</description>
<auto-attributes mode="IN" include="pk" optional="false"/>
</service>
+ <service name="createBudgetType" default-entity-name="BudgetType" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a Budget Type Record</description>
+ <auto-attributes include="pk" mode="INOUT" optional="true"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+ <service name="updateBudgetType" default-entity-name="BudgetType" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a Budget Type Record</description>
+ <auto-attributes include="pk" mode="IN"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
</services>