DBA Data[Home] [Help]

APPS.ARP_ETAX_AUTOINV_UTIL dependencies on ARP_ETAX_UTIL

Line 378: TL.extended_amount * arp_etax_util.get_discount_rate(T.customer_trx_id),

374: ZTH.internal_organization_id, -- poa_party_id
375: ZTH.internal_org_location_id, -- poa_location_id
376: ZTH.internal_organization_id, -- poo_party_id (default value)
377: ZTH.internal_org_location_id, -- poo_location_id (default value)
378: TL.extended_amount * arp_etax_util.get_discount_rate(T.customer_trx_id),
379: ZTH.internal_org_location_id, -- bill_from_location_id
380: RIL.trx_business_category, -- 6033706
381: RIL.product_fisc_classification, -- 6033706
382: NVL(RIL.product_category,ML.tax_product_category),

Line 752: debug('arp_etax_util.populate_ebt_gt()+');

748:
749: BEGIN
750:
751: IF PG_DEBUG in ('Y', 'C') THEN
752: debug('arp_etax_util.populate_ebt_gt()+');
753: debug(' p_request_id :' || p_request_id);
754: debug(' p_phase :' || p_phase);
755: END IF;
756:

Line 761: arp_etax_util.clear_ebt_gt;

757: /* 7329586 - clear ebt_gt tables if this is second
758: or subsequent call within this session */
759: IF g_ebt_gt_populated
760: THEN
761: arp_etax_util.clear_ebt_gt;
762: g_ebt_gt_populated := FALSE;
763: g_tax_detected := FALSE ; -- Bug6731444 retest for manual tax
764: END IF;
765:

Line 811: debug('arp_etax_util.populate_ebt_gt()-');

807: debug('PHASE [' || p_phase || ']');
808: debug('headers inserted : ' || g_headers_inserted);
809: debug('lines inserted : ' || g_lines_inserted);
810: debug('tax lines inserted : ' || g_tax_lines_inserted);
811: debug('arp_etax_util.populate_ebt_gt()-');
812: END IF;
813:
814: EXCEPTION
815: WHEN OTHERS THEN

Line 842: debug('arp_etax_util.build_ar_tax_lines()+');

838: l_rows NUMBER;
839:
840: BEGIN
841: IF PG_DEBUG in ('Y', 'C') THEN
842: debug('arp_etax_util.build_ar_tax_lines()+');
843: END IF;
844:
845: /* Dev Notes:
846:

Line 881: on tax lines. corrected both here and ARP_ETAX_UTIL

877: during IM conv on 25-MAY. Apparently, zx_detail_tax_lines_gt
878: is only for quotes.
879:
880: 5) Identified a loose end where we were not populating prev_cust_trx_line_id
881: on tax lines. corrected both here and ARP_ETAX_UTIL
882:
883: 6) ORA-28115 raised because we were not setting org_id
884: End Dev Notes */
885:

Line 998: arp_etax_util.set_default_tax_classification(p_request_id, p_phase);

994: IF l_rows > 0
995: THEN
996: /* Stamp transaction lines with tax_classification
997: from ZX_LINES_DET_FACTORS */
998: arp_etax_util.set_default_tax_classification(p_request_id, p_phase);
999:
1000: /* adjust for inclusive tax */
1001: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);
1002: END IF;

Line 1001: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);

997: from ZX_LINES_DET_FACTORS */
998: arp_etax_util.set_default_tax_classification(p_request_id, p_phase);
999:
1000: /* adjust for inclusive tax */
1001: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);
1002: END IF;
1003:
1004: /* Set line_recoverable and tax_recoverable here */
1005: arp_etax_util.set_recoverable(null, p_request_id, p_phase);

Line 1005: arp_etax_util.set_recoverable(null, p_request_id, p_phase);

1001: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);
1002: END IF;
1003:
1004: /* Set line_recoverable and tax_recoverable here */
1005: arp_etax_util.set_recoverable(null, p_request_id, p_phase);
1006:
1007: IF PG_DEBUG in ('Y', 'C') THEN
1008: debug(' Number of tax lines retrieved = ' || l_rows);
1009: debug('arp_etax_util.build_ar_tax_lines()-');

Line 1009: debug('arp_etax_util.build_ar_tax_lines()-');

1005: arp_etax_util.set_recoverable(null, p_request_id, p_phase);
1006:
1007: IF PG_DEBUG in ('Y', 'C') THEN
1008: debug(' Number of tax lines retrieved = ' || l_rows);
1009: debug('arp_etax_util.build_ar_tax_lines()-');
1010: END IF;
1011: END build_ar_tax_lines;
1012:
1013: /* Procedure to extract error/validation messages from ZX

Line 1024: debug('arp_etax_util.retrieve_tax_validation_errors()+');

1020:
1021: BEGIN
1022:
1023: IF PG_DEBUG in ('Y', 'C') THEN
1024: debug('arp_etax_util.retrieve_tax_validation_errors()+');
1025: END IF;
1026:
1027: /* Dev Notes:
1028:

Line 1110: debug('arp_etax_util.retrieve_tax_validation_errors()-');

1106: IF PG_DEBUG in ('Y', 'C') THEN
1107: debug('Validation errors: ' || l_trx_line_errors ||
1108: '+' || l_tax_line_errors ||
1109: '=' || p_error_count);
1110: debug('arp_etax_util.retrieve_tax_validation_errors()-');
1111: END IF;
1112:
1113: END retrieve_tax_validation_errors;
1114:

Line 1137: arp_etax_util.validate_tax_int(p_return_status => l_return_status,

1133: /* Insert data into ebt tables */
1134: populate_ebt_gt(p_request_id, p_phase);
1135:
1136: /* Call validate_and_default_tax_attr */
1137: arp_etax_util.validate_tax_int(p_return_status => l_return_status,
1138: p_called_from_AI => 'Y');
1139: p_return_status := l_return_status;
1140:
1141: /* Only call these routines if the prior call returns successful.

Line 1147: arp_etax_util.calculate_tax_int(p_return_status => l_return_status,

1143: to raaebt (or invoice API) */
1144: IF l_return_status = 0
1145: THEN
1146: /* Call import_document_with_tax */
1147: arp_etax_util.calculate_tax_int(p_return_status => l_return_status,
1148: p_called_from_AI => 'Y');
1149: p_return_status := l_return_status;
1150: END IF;
1151: