Author: jleroux
Date: Tue Sep 15 14:51:19 2009
New Revision: 815350
URL:
http://svn.apache.org/viewvc?rev=815350&view=revLog:
A patch from Chirag Manocha "Out Parameter showing under In Parameter head for createAcctgTransAndEntries service reference." (
https://issues.apache.org/jira/browse/OFBIZ-2917) - OFBIZ-2917
In service createAcctgTransAndEntries, there is no need to IN acctgTranId. It is required as OUT parameter. So behavior should be overridden instead of defining acctgTransId again.
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=815350&r1=815349&r2=815350&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Tue Sep 15 14:51:19 2009
@@ -267,7 +267,7 @@
<auto-attributes include="pk" mode="IN" optional="true"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<attribute name="acctgTransEntries" type="java.util.List" mode="IN" optional="false"/>
- <attribute name="acctgTransId" type="String" mode="OUT"/>
+ <override name="acctgTransId" type="String" mode="OUT"/>
</service>
<service name="calculateAcctgTransTrialBalance" default-entity-name="AcctgTrans" engine="simple"
location="component://accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml" invoke="calculateAcctgTransTrialBalance" auth="true">