Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0012719 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] 07. Sales management | major | always | 2010-03-18 08:00 | 2011-07-20 18:12 | |||||||
Reporter | neil_smith | View Status | public | |||||||||
Assigned To | jonalegriaesarte | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | 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 | 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 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |