DBA Data[Home] [Help]

APPS.PA_PRODUCT_INSTALL_UTILS dependencies on FND_API

Line 128: x_return_status:=fnd_api.g_ret_sts_success;

124: Begin
125: pa_debug.Init_err_stack ( 'Validate Object');
126: x_msg_count :=0;
127: x_msg_data:= null;
128: x_return_status:=fnd_api.g_ret_sts_success;
129: x_ret_code:= 'Y' ;
130:
131: /** Validate the IN parameter **/
132: if (p_object_type = 'FND_FUNCTION') then

Line 139: x_return_status := FND_API.G_RET_STS_ERROR;

135: if (valid_function%NOTFOUND) then
136: PA_UTILS.Add_Message( p_app_short_name => 'PA'
137: ,p_msg_name => 'PA_INV_FUNCTION');
138: x_msg_count := x_msg_count + 1;
139: x_return_status := FND_API.G_RET_STS_ERROR;
140: --PA_DEBUG.Reset_Err_Stack;
141: --close valid_function;
142: --RETURN;
143: end if;

Line 151: x_return_status := FND_API.G_RET_STS_ERROR;

147: if (valid_project_function%NOTFOUND) then
148: PA_UTILS.Add_Message( p_app_short_name => 'PA'
149: ,p_msg_name => 'PA_INV_PROJECT_FUNCTION');
150: x_msg_count := x_msg_count + 1;
151: x_return_status := FND_API.G_RET_STS_ERROR;
152: --PA_DEBUG.Reset_Err_Stack;
153: --close valid_project_function;
154: --RETURN;
155: end if;

Line 164: x_return_status := FND_API.G_RET_STS_ERROR;

160: if (valid_region%NOTFOUND) then
161: PA_UTILS.Add_Message( p_app_short_name => 'PA'
162: ,p_msg_name => 'PA_INV_AK_REGION');
163: x_msg_count := x_msg_count + 1;
164: x_return_status := FND_API.G_RET_STS_ERROR;
165: --PA_DEBUG.Reset_Err_Stack;
166: --close valid_region;
167: --RETURN;
168: end if;

Line 177: x_return_status := FND_API.G_RET_STS_ERROR;

173: if (valid_product_region%NOTFOUND) then
174: PA_UTILS.Add_Message( p_app_short_name => 'PA'
175: ,p_msg_name => 'PA_INV_PROJECT_REGION');
176: x_msg_count := x_msg_count + 1;
177: x_return_status := FND_API.G_RET_STS_ERROR;
178: /*--PA_DEBUG.Reset_Err_Stack;
179: --close valid_project_function;
180: --RETURN;*/
181: end if;

Line 184: if(x_return_status = FND_API.G_RET_STS_ERROR) then

180: --RETURN;*/
181: end if;
182: close valid_product_region;
183: end if;
184: if(x_return_status = FND_API.G_RET_STS_ERROR) then
185: x_ret_code := 'N';
186: end if;
187: PA_DEBUG.Reset_Err_Stack;
188: EXCEPTION

Line 194: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

190: -- Set the excetption Message and the stack
191: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_PRODUCT_INSTALL_UTILS.validate_object'
192: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
193: --
194: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
195: x_ret_code := 'N'; -- This is optional depending on the needs
196: END validate_object;
197:
198: Procedure check_function_licensed

Line 212: x_return_status:=fnd_api.g_ret_sts_success;

208: Begin
209: pa_debug.Init_err_stack ( 'Check function Licensed');
210: x_msg_count :=0;
211: x_msg_data:= null;
212: x_return_status:=fnd_api.g_ret_sts_success;
213: x_ret_code:= 'N' ;
214:
215: /** Validate the parameter **/
216: validate_object(

Line 224: if(x_return_status <> FND_API.G_RET_STS_ERROR) then

220: x_return_status => x_return_status,
221: x_msg_count => x_msg_count,
222: x_msg_data => x_msg_data);
223:
224: if(x_return_status <> FND_API.G_RET_STS_ERROR) then
225: x_ret_code := check_object_licensed ( p_object_type => 'FND_FUNCTION',
226: p_object_code => p_function_name);
227: end if;
228:

Line 235: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

231: -- Set the excetption Message and the stack
232: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_PRODUCT_INSTALL_UTILS.check_function_licensed'
233: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
234: --
235: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
236: RAISE; -- This is optional depending on the needs
237: END check_function_licensed;
238:
239: /************************************************************************

Line 287: x_return_status:=fnd_api.g_ret_sts_success;

283: Begin
284: pa_debug.Init_err_stack ( 'Check Region Licensed');
285: x_msg_count :=0;
286: x_msg_data:= null;
287: x_return_status:=fnd_api.g_ret_sts_success;
288: x_ret_code:= 'N' ;
289:
290: /** Validate the parameter **/
291: validate_object(

Line 299: if(x_return_status <> FND_API.G_RET_STS_ERROR) then

295: x_return_status => x_return_status,
296: x_msg_count => x_msg_count,
297: x_msg_data => x_msg_data);
298:
299: if(x_return_status <> FND_API.G_RET_STS_ERROR) then
300: x_ret_code := check_object_licensed ( p_object_type => 'AK_REGION',
301: p_object_code => p_region_code);
302: end if;
303:

Line 310: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

306: -- Set the excetption Message and the stack
307: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_PRODUCT_INSTALL_UTILS.check_region_licensed'
308: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
309: --
310: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
311: x_ret_code:= 'N' ;
312: RAISE; -- This is optional depending on the needs
313: END check_region_licensed;
314: