My Oracle Support Banner

ELA: Unable To Retire A Lease If Previously Had An Amendment To Delete Asset Or Cost Distribution Row Due To Hard Coded Value For Cost_Type (Doc ID 2708970.1)

Last updated on AUGUST 31, 2023

Applies to:

PeopleSoft Enterprise FIN Lease Administration - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

 When doing an amendment to a Lease to delete one of the cost distribution row, the following error occurs.


ERROR:

SQLExec("SELECT SUM(COST) FROM PS_COST WHERE BUSINESS_UNIT = :1 AND ASSET_ID = :2 AND BOOK = :3 AND TRANS_TYPE IN ('ADD', 'ADJ') AND COST_TYPE <> 'E'", &p_objLeasedAsset.BusinessUnitAM, &p_objLeasedAsset.AssetID, &sLeaseBook, &nTotCost);





The issue can be reproduced at will with the following steps:
1. Set Up Financials/Supply Chain > Product Related > Asset Management > Financials > Cost Types
2. Add a Cost type of R.
3. Add a Lease.

4. Run all the processes.

5. Add an amendment to  delete the cost distribution row.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.