185: -- Check number of iterations.
186:
187: IF p_iteration > QP_GLOBALS.G_MAX_DEF_ITERATIONS THEN
188:
189: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
190: THEN
191:
192: FND_MESSAGE.SET_NAME('QP','OE_DEF_MAX_ITERATION');
193: OE_MSG_PUB.Add;
189: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
190: THEN
191:
192: FND_MESSAGE.SET_NAME('QP','OE_DEF_MAX_ITERATION');
193: OE_MSG_PUB.Add;
194:
195: END IF;
196:
197: RAISE FND_API.G_EXC_ERROR;