My Oracle Support Banner

Lease Contract Activation with Usage Line Errors with OKS_IMPORT_HEADER_PUB.CREATE_CONTRACT_HEADER (Doc ID 2271715.1)

Last updated on AUGUST 27, 2021

Applies to:

Oracle Lease and Finance Management - Version 12.2 and later
Information in this document applies to any platform.


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

1) Author a Contract with a Usage Line and take it thru Booking. It throws the above 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 Primary-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 Primary-Org and need to be fixed as Customers can use any Inventory-org for Contracts Authoring and Item-Validation Organization.




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

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