Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012650 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | have not tried | 2010-03-11 12:49 | 2010-03-17 15:40 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | cdc783c1056a | ||||
Projection | none | ETA | none | Target Version | 2.50MP14 | |||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP13 | 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 | 0012650: You can not delete a good shipment line so you can not delete the good shipment | |||||||
Description | You can not delete a good shipment line so you can not delete the good shipment. When trying to delete the line you get the following error: ERROR: record "new" is not assigned yet Detail: The tuple structure of a not-yet-assigned record is indeterminate. | |||||||
Steps To Reproduce | -Go to good shipment window -Create a shipment -Create a line and save it -Try to delete the line. | |||||||
Proposed Solution | This bloque of code of the m_inoutline_trg is always executed: IF (:NEW.C_ORDERLINE_ID IS NOT NULL) THEN SELECT COUNT(*) INTO V_COUNT FROM C_ORDERLINE ol WHERE ol.C_ORDERLINE_ID = :NEW.C_ORDERLINE_ID AND :NEW.MOVEMENTQTY > ol.QTYORDERED; IF(V_COUNT <> 0) THEN RAISE_APPLICATION_ERROR(-20000, '@MovementQtyCheck@'); END IF; END IF; IF (UPDATING) THEN When deleting is not possible to use the new. This should be done when inserting or updating only. | |||||||
Tags | Regression | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0025241) hgbot (developer) 2010-03-11 16:43 |
Repository: erp/devel/pi Changeset: 90e5934baefaa2aef4dc120934786aa48a1a8cd7 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Thu Mar 11 16:48:41 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/90e5934baefaa2aef4dc120934786aa48a1a8cd7 [^] Fixes issue 0012650: You can not delete a good shipment line so you can not delete the good shipment --- M src-db/database/model/triggers/M_INOUTLINE_TRG.xml M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java --- |
(0025242) hgbot (developer) 2010-03-11 16:49 |
Repository: erp/devel/pi Changeset: cdc783c1056a6c48aea18b1ac000d7e7ea1a581f Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Thu Mar 11 16:55:12 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/cdc783c1056a6c48aea18b1ac000d7e7ea1a581f [^] Fixes issue 0012650: You can not delete a good shipment line so you can not delete the good shipment Reverting SL_InOutLine_Product.java that does not belong to this commit --- M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java --- |
(0025243) adrianromero (manager) 2010-03-11 16:53 |
To test this issue just follow the reproduction steps and notice that now it is possible to delete good shipment lines |
(0025428) hudsonbot (developer) 2010-03-12 22:41 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/90e5934baefa [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^] |
(0025429) hudsonbot (developer) 2010-03-12 22:41 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/cdc783c1056a [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^] |
(0025443) arunkumar (reporter) 2010-03-15 08:14 |
Tested & Working fine |
![]() |
|||
Date Modified | Username | Field | Change |
2010-03-11 12:49 | networkb | New Issue | |
2010-03-11 12:49 | networkb | Assigned To | => adrianromero |
2010-03-11 13:09 | networkb | Severity | critical => major |
2010-03-11 13:16 | networkb | Proposed Solution updated | |
2010-03-11 16:10 | rafaroda | Issue Monitored: rafaroda | |
2010-03-11 16:17 | rafaroda | Relationship added | related to 0011977 |
2010-03-11 16:43 | hgbot | Checkin | |
2010-03-11 16:43 | hgbot | Note Added: 0025241 | |
2010-03-11 16:43 | hgbot | Status | new => resolved |
2010-03-11 16:43 | hgbot | Resolution | open => fixed |
2010-03-11 16:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/90e5934baefaa2aef4dc120934786aa48a1a8cd7 [^] |
2010-03-11 16:49 | hgbot | Checkin | |
2010-03-11 16:49 | hgbot | Note Added: 0025242 | |
2010-03-11 16:49 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/90e5934baefaa2aef4dc120934786aa48a1a8cd7 [^] => http://code.openbravo.com/erp/devel/pi/rev/cdc783c1056a6c48aea18b1ac000d7e7ea1a581f [^] |
2010-03-11 16:53 | adrianromero | Note Added: 0025243 | |
2010-03-12 22:41 | hudsonbot | Checkin | |
2010-03-12 22:41 | hudsonbot | Note Added: 0025428 | |
2010-03-12 22:41 | hudsonbot | Checkin | |
2010-03-12 22:41 | hudsonbot | Note Added: 0025429 | |
2010-03-15 08:14 | arunkumar | Note Added: 0025443 | |
2010-03-15 08:14 | arunkumar | Status | resolved => closed |
2010-03-16 00:00 | anonymous | sf_bug_id | 0 => 2970945 |
2010-03-17 15:40 | psarobe | Tag Attached: Regression | |
2010-03-23 17:47 | adrianromero | Relationship added | has duplicate 0012769 |
Copyright © 2000 - 2009 MantisBT Group |