FARET Fails With ORA-1400: Cannot Insert Null Into Fa_books.Cost

(Doc ID 1303541.1)

Last updated on MARCH 26, 2018

Applies to:

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


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

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 **

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


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