DBA Data[Home] [Help]

APPS.AR_INVOICE_VALIDATE_FLEX dependencies on FND_API

Line 939: p_return_status := FND_API.G_RET_STS_SUCCESS;

935: BEGIN
936: IF PG_DEBUG = 'Y' THEN
937: ar_invoice_utils.debug('' || 'AR_INVOICE_UTILS.Validate_LINE_Int_Flex ()+');
938: END IF;
939: p_return_status := FND_API.G_RET_STS_SUCCESS;
940:
941: OPEN desc_flex_exists;
942: FETCH desc_flex_exists INTO l_flex_exists;
943: IF desc_flex_exists%NOTFOUND THEN

Line 945: p_return_status := FND_API.G_RET_STS_ERROR;

941: OPEN desc_flex_exists;
942: FETCH desc_flex_exists INTO l_flex_exists;
943: IF desc_flex_exists%NOTFOUND THEN
944: CLOSE desc_flex_exists;
945: p_return_status := FND_API.G_RET_STS_ERROR;
946: return;
947: END IF;
948: CLOSE desc_flex_exists;
949:

Line 988: p_return_status := FND_API.G_RET_STS_ERROR;

984:
985:
986: IF ( NOT fnd_flex_descval.validate_desccols('AR',p_desc_flex_name,'I') )
987: THEN
988: p_return_status := FND_API.G_RET_STS_ERROR;
989: END IF;
990:
991: l_count := fnd_flex_descval.segment_count;
992:

Line 1060: p_return_status := FND_API.G_RET_STS_SUCCESS;

1056: BEGIN
1057: IF PG_DEBUG = 'Y' THEN
1058: ar_invoice_utils.debug('' || 'AR_INVOICE_UTILS.Validate_Int_Desc_Flex ()+');
1059: END IF;
1060: p_return_status := FND_API.G_RET_STS_SUCCESS;
1061:
1062: OPEN desc_flex_exists;
1063: FETCH desc_flex_exists INTO l_flex_exists;
1064: IF desc_flex_exists%NOTFOUND THEN

Line 1066: p_return_status := FND_API.G_RET_STS_ERROR;

1062: OPEN desc_flex_exists;
1063: FETCH desc_flex_exists INTO l_flex_exists;
1064: IF desc_flex_exists%NOTFOUND THEN
1065: CLOSE desc_flex_exists;
1066: p_return_status := FND_API.G_RET_STS_ERROR;
1067: return;
1068: END IF;
1069: CLOSE desc_flex_exists;
1070:

Line 1109: p_return_status := FND_API.G_RET_STS_ERROR;

1105:
1106:
1107: IF ( NOT fnd_flex_descval.validate_desccols('AR',p_desc_flex_name,'I') )
1108: THEN
1109: p_return_status := FND_API.G_RET_STS_ERROR;
1110: END IF;
1111:
1112: l_count := fnd_flex_descval.segment_count;
1113:

Line 1353: x_return_status := FND_API.G_RET_STS_SUCCESS;

1349: IF pg_debug = 'Y'
1350: THEN
1351: ar_invoice_utils.debug ('AR_INVOICE_UTILS.validate_hd_desc_flex (+)' );
1352: END IF;
1353: x_return_status := FND_API.G_RET_STS_SUCCESS;
1354:
1355: -- call flex validation rtn for all header
1356: IF p_validation_type = 'HEADER'
1357: THEN

Line 1382: IF x_return_status <> FND_API.G_RET_STS_SUCCESS

1378: p_desc_flex_rec => p_trx_attr_rec,
1379: p_desc_flex_name => 'RA_CUSTOMER_TRX',
1380: p_return_status => x_return_status );
1381:
1382: IF x_return_status <> FND_API.G_RET_STS_SUCCESS
1383: THEN
1384: INSERT INTO ar_trx_errors_gt
1385: ( trx_header_id,
1386: error_message,

Line 1417: IF x_return_status <> FND_API.G_RET_STS_SUCCESS

1413: Validate_int_Desc_Flex(
1414: p_desc_flex_rec => p_trx_hdr_int_attr_rec,
1415: p_desc_flex_name => 'RA_INTERFACE_HEADER',
1416: p_return_status => x_return_status );
1417: IF x_return_status <> FND_API.G_RET_STS_SUCCESS
1418: THEN
1419: INSERT INTO ar_trx_errors_gt
1420: ( trx_header_id,
1421: error_message,

Line 1454: IF x_return_status <> FND_API.G_RET_STS_SUCCESS

1450: p_desc_flex_rec => p_trx_attr_rec,
1451: p_desc_flex_name => 'RA_CUSTOMER_TRX_LINES',
1452: p_return_status => x_return_status );
1453:
1454: IF x_return_status <> FND_API.G_RET_STS_SUCCESS
1455: THEN
1456: INSERT INTO ar_trx_errors_gt
1457: ( trx_header_id,
1458: trx_line_id,

Line 1509: IF x_return_status <> FND_API.G_RET_STS_SUCCESS

1505: Validate_Line_Int_Flex(
1506: p_desc_flex_rec => p_trx_line_int_attr_rec,
1507: p_desc_flex_name => 'RA_INTERFACE_LINES',
1508: p_return_status => x_return_status );
1509: IF x_return_status <> FND_API.G_RET_STS_SUCCESS
1510: THEN
1511: INSERT INTO ar_trx_errors_gt
1512: ( trx_header_id,
1513: trx_line_id,

Line 1548: IF x_return_status <> FND_API.G_RET_STS_SUCCESS

1544: p_desc_flex_rec => p_trx_attr_rec,
1545: p_desc_flex_name => 'RA_CUST_TRX_LINE_GL_DIST',
1546: p_return_status => x_return_status );
1547:
1548: IF x_return_status <> FND_API.G_RET_STS_SUCCESS
1549: THEN
1550: INSERT INTO ar_trx_errors_gt
1551: ( trx_header_id,
1552: trx_line_id,

Line 1589: IF x_return_status <> FND_API.G_RET_STS_SUCCESS

1585: p_desc_flex_rec => p_trx_attr_rec,
1586: p_desc_flex_name => 'RA_CUST_TRX_LINE_SALESREPS',
1587: p_return_status => x_return_status );
1588:
1589: IF x_return_status <> FND_API.G_RET_STS_SUCCESS
1590: THEN
1591: INSERT INTO ar_trx_errors_gt
1592: ( trx_header_id,
1593: trx_line_id,

Line 1607: x_return_status := FND_API.G_RET_STS_SUCCESS;

1603: END LOOP;
1604: END IF; -- end of validation_level
1605: -- assign the status to success agin so that next validation
1606: -- can continue.
1607: x_return_status := FND_API.G_RET_STS_SUCCESS;
1608: END validate_desc_flex;
1609:
1610:
1611: END AR_INVOICE_VALIDATE_FLEX;