Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047757
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2021-09-27 10:202021-09-27 10:22
ReporterzaienView Statuspublic 
Assigned ToTriage Omni OMS 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047757: use suspense balance has wrong logic

Descriptionuse suspense balance has wrong logic
Steps To Reproduce1. make sure general ledger accounting schema has use suspense balancing option checked, meaning when document is not balanced, it will failed during document posting.
2. make an completed invoice, change value of c_invoice.totallines and c_invoice.grandtotal, with another value, change directly from db. this is to simulate unbalanced invoice.
3. do post invoice, it still able to post. expected: failed with status not balanced.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0132012)
zaien (reporter)
2021-09-27 10:22

suggest
change this line code: https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/ad_forms/AcctServer.java#L1148 [^]

with this:
if (m_as[index].isSuspenseBalancing() && !isBalanced()) {

- Issue History
Date Modified Username Field Change
2021-09-27 10:20 zaien New Issue
2021-09-27 10:20 zaien Assigned To => Triage Finance
2021-09-27 10:20 zaien Modules => Core
2021-09-27 10:20 zaien Triggers an Emergency Pack => No
2021-09-27 10:22 zaien Note Added: 0132012


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker