Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0014352 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | major | always | 2010-08-27 13:00 | 2010-10-19 19:28 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4ed5b7e9b0df | ||||
Projection | none | ETA | none | Target Version | 2.50MP22 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP12 | 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 | 0014352: It is not possible to create a Good Receipt with more quantity than Purchase Order | |||||||
Description | Actually, It is not possible to create a Good Receipt with more quantity than Purchase Order. This behavior is correct in SALES flow as you ARE NOT able to create a Sales Invoice with more quantity than Sales Order. (as according with https://issues.openbravo.com/view.php?id=11977 [^]) But in PURCHASE flow you ARE able to create a Purchase Invoice with more quantity than Purchase Order (which is correct behavior), so you also have to be able to create Good Receipt with more quantity than Purchase Order. | |||||||
Steps To Reproduce | Go to Sales Management > Transactions > Sales Order. Create a new one. Enter a BP and select as Document type "Standard Order". Save it. Go to Line tab. Create a new one. Select one product and enter 10 units. Go back to Header and complete it. Go to Sales Management > Transactions > Good Shipment. Create a new one, but select same BP as Sales order. Save it. Press "Create lines From". Select the previous Sales order, and select an Storage bin (IE ML1). Select the line and press OK. Go to Line tab, and modify its amount. Enter 12. You will get the error. Verify that if you create a Purchase Invoice by "Create Lines From" the purchase order and you go to invoice line and set Quantity=12 you are able to process the invoice. | |||||||
Proposed Solution | Add AND ISSOTRX='Y' clause in fix of https://issues.openbravo.com/view.php?id=11977 [^] | |||||||
Tags | Regression | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0030434) adrianromero (manager) 2010-08-30 09:17 |
The condition in the Proposed Solution "AND ISSOTRX='Y'" must be added to the condition that checks that it is not possible to create a Good Receipt with more quantity than purchase order. This condition is checked in the following line of code: https://code.openbravo.com/erp/devel/pi/file/tip/src-db/database/model/triggers/M_INOUTLINE_TRG.xml#l72 [^] |
(0030911) hgbot (developer) 2010-09-09 19:19 |
Repository: erp/devel/pi Changeset: 4ed5b7e9b0dfbc4ee312949c40f8001ed1130c96 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Thu Sep 09 19:18:58 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/4ed5b7e9b0dfbc4ee312949c40f8001ed1130c96 [^] Fixes issue 0014352: It is not possible to create a Good Receipt with more quantity than Purchase Order It has been added a check that verifies shipment quantities against ordered quantities only in sales orders. --- M src-db/database/model/triggers/M_INOUTLINE_TRG.xml --- |
(0030912) adrianromero (manager) 2010-09-09 19:26 |
* Testing the issue Verify that cannot save Goods shipment lines with more quantity that the ordered quantity but it can be saved Goods receipt lines with more quantity that the ordered quantity. * Other areas affected It has only been modified the trigger executed when saving shipment lines. No other areas affected. It has been tested too that goods receipt and shipment lines can be properly inserted, updated and deleted. |
(0030929) hudsonbot (developer) 2010-09-10 12:19 |
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/4ed5b7e9b0df [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f12e04486b2c [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18363.obx [^] |
(0030963) sureshbabu (reporter) 2010-09-13 08:13 |
verified now system not allowing the user to create Goods shipment lines with more quantity that the ordered quantity but allows to create Goods receipt lines with more quantity that the ordered quantity. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-08-27 13:00 | networkb | New Issue | |
2010-08-27 13:00 | networkb | Assigned To | => adrianromero |
2010-08-30 09:17 | adrianromero | Note Added: 0030434 | |
2010-09-09 11:53 | adrianromero | Status | new => scheduled |
2010-09-09 11:53 | adrianromero | fix_in_branch | => pi |
2010-09-09 19:19 | hgbot | Checkin | |
2010-09-09 19:19 | hgbot | Note Added: 0030911 | |
2010-09-09 19:19 | hgbot | Status | scheduled => resolved |
2010-09-09 19:19 | hgbot | Resolution | open => fixed |
2010-09-09 19:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4ed5b7e9b0dfbc4ee312949c40f8001ed1130c96 [^] |
2010-09-09 19:26 | adrianromero | Note Added: 0030912 | |
2010-09-10 12:19 | hudsonbot | Checkin | |
2010-09-10 12:19 | hudsonbot | Note Added: 0030929 | |
2010-09-13 08:13 | sureshbabu | Note Added: 0030963 | |
2010-09-13 08:13 | sureshbabu | Status | resolved => closed |
2010-09-13 12:38 | anonymous | sf_bug_id | 0 => 3065188 |
2010-09-28 17:24 | psarobe | Tag Attached: Regression | |
2010-09-28 17:25 | psarobe | version | 2.50MP20 => 2.50MP12 |
2010-09-28 17:25 | psarobe | fix_in_branch | pi => |
2010-10-19 19:28 | psarobe | Relationship added | related to 0011977 |
Copyright © 2000 - 2009 MantisBT Group |