Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012719 | Openbravo ERP | 07. Sales management | public | 2010-03-18 08:00 | 2011-07-20 18:12 |
Reporter | neil_smith | ||||
Assigned To | jonalegriaesarte | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 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 | 0012719: Allow to change the ordered quantity even if delivered or invoiced. | ||||
Description | It is not possible to change the ordered quantity of a sales invoice line if it has been delivered or invoiced (partially or completely). Wouldn't it be possible to change the trigger to allow to change the quantity only if it is greater than the quantity that is already delivered or invoiced? | ||||
Steps To Reproduce | Create an order with an orderline and complete it. Deliver and/or invoice this line. Reactivate the order and try to change the quantity and you get the error 'DeliveredInvoiceOrderline'. | ||||
Proposed Solution | Change the c_orderline_chk_restrictions_trg trigger. Line 73 : ELSIF (v_IsSOTrx ='Y' AND v_DocStatus = 'DR' AND (OLD.QTYDELIVERED <> 0 OR OLD.QTYINVOICED <> 0)) THEN To : ELSIF (v_IsSOTrx ='Y' AND v_DocStatus = 'DR' AND (OLD.QTYDELIVERED > NEW.QTYORDERED OR OLD.QTYINVOICED > NEW.QTYORDERED)) THEN | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-03-18 08:00 | neil_smith | New Issue | |||
2010-03-18 08:00 | neil_smith | Assigned To | => adrianromero | ||
2011-06-03 10:59 | dalsasua | Assigned To | adrianromero => dalsasua | ||
2011-07-20 18:12 | dalsasua | Assigned To | dalsasua => jonalegriaesarte |
There are no notes attached to this issue. |