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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015007
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2010-10-25 08:342010-12-09 16:07
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP25
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP22SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015007: the accounting of shipments don't obtain the correct costs per organization

Descriptionif you have several costs in same dates, with diferent organizations, the accounting of shipments obtains the cost of the last line created, independently of organization
Steps To Reproduce1) Create a generic organization A as a child to a legal with accounting organization MAIN.
2) Create a warehouse A and storage bin A1 within organization A.
3) Create a generic organization B as a child to a legal with accounting organization MAIN.
4) Create a warehouse B and storage bin B1 within organization B.
5) Activate shipment table to accounting:
Financial Management || Accounting || Setup || Accounting Schema || Accounting Schema >> Account Schema Tables
 MaterialMgmtShipmentInOut -> Active ='Y'
6) create new product (A) with cost type average, and add to price list
7) create 2 new costs manually to product A:
Master Data Management || Product || Product >> Costing
 create two lines:
  7.1 org A- cost 10- permanent & fixed=Y- qty=1 -qty mov=1 -date from=01/12/2010 date To=31/12/9999
  7.2 org B- cost 20- permanent & fixed=Y- qty=1 -qty mov=1 -date from=01/12/2010 date To=31/12/9999

8) Generate good shipment:
 Sales Management || Transactions || Goods Shipment || Header
   Date trx and date account 15/12/2010 - organization b
 Sales Management || Transactions || Goods Shipment || Lines
   product A - wharehouse B - qty 1
 process and post

the cost to accounting is 10, and it should be 20
TagsNo tags attached.
Attached Filesdiff file icon avgcostsbyorg.diff [^] (23,156 bytes) 2010-11-08 18:29 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0012346 closedgorkaion Generate Average Costs per Organization 
related to backport 00150702.50MP25 closedadrianromero Generate Average Costs per Organization 

-  Notes
(0032483)
adrianromero (manager)
2010-11-08 18:29

Openbravo ERP always calculate costs by client, not by organization. The attached diff adds a new cost option that allows to calculate costs by organization. This diff is part of the ongoing project http://wiki.openbravo.com/wiki/Projects/Org_based_avg_costing [^] but that will not be merged into the main branch until finished.

In the mean time, the attached diff does the job.

- Issue History
Date Modified Username Field Change
2010-10-25 08:34 networkb New Issue
2010-10-25 08:34 networkb Assigned To => adrianromero
2010-10-25 08:35 networkb Relationship added related to 0012346
2010-10-28 15:16 networkb Target Version 2.50MP24 => 2.50MP25
2010-11-08 18:29 adrianromero Relationship added related to 0015070
2010-11-08 18:29 adrianromero File Added: avgcostsbyorg.diff
2010-11-08 18:29 adrianromero Note Added: 0032483
2010-11-10 16:51 adrianromero Status new => closed
2010-11-10 16:51 adrianromero Resolution open => no change required
2010-12-09 16:07 anonymous sf_bug_id 0 => 3133529


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker