Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011559 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2009-11-30 18:06 | 2010-01-19 01:41 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | rafaroda | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP11 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fe7d5b438fe6 | ||||
Projection | none | ETA | none | Target Version | 2.50MP11 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP8 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011559: Error when Create Shipment from order | |||||||
Description | There isn't stock. When you create a shipment from an order appears this error: Error: The organization associated with the Document Type is different or does not depend on the organization associated with the Shipment | |||||||
Steps To Reproduce | -As Openbravo Admin go to General Setup || Client || Client || Client >> Information -Don't set Allow Negative Stock -Save -Go to Warehouse Management || Transactions || Physical Inventory -Create a new record, save and go to Lines -Create a new record. -Select a product (Screwdriver) -Quantity count:0 -Save and go back to the header, Process Inventory Count. -Go to Sales Management || Transactions || Sales Order -Create a new record, chose a BP, save and go to Lines. -Create a new record, chose a product (Screwdriver), save -Go back to the Header, complete -Go to Sales Management || Transactions || Create Shipments from Orders -Select the Order created and process | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0023210) rafaroda (viewer) 2010-01-05 08:35 |
In PostgreSQL error message shown is "The organization associated with the Document Type is different or does not depend on the organization associated with the Shipment". In Oracle error message shown is "No data found". |
(0023211) rafaroda (viewer) 2010-01-05 08:36 |
The issue is in M_Inout_Post function which, in case that we don't have stock, makes a select to a non-existing goods shipment (m_inout_id), leading to no data found error. |
(0023212) hgbot (developer) 2010-01-05 09:07 |
Repository: erp/devel/pi Changeset: fe7d5b438fe6d0164611290b2bf8a0eb864083aa Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com> Date: Mon Jan 04 21:46:37 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/fe7d5b438fe6d0164611290b2bf8a0eb864083aa [^] Fixes issue 11559 Good Shipment is checked before completing it. --- M src-db/database/model/functions/M_INOUT_CREATE.xml M src-db/database/model/functions/M_INOUT_POST.xml --- |
(0023352) sureshbabu (viewer) 2010-01-12 12:31 |
Verified, right now system showing error message as "No orders were processed", when the user tries to create a goods shipment for a product which has Stock qyt =0 and allow negative qty option is un cheked. |
(0023528) hudsonbot (viewer) 2010-01-19 01: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/fe7d5b438fe6 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7f3a35240cf9 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15846.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-30 18:06 | networkb | New Issue | |
2009-11-30 18:06 | networkb | Assigned To | => rafaroda |
2009-11-30 18:06 | networkb | OBNetwork customer | => Yes |
2009-12-07 20:04 | psarobe | Priority | immediate => urgent |
2009-12-07 20:04 | psarobe | Severity | minor => major |
2009-12-07 20:04 | psarobe | Status | new => scheduled |
2010-01-05 08:35 | rafaroda | Note Added: 0023210 | |
2010-01-05 08:36 | rafaroda | Note Added: 0023211 | |
2010-01-05 09:07 | hgbot | Checkin | |
2010-01-05 09:07 | hgbot | Note Added: 0023212 | |
2010-01-05 09:07 | hgbot | Status | scheduled => resolved |
2010-01-05 09:07 | hgbot | Resolution | open => fixed |
2010-01-05 09:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fe7d5b438fe6d0164611290b2bf8a0eb864083aa [^] |
2010-01-12 12:31 | sureshbabu | Note Added: 0023352 | |
2010-01-12 12:31 | sureshbabu | Status | resolved => closed |
2010-01-12 12:31 | sureshbabu | Fixed in Version | => 2.50MP10 |
2010-01-13 00:00 | anonymous | sf_bug_id | 0 => 2930986 |
2010-01-18 11:52 | sureshbabu | Fixed in Version | 2.50MP10 => 2.50MP11 |
2010-01-19 01:41 | hudsonbot | Checkin | |
2010-01-19 01:41 | hudsonbot | Note Added: 0023528 |
Copyright © 2000 - 2009 MantisBT Group |