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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011559
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2009-11-30 18:062010-01-19 01:41
ReporternetworkbView Statuspublic 
Assigned Torafaroda 
PriorityurgentResolutionfixedFixed in Version2.50MP11
StatusclosedFix in branchFixed in SCM revisionfe7d5b438fe6
ProjectionnoneETAnoneTarget Version2.50MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP8SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011559: Error when Create Shipment from order

DescriptionThere 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0023210)
rafaroda (developer)
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 (developer)
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 (reporter)
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 (developer)
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 [^]

- Issue History
Date Modified Username Field Change
2009-11-30 18:06 networkb New Issue
2009-11-30 18:06 networkb Assigned To => rafaroda
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
Powered by Mantis Bugtracker