Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012719
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 07. Sales managementmajoralways2010-03-18 08:002011-07-20 18:12
Reporterneil_smithView Statuspublic 
Assigned Tojonalegriaesarte 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012719: Allow to change the ordered quantity even if delivered or invoiced.

DescriptionIt 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 ReproduceCreate 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 SolutionChange 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker