414: BEGIN
415: ---------------------------------------------------------------
416: -- get the lease status
417: ---------------------------------------------------------------
418: l_leaseStatus := PNP_UTIL_FUNC.GET_LEASE_STATUS (X_LEASE_ID);
419:
420: ---------------------------------------------------------------
421: -- We need to INSERT the history row IF the lease IS finalised
422: ---------------------------------------------------------------