Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024700Openbravo ERP07. Sales managementpublic2013-09-05 16:302013-12-24 12:31
malsasua 
pramakrishnan 
normalminoralways
closedfixed 
20Community Appliance
 
 
pramakrishnan
Google Chrome
Core
No
0024700: invoice with negative lines, can not be reactivated
An invoice, with the first line negative, and the second line positive (both lines are related to the same sales order line). The invoice can be processed, but it can not be reactivated.
. in F&B
. create a sales order
 . BP: Hoteles Buenas Noches
 new line:
 . line 10 -> qty: 10
. process it

. create a sales invoice
 . BP: Hoteles Buenas Noches
 . run process: create lines from:
   . select the line created in the previous sales order
   . go to the line created and modify the quantity from 10 to -2
 . run process: create lines from:
   . select the line created in the previous sales order
   . go to the line created and modify the quantity from 10 to 12
 . process the invoice-> OK
 . unprocess-> Error: Order No. XXXX line10. Invoiced Quantity cannot be higher than Ordered Quantity
No tags attached.
Issue History
2013-09-05 16:30malsasuaNew Issue
2013-09-05 16:30malsasuaAssigned To => dmiguelez
2013-09-05 16:30malsasuaWeb browser => Google Chrome
2013-09-05 16:30malsasuaModules => Core
2013-09-05 16:30malsasuaTriggers an Emergency Pack => No
2013-12-04 09:27gauravdeshmukhNote Added: 0062499
2013-12-04 12:00pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-12-11 06:51hgbotCheckin
2013-12-11 06:51hgbotNote Added: 0062696
2013-12-11 06:51hgbotStatusnew => resolved
2013-12-11 06:51hgbotResolutionopen => fixed
2013-12-11 06:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f64403aac66c6a07d864d9ede705df2fecc78aeb [^]
2013-12-19 12:31hudsonbotCheckin
2013-12-19 12:31hudsonbotNote Added: 0062845
2013-12-24 12:31pramakrishnanReview Assigned To => pramakrishnan
2013-12-24 12:31pramakrishnanNote Added: 0063061
2013-12-24 12:31pramakrishnanStatusresolved => closed

Notes
(0062499)
gauravdeshmukh   
2013-12-04 09:27   
1.Login with Admin in F&B client
2.create a sales order using BP: Hoteles Buenas Noches ,
   create new line:line 10 -> qty: 10
3.Book the sales order
4.create a sales invoice using BP: Hoteles Buenas Noches
5.Run process: create lines from:
   . select the line created in the previous sales order
   . go to the line created and modify the quantity from 10 to -2
6.Run process: create lines from:
   . select the line created in the previous sales order
   . go to the line created and modify the quantity from 10 to 12
7.process the invoice-> OK
8.During reactivation sales order document status change to 'Draft'[Process completed Successfully] ,also update QtyInvoice field in sales order line .
(0062696)
hgbot   
2013-12-11 06:51   
Repository: erp/devel/pi
Changeset: f64403aac66c6a07d864d9ede705df2fecc78aeb
Author: Gaurav Deshmukh <gaurav.deshmukh <at> geotechinfo.in>
Date: Sat Dec 07 10:11:21 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f64403aac66c6a07d864d9ede705df2fecc78aeb [^]

Fixes Issue 0024700: invoice with negative lines, can not be reactivated

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0062845)
hudsonbot   
2013-12-19 12:31   
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/b878bb51dc09 [^]

Maturity status: Test
(0063061)
pramakrishnan   
2013-12-24 12:31   
Code Review + Testing - OK.