My Oracle Support Banner

Calling PN_EQUIP_LEASE_PUB.Create_Equip_Lease Results In Incorrect Value In PN_EQP_ASSETS_ALL.org_id (Doc ID 2454119.1)

Last updated on OCTOBER 01, 2018

Applies to:

Oracle Property Manager - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

 PN_EQUIP_LEASE_PUB.Create_Equip_Lease is being called to create a lease with assets. When the asset is created in PN_EQP_ASSETS_ALL, the field PN_EQP_ASSETS_ALL.org_id is populated with the inventory org id instead of the operating unit. This results in the asset not being displayed on the Equipment Lease Detail screen. All Assets that are created directly within the Equipment Lease Detail screen are properly displayed, as I confirm that PN_EQP_ASSETS_ALL.org_id is properly populated with the operating unit org_id when creating Assets through the screens, so the problem only seems to be when creating assets using the API PN_EQUIP_LEASE_PUB.Create_Equip_Lease or PN_EQUIP_LEASE_PUB.Create_Equip_Assets.

 

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!


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