DBA Data[Home] [Help]

APPS.ZX_R11I_TAX_PARTNER_PKG dependencies on FND_API

Line 277: x_return_status := FND_API.G_RET_STS_ERROR;

273: END;
274:
275: FND_MESSAGE.SET_TOKEN('PARTY_TYPE','OU');
276: FND_MESSAGE.SET_TOKEN('PARTY_NAME',l_ou_name);
277: x_return_status := FND_API.G_RET_STS_ERROR;
278: return;
279: end;
280:
281: if nvl(l_use_le_as_subscriber_flag,'N') = 'N' then

Line 284: x_return_status := FND_API.G_RET_STS_ERROR;

280:
281: if nvl(l_use_le_as_subscriber_flag,'N') = 'N' then
282: if l_party_tax_profile_id IS NULL THEN
283: /* This error should be: not able to find PTP for the input OU */
284: x_return_status := FND_API.G_RET_STS_ERROR;
285: FND_MESSAGE.SET_NAME('ZX', 'ZX_PARTY_NOT_EXISTS');
286:
287: BEGIN
288: OPEN get_ou_name_csr(p_org_id);

Line 306: x_return_status := FND_API.G_RET_STS_SUCCESS;

302: end if;
303: else
304: /* We will return null x_provider_id if product does not pass LE
305: but use_le_as_subscriber_flag is checked 'Y' at PTP */
306: x_return_status := FND_API.G_RET_STS_SUCCESS;
307: return;
308: end if;
309: else
310: -- if p_org_id is NOT NULL and p_le_id is NOT NULL then

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

326: end if;
327:
328: /* As per bug 3985196, the regime codes have been hard coded */
329:
330: If(l_return_status=FND_API.G_RET_STS_SUCCESS) then
331:
332: ZX_TPI_SERVICES_PKG.get_service_provider (p_application_id => 222,
333: p_entity_code => 'TRANSACTIONS',
334: p_event_class_code => 'INVOICE',

Line 1309: x_return_status := FND_API.G_RET_STS_SUCCESS;

1305: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
1306: END IF;
1307:
1308: /*Set the return status to Success */
1309: x_return_status := FND_API.G_RET_STS_SUCCESS;
1310:
1311: /* We should not call this API for products other than AR. */
1312:
1313: BEGIN

Line 1509: x_return_status := FND_API.G_RET_STS_SUCCESS;

1505: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
1506: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
1507: END IF;
1508: /*Set the return status to Success */
1509: x_return_status := FND_API.G_RET_STS_SUCCESS;
1510:
1511: /* TSRM calls the ZX_SRVC_TYP_PKG.db_update_line_det_factors after the tax calculation
1512: is successfully completed to update some flags on ZX_LINE_DET_FACTORS. In this scenario,
1513: we need not take the snapshot of the ZX_LINE_DET_FACTORS as these updates may not be

Line 2315: x_return_status := FND_API.G_RET_STS_SUCCESS;

2311: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2312: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2313: END IF;
2314: /*Set the return status to Success */
2315: x_return_status := FND_API.G_RET_STS_SUCCESS;
2316: l_error_counter := 1;
2317:
2318: /*Fetch the parnter name*/
2319:

Line 2343: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2339: Exception
2340: When others then
2341: -- fnd_message.set_name('ZX', 'ZX_TAX_PARTNER_NOTFOUND');
2342: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2343: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2344: l_error_counter := l_error_counter+1;
2345: return;
2346: End;
2347:

Line 2425: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2421: 'GLOBAL_DOCUMENT_UPDATE');
2422: else
2423: --fnd_message.set_name('ZX', 'ZX_TAX_PARTNER_NOTFOUND');
2424: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2425: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2426: l_error_counter := l_error_counter+1;
2427: return;
2428:
2429: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN

Line 2464: x_return_status := FND_API.G_RET_STS_SUCCESS;

2460: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2461: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2462: END IF;
2463: /*Set the return status to Success */
2464: x_return_status := FND_API.G_RET_STS_SUCCESS;
2465: l_error_counter := 1;
2466:
2467: Begin
2468: SELECT context_flex_structure_id

Line 2475: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2471: WHERE service_category_code = 'USER_EXT'
2472: AND rownum=1;
2473: Exception when others then
2474: x_error_msg_tbl(l_error_counter) := 'No service type defined for user extension';
2475: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2476: l_error_counter := l_error_counter+1;
2477: return;
2478: END;
2479:

Line 2629: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2625: P_API_OWNER_ID => l_api_owner_id ,
2626: P_CONTEXT_CC_ID => l_context_cc_id );
2627: Exception When Others then
2628: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2629: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2630: l_error_counter := l_error_counter+1;
2631: return;
2632: End;
2633:

Line 2662: x_return_status := FND_API.G_RET_STS_SUCCESS;

2658: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2659: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2660: END IF;
2661: /*Set the return status to Success */
2662: x_return_status := FND_API.G_RET_STS_SUCCESS;
2663: l_error_counter := 1;
2664:
2665: /*Fetch the parnter name*/
2666:

Line 2679: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2675: Exception
2676: When others then
2677: --fnd_message.set_name('ZX', 'ZX_TAX_PARTNER_NOTFOUND');
2678: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2679: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2680: l_error_counter := l_error_counter+1;
2681: return;
2682: End;
2683:

Line 2689: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

2685: x_error_msg_tbl,
2686: x_return_status,
2687: l_srvc_prvdr_name);
2688:
2689: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2690: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2691: -- x_return_status := FND_API.G_RET_STS_ERROR;
2692: l_error_counter := l_error_counter+1;
2693: return;

Line 2691: -- x_return_status := FND_API.G_RET_STS_ERROR;

2687: l_srvc_prvdr_name);
2688:
2689: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2690: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2691: -- x_return_status := FND_API.G_RET_STS_ERROR;
2692: l_error_counter := l_error_counter+1;
2693: return;
2694: End if;
2695:

Line 2720: x_return_status := FND_API.G_RET_STS_SUCCESS;

2716: IF ( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL) THEN
2717: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'(+)');
2718: END IF;
2719: /*Set the return status to Success */
2720: x_return_status := FND_API.G_RET_STS_SUCCESS;
2721: l_error_counter := 1;
2722:
2723: Begin
2724: Select

Line 2766: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

2762:
2763: EXCEPTION
2764: WHEN OTHERS THEN
2765: ROLLBACK TO execute_srvc_plugin_pvt;
2766: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2767: fnd_message.set_name('ZX', 'ZX_UNEXPECTED_ERROR');
2768: x_error_msg_tbl(l_error_counter) := fnd_message.get;
2769: l_error_counter := l_error_counter+1;
2770: IF ( G_LEVEL_UNEXPECTED >= G_CURRENT_RUNTIME_LEVEL) THEN