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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018903
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2011-10-27 14:052011-11-04 13:58
ReporterVictorVillarView Statuspublic 
Assigned Tomirurita 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6dc534300c35
ProjectionnoneETAnoneTarget Version3.0MP6
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP4.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018903: Acct Server process does not post a financial invoice correctly

DescriptionAcct Server process does not post a financial invoice correctly.
The process works properly in Openbravo 3MP1
Steps To ReproduceAs F&B International Group Admin role
1.-Navigate to "G/L Item" and create a new record:
      Organization: F&B España S.A. (only is possible with this organization because there is a bug in relation to U.S organization due to the 2 Accounting schema)
      Check off Enable in Financial Invoices
      Select a Tax Category: IVA Normal
      Name: Cuenta prueba
2.- Go to "Purchase Invoice" and create a new record:
      Organization: F&B España S.A.
      Business partner: Refrescos Naturales or whichever
      go to tab Lines and create a new financial invoice Line:
         check off Financial Invoice line
         Account: Cuenta prueba
         Tax: Adquisición inmuebles 16 % or whichever
  Save it.
3. hold on until the background process get execute, and post it the invoice
We can see the button "Post: Invalid Account", but if we do it manually, it works correctly. So the Acct Server process does not work properly.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00189172.50MP36 closedmirurita Acct Server process does not post a financial invoice correctly 

-  Notes
(0042188)
hgbot (developer)
2011-10-28 09:12

Repository: erp/devel/pi
Changeset: 6dc534300c35a5c83858c6e469c9b7a451414be8
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Oct 28 09:11:00 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6dc534300c35a5c83858c6e469c9b7a451414be8 [^]

Fixes issue 18903: Acct Server process does not post a financial invoice correctly.
Financial Invoice posting failing (Account could not be found) in the following conditions:
- Posting done by the acct server configured at system administrator level.
- The Organization of the Invoice does not post in all the accounting schemas available for the client.
In the case of F&B, if you create a financial invoice for F&BEspaña and the GLItem associated only has
accounts defined for Euro accounting schema, when the acctserver process tries to post it will show
'Account could not be found'.
The problem is in the m_as global variable. When it is launched by the acctserver (org 0) it has all the
accounting schemas of the client, not only the accounting schemas available for the document (invoice)
organization. It tries to verify if the GL Item has accounts defined for accounting schemas in m_as, but if
the document org only post in one acctschema it will fail

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0042219)
VictorVillar (developer)
2011-10-28 12:31

Verified
(0042388)
hgbot (developer)
2011-10-31 09:47

Repository: erp/devel/pi
Changeset: 61030937ea19e1056ee00230f8087ae47788da04
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Oct 31 09:47:13 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/61030937ea19e1056ee00230f8087ae47788da04 [^]

Related to issue 18903: Acct Server process does not post a financial invoice correctly.
Take always the organization of the document

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0042595)
hudsonbot (developer)
2011-11-04 13:57

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test
(0042609)
hudsonbot (developer)
2011-11-04 13:58

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-10-27 14:05 VictorVillar New Issue
2011-10-27 14:05 VictorVillar Assigned To => jonalegriaesarte
2011-10-27 14:05 VictorVillar Modules => Core
2011-10-27 14:05 VictorVillar Resolution time => 1322607600
2011-10-27 16:37 jonalegriaesarte Assigned To jonalegriaesarte => mirurita
2011-10-27 16:37 jonalegriaesarte Priority urgent => immediate
2011-10-28 08:52 mirurita Status new => scheduled
2011-10-28 08:52 mirurita fix_in_branch => pi
2011-10-28 09:12 hgbot Checkin
2011-10-28 09:12 hgbot Note Added: 0042188
2011-10-28 09:12 hgbot Status scheduled => resolved
2011-10-28 09:12 hgbot Resolution open => fixed
2011-10-28 09:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6dc534300c35a5c83858c6e469c9b7a451414be8 [^]
2011-10-28 12:31 VictorVillar Note Added: 0042219
2011-10-28 12:31 VictorVillar Status resolved => closed
2011-10-31 09:47 hgbot Checkin
2011-10-31 09:47 hgbot Note Added: 0042388
2011-11-04 13:57 hudsonbot Checkin
2011-11-04 13:57 hudsonbot Note Added: 0042595
2011-11-04 13:58 hudsonbot Checkin
2011-11-04 13:58 hudsonbot Note Added: 0042609


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker