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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027963
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2014-10-23 13:192014-12-30 23:23
ReporterpsanjuanView Statuspublic 
Assigned Toumartirena 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione6566a390dba
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027963: Differences between estimated landed cost and invoiced landed cost handle as unit cost

DescriptionDifferences between estimated landed cost and invoiced landed cost handle as unit cost. This is not correct as landed cost adjustments should be handle as Unit Cost = No.
Steps To ReproduceCreate a product named "Landed Cost Test 4".
Go to price tab and enter a unit/list price = 250.00

Go to Goods Receipt and create a new one dated on 23/10/2014. Select the product and enter 1 unit. Complete.

Run the costing background process and go back to the receipt and post it.

Realize that value posted in product asset account is 250.00.

Go to product window, search the product and verify that the costing and the transaction value = 250.00

Go to landed cost window and create a new one dated on 27/10/2014
Go to Cost tab and select an account type landed cost, i.e duties
Enter an amount of 5.00
Go to receipt tab and select the receipt just created.

Process the landed cost and post it.

Posting would look like
Debit: 5.00 (product asset account)
Credit: 5.00 (expense account)

Go to purchase invoice and enter a new one dated on 30/05/2014.
Go to lines and select the account G/L item of the landed cost type (i.e. duties)
Enter an amount of 2.00
Complete and post the invoice.

Press the button Match LC Cost and select the landed cost created. Enter an amount matched of 2.00 and select the check Is matching adjusted. Select as well the check Process Matching.

Once done realize that a new costing adjustment has been created for an amount of -3 (this is correct).

What it is not correct is that this cost adjustment is flagged as Unit Cost = Yes. It should be as Unit Cost =No

Go back to landed cost window and post the matching
Posting looks like:
Debit: 5.00 (expense account)
Credit: 3.00 (product asset)
Credit: 2.00 (expense account)

Above posting is correct as leads to a product asset value of 250+5-3=252

Go to Product window and search the product. Go to Transaction tab, realize that
Trx Original cost = 250 (this is correct)
Total Cost = 252 (250+5-3) (this is correct)
Unit Cost = 247 (250-3) (this is not correct. It should be 250)

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071153)
hgbot (developer)
2014-10-24 09:57

Repository: erp/devel/pi
Changeset: e6566a390dbad92849bdd81ee06868e327e48650
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Fri Oct 24 09:56:21 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e6566a390dbad92849bdd81ee06868e327e48650 [^]

Fixes Issue 27963: Set Unit Cost false in LC Adjustments created in Match LC P&E

Also set as currency of this Landed Cost Adjustment lines the currency of the Landed Cost header.

---
M src/org/openbravo/costing/LCMatchingProcess.java
---
(0071220)
psanjuan (manager)
2014-10-28 13:16

Verified. Cost adjustments related to landed cost differences are now do not set as Unit Cost.
(0072982)
hudsonbot (developer)
2014-12-30 23:23

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-10-23 13:19 psanjuan New Issue
2014-10-23 13:19 psanjuan Assigned To => dmiguelez
2014-10-23 13:19 psanjuan Modules => Core
2014-10-23 13:19 psanjuan Triggers an Emergency Pack => No
2014-10-23 13:20 psanjuan Assigned To dmiguelez => umartirena
2014-10-23 13:20 psanjuan Steps to Reproduce Updated View Revisions
2014-10-24 09:57 hgbot Checkin
2014-10-24 09:57 hgbot Note Added: 0071153
2014-10-24 09:57 hgbot Status new => resolved
2014-10-24 09:57 hgbot Resolution open => fixed
2014-10-24 09:57 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e6566a390dbad92849bdd81ee06868e327e48650 [^]
2014-10-28 13:16 psanjuan Note Added: 0071220
2014-10-28 13:16 psanjuan Status resolved => closed
2014-12-30 23:23 hudsonbot Checkin
2014-12-30 23:23 hudsonbot Note Added: 0072982


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker