DBA Data[Home] [Help]

APPS.PA_CI_ACTIONS_UTIL dependencies on FND_API

Line 136: x_return_status := FND_API.G_RET_STS_SUCCESS;

132: -- Initialize the Error Stack
133: PA_DEBUG.init_err_stack('PA_CI_ACTIONS_UTIL.CHECKHZPARTYNAME_OR_ID');
134:
135: -- Initialize the return status to success
136: x_return_status := FND_API.G_RET_STS_SUCCESS;
137:
138: PA_RESOURCE_UTILS.Check_ResourceName_Or_Id ( p_resource_id => p_resource_id
139: ,p_resource_type_id => p_resource_type_id
140: ,p_resource_name => p_resource_name

Line 148: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

144: ,x_resource_type_id => x_resource_type_id
145: ,x_return_status => x_return_status
146: ,x_error_message_code => l_error_message_code);
147:
148: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
149: x_return_status := FND_API.G_RET_STS_ERROR;
150: PA_UTILS.Add_Message( p_app_short_name => 'PA'
151: ,p_msg_name => 'PA_CI_ACTION_INVALID_ASSIGNEE');
152: return;

Line 149: x_return_status := FND_API.G_RET_STS_ERROR;

145: ,x_return_status => x_return_status
146: ,x_error_message_code => l_error_message_code);
147:
148: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
149: x_return_status := FND_API.G_RET_STS_ERROR;
150: PA_UTILS.Add_Message( p_app_short_name => 'PA'
151: ,p_msg_name => 'PA_CI_ACTION_INVALID_ASSIGNEE');
152: return;
153: end if;

Line 155: If (x_return_status = fnd_api.g_ret_sts_success

151: ,p_msg_name => 'PA_CI_ACTION_INVALID_ASSIGNEE');
152: return;
153: end if;
154:
155: If (x_return_status = fnd_api.g_ret_sts_success
156: AND l_resource_id <> -999) then
157:
158: if (x_resource_type_id = 101) then
159: OPEN C1;

Line 162: x_return_status := FND_API.G_RET_STS_ERROR;

158: if (x_resource_type_id = 101) then
159: OPEN C1;
160: FETCH C1 into x_party_id;
161: IF C1%NOTFOUND THEN
162: x_return_status := FND_API.G_RET_STS_ERROR;
163: PA_UTILS.Add_Message( p_app_short_name => 'PA'
164: ,p_msg_name => 'PA_CI_ACTION_INVALID_ASSIGNEE');
165: return;
166: ELSE

Line 167: x_return_status := fnd_api.g_ret_sts_success;

163: PA_UTILS.Add_Message( p_app_short_name => 'PA'
164: ,p_msg_name => 'PA_CI_ACTION_INVALID_ASSIGNEE');
165: return;
166: ELSE
167: x_return_status := fnd_api.g_ret_sts_success;
168: END IF;
169: CLOSE C1;
170: else
171: x_party_id := l_resource_id;

Line 180: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

176: WHEN OTHERS THEN
177: -- Set the exception Message and the stack
178: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_CI_ACTIONS_UTILS.CheckHzPartyName_Or_Id'
179: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
180: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
181: RAISE;
182:
183: END;
184: