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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027338
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2014-08-14 15:552014-08-14 15:56
ReporterrafarodaView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionopenFixed 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

0027338: Review deleting logic of tax lines in C_ORDERLINE_TRG2

DescriptionWhen posting a Sales Order, logic for recreating the tax lines should be reviewed in order to modify existing ones instead of deleting and recreating them.

This is the second part of the issue 0027023.
Steps To ReproduceTaken from issue 0027023

Using PG:
-Enable function statistics:
  -In postgresql.conf set track_functions = all
  -/etc/init.d/postgresql reload
-Create a sales order with one line
-Reset pg statistics: select pg_stat_reset();
-Book it
  * Check function calls: select funcname, calls, total_time, self_time from pg_stat_user_functions order by self_time desc
Proposed SolutionReview delete logic of C_ORDERLINE_TRG2 trigger https://code.openbravo.com/erp/devel/pi/file/085ea1fce739/src-db/database/model/triggers/C_ORDERLINE_TRG2.xml#l93 [^]

See issue 0027023 for more information.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027023 closedvmromanos Order line taxes are regenerated on all order line changes 
related to defect 00290733.0PR15Q2 closedumartirena Review deleting logic of tax lines in C_INVOICELINE_TRG2 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-08-14 15:55 rafaroda New Issue
2014-08-14 15:55 rafaroda Assigned To => dmiguelez
2014-08-14 15:55 rafaroda Modules => Core
2014-08-14 15:55 rafaroda Triggers an Emergency Pack => No
2014-08-14 15:56 rafaroda Relationship added related to 0027023
2015-02-26 11:30 egoitz Relationship added related to 0029073


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker