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 DECEMBER 04, 2019
Applies to:Oracle Property Manager - Version 12.2.4 and later
Information in this document applies to any platform.
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. That is the 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.
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