DBA Data[Home] [Help]

APPS.JAI_AP_TDS_GENERATION_PKG dependencies on STANDARD

Line 156: the standard invoice. This is due to the parameter

152: 21. 13-Jan-2006 Bug 4943949 Added by Lakshmi Gopalsami 120.13
153: Issue:
154: ------
155: Wrong number of arguments while trying to validate
156: the standard invoice. This is due to the parameter
157: P_FUNDS_RETURN_CODE added by base in ap_approval_pkg.
158:
159: Fix:
160: ----

Line 1424: /* Standard invoice to TDS authority, Credit memo to supplier */

1420:
1421: /* Invoice Numbers, type for the invoice pair that is being created */
1422: if ( (pv_tds_event = 'INVOICE VALIDATE') or (pv_tds_event like 'THRESHOLD TRANSITION%') ) then
1423:
1424: /* Standard invoice to TDS authority, Credit memo to supplier */
1425:
1426: lv_invoice_to_tds_type := 'STANDARD';
1427: lv_invoice_to_vendor_type := 'CREDIT';
1428:

Line 1426: lv_invoice_to_tds_type := 'STANDARD';

1422: if ( (pv_tds_event = 'INVOICE VALIDATE') or (pv_tds_event like 'THRESHOLD TRANSITION%') ) then
1423:
1424: /* Standard invoice to TDS authority, Credit memo to supplier */
1425:
1426: lv_invoice_to_tds_type := 'STANDARD';
1427: lv_invoice_to_vendor_type := 'CREDIT';
1428:
1429: lv_invoice_to_tds_num := lv_invoice_num ||'-TDS-SI-'||lv_ja_in_ap_inv_id;
1430: lv_invoice_to_vendor_num := lv_invoice_num ||'-TDS-CM-'||lv_ja_in_ap_inv_id;

Line 1437: /* Credit memo to TDS authority, Standard invoice to supplier */

1433: ln_invoice_to_vendor_amount := (-1) * ln_tax_amount;
1434:
1435: elsif pv_tds_event = 'PREPAYMENT APPLICATION' OR pv_tds_event like 'THRESHOLD ROLLBACK%' then --Added by Sanjikum for Bug#5131075(4718907)
1436:
1437: /* Credit memo to TDS authority, Standard invoice to supplier */
1438: if pv_invoice_num_prepay_apply is not null then
1439: lv_invoice_num := substr(pv_invoice_num_prepay_apply, 1, 30);
1440: end if;
1441:

Line 1443: lv_invoice_to_vendor_type := 'STANDARD';

1439: lv_invoice_num := substr(pv_invoice_num_prepay_apply, 1, 30);
1440: end if;
1441:
1442: lv_invoice_to_tds_type := 'CREDIT';
1443: lv_invoice_to_vendor_type := 'STANDARD';
1444:
1445: lv_invoice_to_tds_num := lv_invoice_num ||'-RTN-TDS-CM-'||lv_ja_in_ap_inv_id;
1446: lv_invoice_to_vendor_num := lv_invoice_num ||'-RTN-TDS-SI-'||lv_ja_in_ap_inv_id;
1447:

Line 1453: /* Standard invoice to TDS authority, Credit memo to supplier */

1449: ln_invoice_to_vendor_amount := ln_tax_amount;
1450:
1451: elsif pv_tds_event = 'PREPAYMENT UNAPPLICATION' then
1452:
1453: /* Standard invoice to TDS authority, Credit memo to supplier */
1454: lv_invoice_to_tds_type := 'STANDARD';
1455: lv_invoice_to_vendor_type := 'CREDIT';
1456:
1457: if pv_invoice_num_to_tds_apply is not null then

Line 1454: lv_invoice_to_tds_type := 'STANDARD';

1450:
1451: elsif pv_tds_event = 'PREPAYMENT UNAPPLICATION' then
1452:
1453: /* Standard invoice to TDS authority, Credit memo to supplier */
1454: lv_invoice_to_tds_type := 'STANDARD';
1455: lv_invoice_to_vendor_type := 'CREDIT';
1456:
1457: if pv_invoice_num_to_tds_apply is not null then
1458: lv_invoice_to_tds_num := 'CAN/' || substr(pv_invoice_num_to_tds_apply, 1, 45);

Line 1474: /* No invoice to TDS authority, Standard invoice to supplier */

1470: ln_invoice_to_vendor_amount := (-1) * ln_tax_amount;
1471:
1472: elsif pv_tds_event = 'INVOICE CANCEL' then
1473:
1474: /* No invoice to TDS authority, Standard invoice to supplier */
1475:
1476: lv_invoice_to_tds_num := null;
1477:
1478: if pv_invoice_num_to_vendor_can is not null then

Line 1485: lv_invoice_to_vendor_type := 'STANDARD';

1481: lv_invoice_to_vendor_num := lv_invoice_num||'-CAN-TDS-SI-'||lv_ja_in_ap_inv_id;
1482: end if;
1483:
1484: lv_invoice_to_tds_type := null;
1485: lv_invoice_to_vendor_type := 'STANDARD';
1486:
1487: ln_invoice_to_tds_amount := null;
1488: ln_invoice_to_vendor_amount := ln_tax_amount;
1489: