svn commit: r1799793 - /ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml

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

svn commit: r1799793 - /ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml

mbrohl
Author: mbrohl
Date: Sun Jun 25 10:37:48 2017
New Revision: 1799793

URL: http://svn.apache.org/viewvc?rev=1799793&view=rev
Log:
Fixed: Cannot create a new GL Account
(OFBIZ-9429)

This changes the service definition of createGLAccount to use the pk
attributes as OUT instead of INOUT so that the glAccountId will be
generated by OFBiz instead of being provided to the service.

Thanks Sharan Foga for reporting.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1799793&r1=1799792&r2=1799793&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/servicedef/services_ledger.xml Sun Jun 25 10:37:48 2017
@@ -30,7 +30,7 @@ under the License.
     <service name="createGlAccount" default-entity-name="GlAccount" engine="entity-auto" invoke="create" auth="true">
         <description>Create a GlAccount record</description>
         <permission-service service-name="basicGeneralLedgerPermissionCheck" main-action="CREATE"/>
-        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+        <auto-attributes include="pk" mode="OUT" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <override name="glAccountTypeId" optional="false"/>
         <override name="glAccountClassId" optional="false"/>