537: FND_MESSAGE.SET_TOKEN('LOT_STS', l_gme_trans_row.lot_status);
538: l_history_rec.failure_reason := FND_MESSAGE.GET;
539: l_go_ahead := 0;
540: GMI_RESERVATION_UTIL.println('Create alloc: Lot status is NOT orderable, OMSO is not created');
541: GML_GME_API_PVT.g_not_to_delete := 1;
542: GMI_RESERVATION_UTIL.println('Create alloc: global g_not_to_delete '||GML_GME_API_PVT.g_not_to_delete);
543:
544: GML_GME_API_PVT.g_not_to_notify := 1;
545:
538: l_history_rec.failure_reason := FND_MESSAGE.GET;
539: l_go_ahead := 0;
540: GMI_RESERVATION_UTIL.println('Create alloc: Lot status is NOT orderable, OMSO is not created');
541: GML_GME_API_PVT.g_not_to_delete := 1;
542: GMI_RESERVATION_UTIL.println('Create alloc: global g_not_to_delete '||GML_GME_API_PVT.g_not_to_delete);
543:
544: GML_GME_API_PVT.g_not_to_notify := 1;
545:
546: ELSE
540: GMI_RESERVATION_UTIL.println('Create alloc: Lot status is NOT orderable, OMSO is not created');
541: GML_GME_API_PVT.g_not_to_delete := 1;
542: GMI_RESERVATION_UTIL.println('Create alloc: global g_not_to_delete '||GML_GME_API_PVT.g_not_to_delete);
543:
544: GML_GME_API_PVT.g_not_to_notify := 1;
545:
546: ELSE
547: /* set the lot_status for trans */
548: l_tran_rec.lot_status := l_lot_status;
1419: FND_MSG_PUB.ADD;
1420: RAISE FND_API.G_EXC_ERROR;
1421: END IF;
1422:
1423: GML_GME_API_PVT.g_not_to_notify := 1;
1424: END regenerate_alloc;
1425:
1426: PROCEDURE process_om_reservations
1427: (