Calculate Gain And Losses FARET Fails with ORA-1422 When 2 ALC Ledgers Are Defined

(Doc ID 1671683.1)

Last updated on MARCH 22, 2016

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 Primary Ledger has 2 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 **

Steps
-------

1- Submit Calculate Gain and Losses for processing a Retirement in a Book linked to a Primary Ledger having 2 ALC Ledgers assigned;

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