408:
409: ----------------------------------------------------
410: -- get the lease status
411: ----------------------------------------------------
412: l_leaseStatus := PNP_UTIL_FUNC.GET_LEASE_STATUS (X_LEASE_ID);
413:
414: ---------------------------------------------------------------
415: -- We need to INSERT the history row IF the lease IS finalised
416: ---------------------------------------------------------------