FARET Fails With ORA-1400: Cannot Insert Null Into Fa_books.Cost (Doc ID 1303541.1)

Last updated on JULY 18, 2016

Applies to:

Oracle Assets - Version 12.1.2 and later
Information in this document applies to any platform.
Executable:FARET - Calculate Gains and Losses


Symptoms

On Release  12.1.2 when attempting to run Calculate Gain Loss Program to process a reinstatement ,the following error occurs.

ERROR
-----------------------
ORA-01400: cannot insert NULL into ("FA"."FA_BOOKS"."COST")
Error: function FA_GAINLOSS_UND_PKG.fagiat returned failure
Error: function FA_GAINLOSS_UND_PKG.fagrin returned failure

FAGRIN: Fail to reinstate asset 2522

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



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Enter a reinstatement with a yearly Prorate convention
2. Run Calculate Gain Loss Program

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