Error deleting i_FixedAsset

Description

After importing from I_FixedAsset the record stay related with A_AssetAdittion creating a restriction that did not allow to erase the records.

The problem can be solve in dictionary adding action null in field I_FixedAsset_Id into A_AssetAdittion table.

Environment

None

Attachments

2

Activity

Show:

Carlos Ruiz November 11, 2022 at 8:56 PM

After reviewing Fixed Assets module, when creating an Asset Addition there is a field Source Type that can be set to Imported

So, the link to the imported fixed asset seems to be a feature for this - probably wrongly designed, but I think is better to not delete the import record when using this option. Alternatively the user can use the other source types: Invoice, Manual, or Project and this problem is not created.

Andres Lopez Andrade June 25, 2020 at 9:11 PM

Eduardo Gil June 25, 2020 at 9:03 PM
Edited

That’s rare beacuse i filter created today and see 6 register with the data in imported fixed asset in test.idempiere.org. This is where you are testing?

Carlos Ruiz June 25, 2020 at 6:18 PM

Very hard to try to import an asset - there are many errors internally and the output to the user is basically nothing.

Andres Lopez Andrade June 25, 2020 at 5:01 PM
Edited

I’ve checked the Asset Window and there’s no asset created yet

Won't Fix

Details

Assignee

Reporter

Priority

Created April 23, 2018 at 8:59 PM
Updated January 3, 2023 at 12:19 PM
Resolved November 11, 2022 at 8:56 PM