DBA Data[Home] [Help]

APPS.ZX_R11I_TAX_PARTNER_PKG dependencies on FND_API

Line 258: x_return_status := FND_API.G_RET_STS_ERROR;

254: WHERE party_id = p_org_id
255: AND Party_Type_Code = 'OU';
256: exception when others then
257: /* This error should be: not able to find PTP for the input OU */
258: x_return_status := FND_API.G_RET_STS_ERROR;
259: return;
260: end;
261:
262: if nvl(l_use_le_as_subscriber_flag,'N') = 'N' then

Line 265: x_return_status := FND_API.G_RET_STS_ERROR;

261:
262: if nvl(l_use_le_as_subscriber_flag,'N') = 'N' then
263: if l_party_tax_profile_id IS NULL THEN
264: /* This error should be: not able to find PTP for the input OU */
265: x_return_status := FND_API.G_RET_STS_ERROR;
266: return;
267: else
268: zx_security.set_security_context(p_first_party_org_id => l_party_tax_profile_id,
269: p_effective_date => SYSDATE,

Line 275: x_return_status := FND_API.G_RET_STS_SUCCESS;

271: end if;
272: else
273: /* We will return null x_provider_id if product does not pass LE
274: but use_le_as_subscriber_flag is checked 'Y' at PTP */
275: x_return_status := FND_API.G_RET_STS_SUCCESS;
276: return;
277: end if;
278: else
279: -- if p_org_id is NOT NULL and p_le_id is NOT NULL then

Line 299: If(l_return_status=FND_API.G_RET_STS_SUCCESS) then

295: end if;
296:
297: /* As per bug 3985196, the regime codes have been hard coded */
298:
299: If(l_return_status=FND_API.G_RET_STS_SUCCESS) then
300:
301: ZX_TPI_SERVICES_PKG.get_service_provider (p_application_id => 222,
302: p_entity_code => 'TRANSACTIONS',
303: p_event_class_code => 'INVOICE',

Line 1277: x_return_status := FND_API.G_RET_STS_SUCCESS;

1273: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
1274: END IF;
1275:
1276: /*Set the return status to Success */
1277: x_return_status := FND_API.G_RET_STS_SUCCESS;
1278:
1279: /* We should not call this API for products other than AR. */
1280:
1281: BEGIN

Line 1476: x_return_status := FND_API.G_RET_STS_SUCCESS;

1472: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
1473: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
1474: END IF;
1475: /*Set the return status to Success */
1476: x_return_status := FND_API.G_RET_STS_SUCCESS;
1477:
1478: /* TSRM calls the ZX_SRVC_TYP_PKG.db_update_line_det_factors after the tax calculation
1479: is successfully completed to update some flags on ZX_LINE_DET_FACTORS. In this scenario,
1480: we need not take the snapshot of the ZX_LINE_DET_FACTORS as these updates may not be

Line 2270: x_return_status := FND_API.G_RET_STS_SUCCESS;

2266: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2267: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2268: END IF;
2269: /*Set the return status to Success */
2270: x_return_status := FND_API.G_RET_STS_SUCCESS;
2271: l_error_counter := 1;
2272:
2273: /*Fetch the parnter name*/
2274:

Line 2298: x_return_status := FND_API.G_RET_STS_ERROR;

2294: Exception
2295: When others then
2296: fnd_message.set_name('ZX', 'ZX_TAX_PARTNER_NOTFOUND');
2297: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2298: x_return_status := FND_API.G_RET_STS_ERROR;
2299: l_error_counter := l_error_counter+1;
2300: return;
2301: End;
2302:

Line 2380: x_return_status := FND_API.G_RET_STS_ERROR;

2376: 'GLOBAL_DOCUMENT_UPDATE');
2377: else
2378: fnd_message.set_name('ZX', 'ZX_TAX_PARTNER_NOTFOUND');
2379: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2380: x_return_status := FND_API.G_RET_STS_ERROR;
2381: l_error_counter := l_error_counter+1;
2382: return;
2383:
2384: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN

Line 2419: x_return_status := FND_API.G_RET_STS_SUCCESS;

2415: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2416: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2417: END IF;
2418: /*Set the return status to Success */
2419: x_return_status := FND_API.G_RET_STS_SUCCESS;
2420: l_error_counter := 1;
2421:
2422: Begin
2423: SELECT context_flex_structure_id

Line 2430: x_return_status := FND_API.G_RET_STS_ERROR;

2426: WHERE service_category_code = 'USER_EXT'
2427: AND rownum=1;
2428: Exception when others then
2429: x_error_msg_tbl(l_error_counter) := 'No service type defined for user extension';
2430: x_return_status := FND_API.G_RET_STS_ERROR;
2431: l_error_counter := l_error_counter+1;
2432: return;
2433: END;
2434:

Line 2583: x_return_status := FND_API.G_RET_STS_ERROR;

2579: P_API_OWNER_ID => l_api_owner_id ,
2580: P_CONTEXT_CC_ID => l_context_cc_id );
2581: Exception When Others then
2582: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2583: x_return_status := FND_API.G_RET_STS_ERROR;
2584: l_error_counter := l_error_counter+1;
2585: return;
2586: End;
2587:

Line 2615: x_return_status := FND_API.G_RET_STS_SUCCESS;

2611: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2612: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2613: END IF;
2614: /*Set the return status to Success */
2615: x_return_status := FND_API.G_RET_STS_SUCCESS;
2616: l_error_counter := 1;
2617:
2618: /*Fetch the parnter name*/
2619:

Line 2632: x_return_status := FND_API.G_RET_STS_ERROR;

2628: Exception
2629: When others then
2630: fnd_message.set_name('ZX', 'ZX_TAX_PARTNER_NOTFOUND');
2631: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2632: x_return_status := FND_API.G_RET_STS_ERROR;
2633: l_error_counter := l_error_counter+1;
2634: return;
2635: End;
2636:

Line 2642: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

2638: x_error_msg_tbl,
2639: x_return_status,
2640: l_srvc_prvdr_name);
2641:
2642: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2643: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2644: x_return_status := FND_API.G_RET_STS_ERROR;
2645: l_error_counter := l_error_counter+1;
2646: return;

Line 2644: x_return_status := FND_API.G_RET_STS_ERROR;

2640: l_srvc_prvdr_name);
2641:
2642: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2643: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2644: x_return_status := FND_API.G_RET_STS_ERROR;
2645: l_error_counter := l_error_counter+1;
2646: return;
2647: End if;
2648:

Line 2673: x_return_status := FND_API.G_RET_STS_SUCCESS;

2669: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2670: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2671: END IF;
2672: /*Set the return status to Success */
2673: x_return_status := FND_API.G_RET_STS_SUCCESS;
2674: l_error_counter := 1;
2675:
2676: Begin
2677: Select

Line 2719: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

2715:
2716: EXCEPTION
2717: WHEN OTHERS THEN
2718: ROLLBACK TO execute_srvc_plugin_pvt;
2719: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2720: fnd_message.set_name('ZX', 'ZX_UNEXPECTED_ERROR');
2721: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2722: l_error_counter := l_error_counter+1;
2723: IF ( G_LEVEL_UNEXPECTED >= G_CURRENT_RUNTIME_LEVEL) THEN