2146: -- automacally reject the cancel request.
2147: -- additionally updating the validation_error field with the message stack populated
2148: -- by cancel api(if no. of message is 1).
2149:
2150: IF(FND_MSG_PUB.COUNT_MSG = 1) THEN
2151: l_validation_error := fnd_msg_pub.get(p_encoded => 'F');
2152: END IF;
2153:
2154: update PO_CHANGE_REQUESTS
2147: -- additionally updating the validation_error field with the message stack populated
2148: -- by cancel api(if no. of message is 1).
2149:
2150: IF(FND_MSG_PUB.COUNT_MSG = 1) THEN
2151: l_validation_error := fnd_msg_pub.get(p_encoded => 'F');
2152: END IF;
2153:
2154: update PO_CHANGE_REQUESTS
2155: set request_status='REJECTED',
9090: RAISE FND_API.g_exc_unexpected_error;
9091: END IF;
9092:
9093: IF FND_API.to_boolean(p_init_msg_list) THEN
9094: FND_MSG_PUB.initialize;
9095: END IF;
9096:
9097: l_index:=p_CanceledReqLineIDs_tbl.FIRST;
9098: l_last:=p_CanceledReqLineIDs_tbl.LAST;