Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020010 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2012-03-13 13:34 | 2012-04-02 06:11 | |||
Reporter | VictorVillar | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 01288f09856b | ||||
Projection | none | ETA | none | Target Version | 3.0MP10 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0MP8.1 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020010: Error in Create Credit process when there is a discount line in Return from Customer | |||||||
Description | If there is a discount line in Return from Customer, the user cannot create a reversed invoice with the Create Credit process (c_invoice_post), beacuse this process does not allow positive lines, and in DB discount lines are positive. | |||||||
Steps To Reproduce | As group admin role, Go to Business Partner window, select Sleep Well Hotels, go to Discount tab create new one: Discount 10% apply in order: Yes Go to sales order window, Create a new one: Lines: Ale beer Qty: 2 Book it Go to Goods shipment window: create a new one -->Sleep Well Hotels Create Lines from: Sales order before Complete it. Go to Sales invoice: create new one, same business partner create lines from the Sales order before complete it. Go to Return from Customer: create a new one, pick and edit lines button: select the Line Ale beer Returned qty: 1 click in Done button. book it and click in Create Credit button. An error message appear: ERROR=ReturnInvoiceNegativeQty@ This means that this process does not allow the possitive lines for Reversed Invoices. (discount lines are positive in DB) | |||||||
Proposed Solution | Check either if the c_invoice_discount_id is null or is not in the c_invoiceline in c_invoice_post function. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0046681) hgbot (developer) 2012-03-23 12:38 |
Repository: erp/devel/pi Changeset: 01288f09856b9ad804a62351a445b836d541980c Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Fri Mar 23 12:36:56 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/01288f09856b9ad804a62351a445b836d541980c [^] Fixes issue 20010: Error in Create Credit process when there is a discount line in Return from Customer --- M src-db/database/model/functions/C_INVOICE_POST.xml --- |
(0046686) hgbot (developer) 2012-03-23 14:04 |
Repository: erp/devel/pi Changeset: 013958cc16f61258c62d61819cc09f6c7574ac79 Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Fri Mar 23 14:04:21 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/013958cc16f61258c62d61819cc09f6c7574ac79 [^] issue issue 20010: Error in Create Credit process when there is a discount line in Return from Customer --- M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java --- |
(0046687) jecharri (developer) 2012-03-23 14:08 |
The last push is for issue 20075 |
(0046883) VictorVillar (developer) 2012-03-29 13:53 |
Verified |
(0047211) hudsonbot (developer) 2012-04-02 06:11 |
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/7814864461ac [^] Maturity status: Test |
(0047213) hudsonbot (developer) 2012-04-02 06:11 |
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/7814864461ac [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2012-03-13 13:34 | VictorVillar | New Issue | |
2012-03-13 13:34 | VictorVillar | Assigned To | => vmromanos |
2012-03-13 13:34 | VictorVillar | Modules | => Core |
2012-03-13 13:34 | VictorVillar | Resolution time | => 1334354400 |
2012-03-13 13:34 | VictorVillar | Issue Monitored: networkb | |
2012-03-13 13:35 | VictorVillar | version | => 3.0MP8.1 |
2012-03-13 17:15 | vmromanos | Assigned To | vmromanos => jonalegriaesarte |
2012-03-15 18:38 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2012-03-23 12:38 | hgbot | Checkin | |
2012-03-23 12:38 | hgbot | Note Added: 0046681 | |
2012-03-23 12:38 | hgbot | Status | new => resolved |
2012-03-23 12:38 | hgbot | Resolution | open => fixed |
2012-03-23 12:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/01288f09856b9ad804a62351a445b836d541980c [^] |
2012-03-23 14:04 | hgbot | Checkin | |
2012-03-23 14:04 | hgbot | Note Added: 0046686 | |
2012-03-23 14:08 | jecharri | Note Added: 0046687 | |
2012-03-29 13:53 | VictorVillar | Note Added: 0046883 | |
2012-03-29 13:53 | VictorVillar | Status | resolved => closed |
2012-04-02 06:11 | hudsonbot | Checkin | |
2012-04-02 06:11 | hudsonbot | Note Added: 0047211 | |
2012-04-02 06:11 | hudsonbot | Checkin | |
2012-04-02 06:11 | hudsonbot | Note Added: 0047213 |
Copyright © 2000 - 2009 MantisBT Group |