Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009519Openbravo ERP09. Financial managementpublic2009-06-17 18:372009-07-16 17:55
psanjuan 
rakheemohanlal 
immediatemajoralways
closedfixed 
20Ubuntu 8.04.1
pi 
pi 
Core
No
0009519: While voiding an AR invoice or an AP invoice the system shows former "document date" and "posting date" dates
While voiding an AR invoice or an AP invoice the system shows as "document date" and "posting date" of the voided invoice the "document date" and the "posting date" of the original invoice.
1.- Make sure year 2006 by example is open.
2.- Go to Sales Management / Transactions / Sales Invoice / Header and create a new sales invoice header with info below:
Transaction document = AR invoice
invoice date = 01-06-2006
posting date = 01-07-2006
tax date = 01-07-06
3.- Select a business partner (Mafalda) and go to lines
4.- Create a new line and select a product (by example boots) and enter 100 as invoiced quantity.
5.- Go back to the header
6.- Complete and
7.- Post
8.- Having into account that today is 17-06-2009 by example, select the AR invoice just posted and void it by pressing "Reactivate" button, option void, press ok.
9.- Note that the systems informs you that the current document has been reversed by a new one.
10.- Go to the new one and check it has negative amounts
11.- and notice that both the invoice date and the posting date are not the current date (17 June 2009) but former dates (2006).
Document date, Tax date and posting date of a voided invoice should be the date when the voided invoice has been created and not the dates of the original invoice.
No tags attached.
related to defect 0012230pi closed rafaroda not able to void invoices 
blocks feature request 0009520 closed iciordia While voiding an AR invoice or an AP invoice the system should allow the user to change "document date" and "posting date" 
Issue History
2009-06-17 18:37psanjuanNew Issue
2009-06-17 18:37psanjuanAssigned To => rafaroda
2009-06-30 19:17psarobeStatusnew => scheduled
2009-06-30 19:17psarobefix_in_branch => pi
2009-06-30 19:23psarobeRelationship addedblocks 0009520
2009-07-06 08:39rafarodaversion => pi
2009-07-06 08:39rafarodafix_in_branchpi =>
2009-07-06 08:52rafarodaNote Added: 0017922
2009-07-06 08:52rafarodaAssigned Torafaroda => sathiyan
2009-07-06 08:52rafarodaPrioritynormal => immediate
2009-07-08 07:23sathiyanAssigned Tosathiyan => rakheemohanlal
2009-07-09 10:55rafarodaSteps to Reproduce Updated
2009-07-09 13:59hgbotCheckin
2009-07-09 13:59hgbotNote Added: 0018058
2009-07-09 13:59hgbotStatusscheduled => resolved
2009-07-09 13:59hgbotResolutionopen => fixed
2009-07-09 13:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f6216327abd0e76e8b03f792e7122fb7e2b64d45 [^]
2009-07-16 13:48sureshbabuStatusresolved => closed
2009-07-16 13:48sureshbabuNote Added: 0018318
2009-07-16 13:48sureshbabuFixed in Version => pi
2009-07-16 17:55anonymoussf_bug_id0 => 2822548
2010-02-15 11:45rafarodaRelationship addedrelated to 0012230

Notes
(0017922)
rafaroda   
2009-07-06 08:52   
Set to Immediate since it affects an OPS customer.
(0018058)
hgbot   
2009-07-09 13:59   
Repository: erp/devel/pi
Changeset: f6216327abd0e76e8b03f792e7122fb7e2b64d45
Author: Rakhee Mohanlal <rakhee.mohanlal <at> openbravo.com>
Date: Thu Jul 09 17:27:46 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f6216327abd0e76e8b03f792e7122fb7e2b64d45 [^]

Fixes Issue 9519: While voiding an AR invoice or an AP invoice the system shows former \"document date\" and \"posting date\" dates

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0018318)
sureshbabu   
2009-07-16 13:48   
Tested Document date, Tax date and posting date of a voided invoice is rightly assigned to the date when the voided invoice has been created