159: -- Check number of iterations.
160:
161: IF p_iteration > QP_GLOBALS.G_MAX_DEF_ITERATIONS THEN
162:
163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
164: THEN
165:
166: FND_MESSAGE.SET_NAME('QP','OE_DEF_MAX_ITERATION');
167: OE_MSG_PUB.Add;
163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
164: THEN
165:
166: FND_MESSAGE.SET_NAME('QP','OE_DEF_MAX_ITERATION');
167: OE_MSG_PUB.Add;
168:
169: END IF;
170:
171: RAISE FND_API.G_EXC_ERROR;