Skip to content

Commit

Permalink
adeos#26 [Bug Report] The Financial Statement Report shows the credit…
Browse files Browse the repository at this point in the history
…s in the beginning balance line incorrectly e-Evolution/adeos#26

adempiere#4296 [Bug Report] The Financial Statement Report shows the credits in the beginning balance line incorrectly adempiere#4296
- Solve issue with sign to debit and credit for transansaction
  • Loading branch information
e-Evolution committed Mar 15, 2024
1 parent fb3f6f3 commit bc29bbc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions adempiere.iml
Original file line number Diff line number Diff line change
Expand Up @@ -2331,5 +2331,41 @@
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/tools/lib/aws/aws-java-sdk-core-1.11.827.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/tools/lib/aws/aws-java-sdk-kms-1.11.827.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/tools/lib/aws/aws-java-sdk-s3-1.11.827.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/tools/lib/aws/joda-time-2.8.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>
2 changes: 1 addition & 1 deletion base/src/org/compiere/report/FinStatement.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private void createDetailLines()
+ "AmtAcctDr, AmtAcctCr, Balance, Qty, ACCOUNT_ID , AccountValue, AccountName, AccountType ) ");
insertDetailLine.append("SELECT ? ").append(",fact_Acct.Fact_Acct_ID,1,")
.append("fact_Acct.DateAcct,NULL,NULL,"
+ "AmtAcctDr, AmtAcctCr, AmtAcctDr-AmtAcctCr, Qty, fact_Acct.ACCOUNT_ID, ev.value, ev.name, ev.AccountType "
+ "AmtAcctDr, AmtAcctCr,AcctBalance(Account_ID, AmtAcctDr, AmtAcctCr), Qty, fact_Acct.ACCOUNT_ID, ev.Value, ev.Name, ev.AccountType "
+ "FROM Fact_Acct "
+ " INNER JOIN (SELECT ev.c_ElementValue_ID,ev.Value, ev.Name, ev.AccountType, ev.AD_Client_ID FROM C_ElementValue ev ) ev on (fact_Acct.account_ID = ev.c_ElementValue_ID) "
+ "WHERE ").append(parameterWhere)
Expand Down

0 comments on commit bc29bbc

Please sign in to comment.