Calculate Gains and Losses FARET Fails with ORA-1422 When Two ALC Ledgers Are Defined

(Doc ID 1671683.1)

Last updated on MARCH 20, 2018

Applies to:

Oracle Assets - Version 12.1.2 and later
Information in this document applies to any platform.

Symptoms

On Release 12.1.2,  Calculate Gains and Losses fails with the following error when the Primary Ledger has two Alternate Ledgers assigned:

ERROR
------------
ORA-01422: exact fetch returns more than requested number of rows
Error: function FA_INS_ADJUST_PKG.fadoact returned failure
Error: function FA_INS_ADJUST_PKG.faxinaj returned failure
Error: function FA_GAINLOSS_UPD_PKG.fagpdp returned failure
FAGPDP: Fail to insert Depreciation adjustments for asset XXXX

Cause: You have a database problem.

Action: Contact your system administrator.

FAGRET: Fail to retire asset 22

Cause: You have a database problem.

Action: Contact your system administrator.

Error: function FA_GAINLOSS_PKG.do_calc_gainloss_asset returned failure
Retirement ID: 7066 Asset Number: 22 --> ** Failed **

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