Last updated on MAY 30, 2017
Applies to:Oracle Lease and Finance Management - Version 12.2.5 and later
Information in this document applies to any platform.
On : 12.2.5 version, Lease Authoring
When attempting to activate a lease contract with usage line,
the following error occurs.
ORA-06503: PL/SQL: Function returned without value in Package OKS_IMPORT_HEADER_PUB Procedure CREATE_CONTRACT_HEADER
The issue can be reproduced at will with the following steps:
1) Try to Author a Contract with Usage-Line and take it thru Booking. And throws Following Error
2) Inventory-Org Set-up at OLFM and ONT system-parameters: (a) Contracts Authoring Inventory-Org and b) OE-Item Validation-Org which value are set to Contract Authoring Inv-Org, which is not a Master-Inventory-Org)
3) Set Profile-Options to Reflect same Inventory-Org as above.
4) Error resulted in oks_import_header_pub.validate_invorg_id due to Cursor-SQL enforcing Inventory-Org must be Master-Org and need to be fixed as Customers can use any Inventory-org for Contracts Authoring and Item-Validation Organization.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms