details: https://code.openbravo.com/erp/stable/2.50/rev/2d1d67ef6aa3
changeset: 9783:2d1d67ef6aa3
user: Javier Etxarri <javier.echarri <at> openbravo.com>
date: Mon Jan 16 17:41:09 2012 +0100
summary: issue 19395: Fiscal Year regularization process.
The index of the for revenue was wrong. I have changed "i" for "j"
diffstat:
src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r b863f0e86453 -r 2d1d67ef6aa3
src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java
Fri Jan 13 09:12:09 2012 +0100
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java
Mon Jan 16 17:41:09 2012 +0100
@@ -199,9 +199,9 @@
revenue[j].totalamtcr, revenue[j].totalamtdr,
revenue[j].totalamtcr,
Fact_Acct_Group_ID, Integer.toString((i + j + 3) * 10),
revenue[j].acctdescription,
revenue[j].acctvalue, revenue[j].cBpartnerId, revenue[j].recordId2,
- revenue[j].mProductId, revenue[j].aAssetId, strRegEntry,
revenue[i].cTaxId,
- revenue[i].cProjectId, revenue[i].cActivityId, revenue[i].user1Id,
revenue[i].user2Id,
- revenue[i].cCampaignId, revenue[i].cSalesregionId);
+ revenue[j].mProductId, revenue[j].aAssetId, strRegEntry,
revenue[j].cTaxId,
+ revenue[j].cProjectId, revenue[j].cActivityId, revenue[j].user1Id,
revenue[j].user2Id,
+ revenue[j].cCampaignId, revenue[j].cSalesregionId);
}
CreateRegFactAcctData[] account =
CreateRegFactAcctData.incomesummary(this, strAcctSchema);
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits