2159: END IF;
2160: -- Any other problems in acquiring the lock,
2161: -- raise error and return
2162: ELSE
2163: FND_MESSAGE.set_name('INL', 'INL_SIMUL_COPY_LOCKED');
2164: FND_MSG_PUB.Add;
2165: RAISE FND_API.G_EXC_ERROR;
2166: END IF;
2167: -- Release the lock
2467: END IF;
2468: -- Any other problems in acquiring the lock,
2469: -- raise error and return
2470: ELSE
2471: FND_MESSAGE.set_name('INL', 'INL_SIMUL_CREATE_LOCKED');
2472: FND_MSG_PUB.Add;
2473: RAISE FND_API.G_EXC_ERROR;
2474: END IF;
2475: -- Release the lock