DBA Data[Home] [Help]

APPS.PA_PRODUCT_INSTALL_UTILS dependencies on FND_API

Line 101: x_return_status:=fnd_api.g_ret_sts_success;

97: Begin
98: pa_debug.Init_err_stack ( 'Validate Object');
99: x_msg_count :=0;
100: x_msg_data:= null;
101: x_return_status:=fnd_api.g_ret_sts_success;
102: x_ret_code:= 'Y' ;
103:
104: /** Validate the IN parameter **/
105: if (p_object_type = 'FND_FUNCTION') then

Line 112: x_return_status := FND_API.G_RET_STS_ERROR;

108: if (valid_function%NOTFOUND) then
109: PA_UTILS.Add_Message( p_app_short_name => 'PA'
110: ,p_msg_name => 'PA_INV_FUNCTION');
111: x_msg_count := x_msg_count + 1;
112: x_return_status := FND_API.G_RET_STS_ERROR;
113: --PA_DEBUG.Reset_Err_Stack;
114: --close valid_function;
115: --RETURN;
116: end if;

Line 124: x_return_status := FND_API.G_RET_STS_ERROR;

120: if (valid_project_function%NOTFOUND) then
121: PA_UTILS.Add_Message( p_app_short_name => 'PA'
122: ,p_msg_name => 'PA_INV_PROJECT_FUNCTION');
123: x_msg_count := x_msg_count + 1;
124: x_return_status := FND_API.G_RET_STS_ERROR;
125: --PA_DEBUG.Reset_Err_Stack;
126: --close valid_project_function;
127: --RETURN;
128: end if;

Line 137: x_return_status := FND_API.G_RET_STS_ERROR;

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

Line 150: x_return_status := FND_API.G_RET_STS_ERROR;

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

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

153: --RETURN;*/
154: end if;
155: close valid_product_region;
156: end if;
157: if(x_return_status = FND_API.G_RET_STS_ERROR) then
158: x_ret_code := 'N';
159: end if;
160: PA_DEBUG.Reset_Err_Stack;
161: EXCEPTION

Line 167: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

163: -- Set the excetption Message and the stack
164: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_PRODUCT_INSTALL_UTILS.validate_object'
165: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
166: --
167: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
168: x_ret_code := 'N'; -- This is optional depending on the needs
169: END validate_object;
170:
171: Procedure check_function_licensed

Line 185: x_return_status:=fnd_api.g_ret_sts_success;

181: Begin
182: pa_debug.Init_err_stack ( 'Check function Licensed');
183: x_msg_count :=0;
184: x_msg_data:= null;
185: x_return_status:=fnd_api.g_ret_sts_success;
186: x_ret_code:= 'N' ;
187:
188: /** Validate the parameter **/
189: validate_object(

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

193: x_return_status => x_return_status,
194: x_msg_count => x_msg_count,
195: x_msg_data => x_msg_data);
196:
197: if(x_return_status <> FND_API.G_RET_STS_ERROR) then
198: x_ret_code := check_object_licensed ( p_object_type => 'FND_FUNCTION',
199: p_object_code => p_function_name);
200: end if;
201:

Line 208: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

204: -- Set the excetption Message and the stack
205: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_PRODUCT_INSTALL_UTILS.check_function_licensed'
206: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
207: --
208: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
209: RAISE; -- This is optional depending on the needs
210: END check_function_licensed;
211:
212: /************************************************************************

Line 260: x_return_status:=fnd_api.g_ret_sts_success;

256: Begin
257: pa_debug.Init_err_stack ( 'Check Region Licensed');
258: x_msg_count :=0;
259: x_msg_data:= null;
260: x_return_status:=fnd_api.g_ret_sts_success;
261: x_ret_code:= 'N' ;
262:
263: /** Validate the parameter **/
264: validate_object(

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

268: x_return_status => x_return_status,
269: x_msg_count => x_msg_count,
270: x_msg_data => x_msg_data);
271:
272: if(x_return_status <> FND_API.G_RET_STS_ERROR) then
273: x_ret_code := check_object_licensed ( p_object_type => 'AK_REGION',
274: p_object_code => p_region_code);
275: end if;
276:

Line 283: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

279: -- Set the excetption Message and the stack
280: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_PRODUCT_INSTALL_UTILS.check_region_licensed'
281: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
282: --
283: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
284: x_ret_code:= 'N' ;
285: RAISE; -- This is optional depending on the needs
286: END check_region_licensed;
287: