Author: jacopoc
Date: Tue Mar 4 06:54:25 2008
New Revision: 633499
URL:
http://svn.apache.org/viewvc?rev=633499&view=revLog:
Fix for bug found during the tests of GL auto transaction posting.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml?rev=633499&r1=633498&r2=633499&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml Tue Mar 4 06:54:25 2008
@@ -1589,7 +1589,7 @@
<!-- Credit -->
<make-value entity-name="AcctgTransEntry" value-name="creditEntry"/>
<set field="creditEntry.debitCreditFlag" value="C"/>
- <set field="creditEntry.glAccountTypeId" value="costComponentCalc.costGlAccountTypeId"/>
+ <set field="creditEntry.glAccountTypeId" from-field="costComponentCalc.costGlAccountTypeId"/>
<set field="creditEntry.organizationPartyId" from-field="facility.ownerPartyId"/>
<set field="creditEntry.productId" from-field="workEffortGoodStandard.productId"/>
<set field="creditEntry.origAmount" from-field="costComponent.cost"/>