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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027876
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementminoralways2014-10-15 13:232015-06-08 17:52
ReporterdaniOpenbravoView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027876: Warehouse is not changed when processing Expense Sheet.

DescriptionAfter receiving an error when launching "Create Sales Order from Expenses" (Error: There is no warehouse defined for expense organization) process, if user solves it adding a new Warehouse to Expense Sheet´s Organization, "Unprocess Expenses" and "Process Expenses" again, the same error will appear again.
Steps To ReproduceAs group admin role:
   Create a product with Product Type = Expense for *.
   Delete F&B US East Coast Organization´s warehouse. Be sure that there is no warehouse on hand now int that Organization.
   Create an Expense Sheet for F&B US East Coast.
   Add a line to it marked to be reinvoiced and add a business partner and a net unit price.
   Process it.
   Launch the Create Sales Orders from Expenses process.
   Check the following message is shown:
      Error:
      Created: 0
      Expense Sheet No. XXXXXXX: There is no warehouse defined for expense organization.
   Try to solve the problem by adding the warehouse deleted on previous steps to F&B US East Coast Organization.
   Unprocess Expense Sheet.
   Process Expense Sheet again.
   Check that if we launch "Create Sales Order from Expenses" again, the same error message will appear.
Proposed SolutionThe error message appears again because we have not saved the Expense Sheet record one more time, so database has m_warehouse_id=null for that record (as it was saved when there was no Warehouse defined for that Organization).

So, we should check when Processing Expense Sheet that, if that Expense Sheet record does not have a warehouse related, assign Expense sheet´s Organization Warehouse.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00268933.0PR15Q1 closedreinaldoguerra Wrong warehouse selected when creating a sales order from an expense 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-10-15 13:23 daniOpenbravo New Issue
2014-10-15 13:23 daniOpenbravo Assigned To => dmiguelez
2014-10-15 13:23 daniOpenbravo Modules => Core
2014-10-15 13:23 daniOpenbravo Triggers an Emergency Pack => No
2014-10-15 13:24 daniOpenbravo Relationship added depends on 0026893
2014-12-22 17:06 Sandrahuguet Target Version 3.0PR15Q1 => 3.0PR15Q2
2015-03-30 18:21 eduardo_Argal Target Version 3.0PR15Q2 => 3.0PR15Q3
2015-04-14 12:48 Triage Finance Assigned To dmiguelez => Triage Finance
2015-06-08 17:52 vmromanos Target Version 3.0PR15Q3 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker