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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028238
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2014-11-20 13:592014-12-30 23:26
ReporteraferrazView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionfixedFixed in Version3.0PR15Q1
StatusclosedFix in branchFixed in SCM revision35d365d804ad
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028238: [Costing] Cost Adjustment of type Landed Cost is not properly created if a good receipt and a good receipt line are entered

Description[Costing] Cost Adjustment of type Landed Cost is not properly created if a good receipt and a good receipt line are entered in the same record in the Receipt tab of the landed cost window.
Steps To ReproduceIn QA Testing client create a new product named "Costing LC111" with a "Purchase" price list and unit/list price of 111.00. Create another product named "Costing LC222" with a "Purchase" price list and unit/list price of 222.00. Create another product named "Costing LC333" with a "Purchase" price list and unit/list price of 333.00.

Go to goods receipt window and create a new one dated on 20/11/2014. Enter a line with "Costing LC111" product, 50 units. Add another line with "Costing LC222" product, 150 units,. Complete the receipt. Go to process request window and launch costing background process. Go back to goods receipt window and post it. Let's say this is receipt 10001797.

Go to goods receipt window and create a new one dated on 25/11/2014. Enter a line with "Costing LC222" product, 75 units. Add another line with "Costing LC333" product, 125 units. Complete the receipt. Go to process request window and launch costing background process. Go back to goods receipt window and post it. Let's say this is receipt 10001798.

Go to Landed Cost window and create a new landed cost for Spain organization, reference date 30/11/2014. Move to Cost tab and add a new line with landed cost type Transportation Cost, amount 325. Add another line with landed cost type Fees and amount 425. Move to Receipt tab and add a new line with goods receipt 10001797 and goods receipt line the line 10 of receipt 10001798. Click on Process button.

Go to Cost Adjustment window and realize a new record has been created:

- Line 1: Transaction receipt 10001798 line 10 - Amount 750.00

This is not correct. It should be:

- Line 1: Transaction receipt 10001797 line 10 - Amount 75.00

- Line 2: Transaction receipt 10001797 line 20 - Amount 450.00

- Line 3: Transaction receipt 10001798 line 10 - Amount 225.00
Proposed SolutionSee above.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0072033)
psanjuan (manager)
2014-11-26 14:06
edited on: 2014-11-26 14:11

Receipt tab of Landed Cost window should be designed as described below:

* either a Goods Receipt header is selected in "Goods Receipt" field -> this option implies that specified landed cost are distributed among all Goods Receipt lines

* or a Goods Receipt header is selected in Goods Receipt field and a Goods Receipt line "of the very same Goods Receipt" is selected in the field "Goods Receipt Line" -> this option implies that specified landed cost are distribute just for the Goods receipt line selected.

Above behaviour implies that Goods Receipt lines field lists only goods receipt lines of the goods receipt selected in Goods Receipt field.

(0072273)
hgbot (developer)
2014-12-04 11:38

Repository: erp/devel/pi
Changeset: 35d365d804ad4c709ff689dd78913f1a95167e14
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Dec 04 11:31:24 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/35d365d804ad4c709ff689dd78913f1a95167e14 [^]

Fixes Issue 28238: Cost Adjustment of Landed Cost type properly created.

Receipt tab of Landed Cost has been designed to work in the following way:
* either a Goods Receipt header is selected in 'Goods Receipt' field -> this option implies that specified landed cost are distributed among all Goods Receipt lines.
* or a Goods Receipt header is selected in Goods Receipt field and a Goods Receipt line 'of the very same Goods Receipt' is selected in the field 'Goods Receipt Line' -> this option implies that specified landed cost are distribute just for the Goods receipt line selected.
Above behaviour implies that Goods Receipt lines field lists only goods receipt lines of the goods receipt selected in Goods Receipt field. In order to do this a where clause has been added in Goods Receipt Lines selector to only display lines of the selected header, if no header is selected, no lines would be displayed.

---
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0072288)
hgbot (developer)
2014-12-04 18:19

Repository: erp/devel/pi
Changeset: 107d831cf383a7c2bee03c86cfc65360ebe42793
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Dec 04 16:58:28 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/107d831cf383a7c2bee03c86cfc65360ebe42793 [^]

Related to Issue 28238: Clear Goods Shipment Lines when changing Goods Shipment.

A callout has been implemented in Goods Shipment field.

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SL_LandedCost_Receipt.java
---
(0072312)
psanjuan (manager)
2014-12-05 14:25

Verified.
(0072438)
Sandrahuguet (developer)
2014-12-11 18:11

Code review done
(0073168)
hudsonbot (developer)
2014-12-30 23:26

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
(0073175)
hudsonbot (developer)
2014-12-30 23:26

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-11-20 13:59 aferraz New Issue
2014-11-20 13:59 aferraz Assigned To => Sandrahuguet
2014-11-20 13:59 aferraz Modules => Core
2014-11-20 13:59 aferraz Triggers an Emergency Pack => No
2014-11-26 14:06 psanjuan Note Added: 0072033
2014-11-26 14:08 psanjuan Note Edited: 0072033 View Revisions
2014-11-26 14:11 psanjuan Note Edited: 0072033 View Revisions
2014-11-26 15:02 psanjuan Summary [Costing] Cost Adjustment of type Landed Cost is not properly created => [Costing] Cost Adjustment of type Landed Cost is not properly created if a good receipt and a good receipt line are entered
2014-11-26 15:02 psanjuan Description Updated View Revisions
2014-12-04 11:38 hgbot Checkin
2014-12-04 11:38 hgbot Note Added: 0072273
2014-12-04 11:38 hgbot Status new => resolved
2014-12-04 11:38 hgbot Resolution open => fixed
2014-12-04 11:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/35d365d804ad4c709ff689dd78913f1a95167e14 [^]
2014-12-04 18:19 hgbot Checkin
2014-12-04 18:19 hgbot Note Added: 0072288
2014-12-05 14:25 psanjuan Note Added: 0072312
2014-12-11 18:11 Sandrahuguet Review Assigned To => Sandrahuguet
2014-12-11 18:12 Sandrahuguet Note Added: 0072438
2014-12-11 18:12 Sandrahuguet Status resolved => closed
2014-12-11 18:12 Sandrahuguet Fixed in Version => 3.0PR15Q1
2014-12-30 23:26 hudsonbot Checkin
2014-12-30 23:26 hudsonbot Note Added: 0073168
2014-12-30 23:26 hudsonbot Checkin
2014-12-30 23:26 hudsonbot Note Added: 0073175


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker