Cost Adjustment Line Before Save: Update current cost price

Description

Cost Adjument Line (MInventoryLine) Before Save: Update current cost price for:

  1. New record

  2. Product or ASI has changed.

Environment

None

Activity

Michael Powacht 
July 26, 2022 at 7:20 AM

Thanks ,

tested in my development environment and works as expected.

Heng Sin Low 
July 26, 2022 at 6:56 AM

Hi ,

Fix at https://github.com/idempiere/idempiere/pull/1411

Regards,

Low

Michael Powacht 
July 22, 2022 at 11:59 PM

Hello team,
I encountered an issue which may be related to this change.

Scenario: Cost adjustment for a product with Standard Price and 2 parallel accounting schemes.

I make a cost adjustment for this product in secondary schema currency ‘EUR’, when the following two issues arise:

  1. The Current Cost Price in the cost adjustment line-tab after save is derived from the primary schema (e.g. AED), instead of secondary schema EUR.

  2. The cost adjustment document can't be completed with error message "10000006: Approval Amount=0 (#1) - Current Cost for Line 10 have changed." Document Status is now "Invalid".

A full simulation can be found in https://demo.globalqss.com/webui, cost adjustment documentno=10000006

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 13, 2022 at 8:37 AM
Updated October 1, 2022 at 7:25 AM
Resolved August 5, 2022 at 11:44 AM