889: -- Re-Initialize API return status to success
890: x_return_status := fnd_api.g_ret_sts_success;
891: -- every other return status seems to be unexpected: leave
892: else
893: fnd_message.set_name('WMS','WMS_INVALID_RETURN_STATUS');
894: -- WMS_re_Custom_PUB.SearchForStrategy returned wrong status
895: fnd_msg_pub.add;
896: log_error_msg(l_api_name, 'bad_return_status');
897: raise fnd_api.g_exc_unexpected_error;
1415: -- Re-Initialize API return status to success
1416: x_return_status := fnd_api.g_ret_sts_success;
1417: -- every other return status seems to be unexpected: leave
1418: else
1419: fnd_message.set_name('WMS','WMS_INVALID_RETURN_STATUS');
1420: -- WMS_re_Custom_PUB.SearchForStrategy returned wrong status
1421: fnd_msg_pub.add;
1422: log_error_msg(l_api_name, 'bad_return_status');
1423: raise fnd_api.g_exc_unexpected_error;