Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017273Openbravo ERP03. Procurement managementpublic2011-05-19 16:132011-05-26 07:45
adrianromero 
adrianromero 
urgentmajoralways
closedfixed 
5
pi 
 
Core
No
0017273: 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.
blocks backport 00171202.50MP30 closed adrianromero When voiding an invoice Accounting dimensions should be transferred 
Issue History
2011-05-19 16:13adrianromeroNew Issue
2011-05-19 16:13adrianromeroAssigned To => adrianromero
2011-05-19 16:13adrianromeroModules => Core
2011-05-19 16:13adrianromeroIssue generated from0017120
2011-05-19 16:13adrianromeroRelationship addedblocks 0017120
2011-05-19 16:18hgbotCheckin
2011-05-19 16:18hgbotNote Added: 0037230
2011-05-19 16:18hgbotStatusnew => resolved
2011-05-19 16:18hgbotResolutionopen => fixed
2011-05-19 16:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eeb3790fec5b31feb20dfe837a9e7efbb2aae7f6 [^]
2011-05-19 16:19adrianromeroNote Added: 0037231
2011-05-20 12:02maiteNote Added: 0037271
2011-05-20 12:02maiteStatusresolved => closed
2011-05-26 07:45hudsonbotCheckin
2011-05-26 07:45hudsonbotNote Added: 0037506

Notes
(0037230)
hgbot   
2011-05-19 16:18   
Repository: erp/devel/pi
Changeset: eeb3790fec5b31feb20dfe837a9e7efbb2aae7f6
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu May 19 16:18:14 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eeb3790fec5b31feb20dfe837a9e7efbb2aae7f6 [^]

Fixes issue 0017273: 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
---
(0037231)
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.
(0037271)
maite   
2011-05-20 12:02   
verified
(0037506)
hudsonbot   
2011-05-26 07:45   
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/728387046be6 [^]

Maturity status: Test