Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017120Openbravo ERP03. Procurement managementpublic2011-05-11 13:562011-05-20 10:04
maite 
adrianromero 
urgentmajoralways
closedfixed 
5
2.50MP29 
2.50MP302.50MP30 
Core
No
0017120: When voiding an invoice Accounting dimensions should be transferred
When voiding an invoice Accounting dimensions should be transferred in order to have accounting balanced
1. Create purchase invoice for mcgiver
2. Add line of 1 hat of 30 euro and tax exempt
3. Go to Procurement Management || Transactions || Purchase Invoice || Header >> Lines >> Accounting dimension tab and create record of 10 euro for Project Roma
4. Add another Accounting dimension of 20 euro and project estandard
5. Complete and Post it.
6. Come back to invoice and Void it and Post it.
7. Go to reversal invoice created and post it.
8. Run General Ledger report filtering by project "Roma" and realize that only accounting entry with positive amount appear
No tags attached.
depends on defect 0017273 closed adrianromero When voiding an invoice Accounting dimensions should be transferred 
Issue History
2011-05-11 13:56maiteNew Issue
2011-05-11 13:56maiteAssigned To => adrianromero
2011-05-11 13:56maiteModules => Core
2011-05-11 13:58maiteIssue Monitored: networkb
2011-05-19 16:11adrianromeroStatusnew => scheduled
2011-05-19 16:11adrianromeroTypedefect => backport
2011-05-19 16:13adrianromeroIssue cloned0017273
2011-05-19 16:13adrianromeroRelationship addeddepends on 0017273
2011-05-19 16:13hgbotCheckin
2011-05-19 16:13hgbotNote Added: 0037228
2011-05-19 16:13hgbotStatusscheduled => resolved
2011-05-19 16:13hgbotResolutionopen => fixed
2011-05-19 16:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/c6ef78a1a2f9e5d5a22b0de9481d8b9b3ae3c434 [^]
2011-05-19 16:19adrianromeroNote Added: 0037232
2011-05-20 10:04maiteNote Added: 0037265
2011-05-20 10:04maiteStatusresolved => closed
2011-05-20 10:04maiteFixed in Version => 2.50MP30

Notes
(0037228)
hgbot   
2011-05-19 16:13   
Repository: erp/stable/2.50
Changeset: c6ef78a1a2f9e5d5a22b0de9481d8b9b3ae3c434
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu May 19 16:12:45 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/c6ef78a1a2f9e5d5a22b0de9481d8b9b3ae3c434 [^]

Fixes issue 0017120: When voiding an invoice Accounting dimensions should be transferred
When voiding an invoice, it has been added the code needed to copy the Accounting Dimensions of the reversal invoice.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0037232)
adrianromero   
2011-05-19 16:19   
* Testing the issue

Kindly follow the steps to test and verify that the reversed invoice created contains a copy of the Account Dimensions records for each line.

Verify also that the General Ledger reports lists the accounting entries related to both invoices.

* Other areas affected

It has been modified only the section that voids invoices in the C_INVOICE_POST process, but in any case it must be tested to void regular invoices without account dimensions, and other normal cases.
(0037265)
maite   
2011-05-20 10:04   
verified