EAM: Unique Constraint Violation When Running AM_AMAEDIST For Retired Assets (Doc ID 2241029.1)

Last updated on SEPTEMBER 06, 2017

Applies to:

PeopleSoft Enterprise FIN Asset Management - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

On : 9.2 version, PUM# 18. Accounting Entries

Unique Constraint Violation When Running AM_AMAEDIST for Retired Assets

Encountered a unique constraint violation when inserting to DIST_LN_TAO4 when creating AM Accounting Entries with the AM_AMAEDIST AE:

-- 11:07:31.367 Process 27831 ABENDED at Step AM_AMAEDIST.600690.Step10 (Action SQL) -- RC = 805
ROLLBACK
/
-- 11:07:31.385 SQL Error: ORA-00001: unique constraint (SYSADM.PS_DIST_LN_TAO4) violated

This run included creating accounting entries for the retirement of several assets, one of which had a cost/retirement amount of 0.

The cause for the bug is detailed in the attached summary.

ERROR
-----------------------

- 11:07:31.385 SQL Error: ORA-00001: unique constraint (SYSADM.PS_DIST_LN_TAO4) violated

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Add an asset
2. Retire an asset
3. Run AMDPCALC process
4. Run AMAEDIST process

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot create accounting entries.

To gather more information concerning this scenario and its related problem, refer to the available Replication Steps containing the complete configuration and the replication steps necessary to reproduce the issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms