Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022556Openbravo ERP03. Procurement managementpublic2012-12-13 10:432013-02-18 13:25
maite 
ioritzCia 
urgentminoralways
closedfixed 
5
 
3.0MP20 
Core
No
0022556: Wrong Matched Invoice posting when references negative receipts
Wrong Matched Invoice posting when references negative receipts
1. Register Purchase Order for any "F&B US, Inc." Org and BP. Add 3 lines for any 3 different products and Process
2. Register Goods Receipt for same Org and BP. Create Lines From and select 2 lines of previous order. Process.
3. Void registered Goods Receipt
4. Register Purchase Invoice for same Org and BP. Create Lines From and select 3 lines of previous order. Process.
5. Verify that Goods Receipts and Purchase Invoice are posted
6. Access Matched Invoices window and filter by your purchase invoice documentno. Realize that you have 4 lines: 2 related with positive receipt and 2 related with negative receipt. Accounting entry associated to positive receipt is correct, but if you check accounting entry associated with negative receipts you will realize that "Invoice Price Variance" account is being used although there is no difference between receipt's cost and invoice's price, which is not correct.

Problem seems to be that negative posting of Matched Invoice is not changing debit by credit so, as it is posting both amount in debit part, it is using "Invoice Price Variance" account to balance the entry
No tags attached.
Issue History
2012-12-13 10:43maiteNew Issue
2012-12-13 10:43maiteAssigned To => dmiguelez
2012-12-13 10:43maiteModules => Core
2012-12-13 10:43maiteTriggers an Emergency Pack => No
2012-12-13 10:43maiteIssue Monitored: networkb
2012-12-13 10:45dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-01-09 11:28jonalegriaesarteTarget Version3.0MP19 => 3.0MP20
2013-01-25 12:50jonalegriaesarteSeveritymajor => minor
2013-01-25 12:50jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2013-01-31 17:58ioritzCiaStatusnew => scheduled
2013-01-31 17:58ioritzCiaNote Added: 0056026
2013-01-31 17:58ioritzCiafix_in_branch => pi
2013-02-05 12:00hgbotCheckin
2013-02-05 12:00hgbotNote Added: 0056155
2013-02-05 12:00hgbotStatusscheduled => resolved
2013-02-05 12:00hgbotResolutionopen => fixed
2013-02-05 12:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/913f4375f55079f3ae513b5714377c39b5a277b4 [^]
2013-02-05 22:44hudsonbotCheckin
2013-02-05 22:44hudsonbotNote Added: 0056194
2013-02-18 13:25maiteNote Added: 0056519
2013-02-18 13:25maiteStatusresolved => closed

Notes
(0056026)
ioritzCia   
2013-01-31 17:58   
Prepared fix, pending of approval.
(0056155)
hgbot   
2013-02-05 12:00   
Repository: erp/devel/pi
Changeset: 913f4375f55079f3ae513b5714377c39b5a277b4
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Jan 31 17:29:47 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/913f4375f55079f3ae513b5714377c39b5a277b4 [^]

Fixes issue 22556: Wrong Matched Invoice posting referencing negative receipts.

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
---
(0056194)
hudsonbot   
2013-02-05 22:44   
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/86db3ad54671 [^]

Maturity status: Test
(0056519)
maite   
2013-02-18 13:25   
verified