Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020010 | Openbravo ERP | 07. Sales management | public | 2012-03-13 13:34 | 2012-04-02 06:11 |
Reporter | VictorVillar | ||||
Assigned To | jecharri | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0MP8.1 | ||||
Target Version | 3.0MP10 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
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. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|