81: --
82: --OUT:
83: --x_return_status
84: -- Standard API parameter. Returns status of API call.
85: -- Valid values are FND_API.G_RET_STS_SUCCESS, FND_API.G_RET_STS_ERROR,
86: -- FND_API.G_RET_STS_UNEXP_ERROR
87: --Notes:
88: -- This procedure is now called from both Approval Window and PDOI
89: --Testing:
82: --OUT:
83: --x_return_status
84: -- Standard API parameter. Returns status of API call.
85: -- Valid values are FND_API.G_RET_STS_SUCCESS, FND_API.G_RET_STS_ERROR,
86: -- FND_API.G_RET_STS_UNEXP_ERROR
87: --Notes:
88: -- This procedure is now called from both Approval Window and PDOI
89: --Testing:
90: -- None
261:
262: END IF; --x_process_flag = 'Y'
263: --
264: IF (l_running_status = 'N' or x_header_processable_flag = 'N') THEN
265: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
266: ELSE
267: x_return_status := FND_API.G_RET_STS_SUCCESS;
268: END IF;
269: --
263: --
264: IF (l_running_status = 'N' or x_header_processable_flag = 'N') THEN
265: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
266: ELSE
267: x_return_status := FND_API.G_RET_STS_SUCCESS;
268: END IF;
269: --
270: EXCEPTION
271: WHEN OTHERS THEN
269: --
270: EXCEPTION
271: WHEN OTHERS THEN
272: x_header_processable_flag := 'N';
273: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR; --
275: po_message_s.sql_error('create_update_sourcing_rule', x_progress, sqlcode);
276: END create_update_sourcing_rule;
277: