DBA Data[Home] [Help]

APPS.ARP_ETAX_AUTOINV_UTIL dependencies on ARP_ETAX_UTIL

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

389: ZTH.internal_organization_id, -- poa_party_id
390: ZTH.internal_org_location_id, -- poa_location_id
391: ZTH.internal_organization_id, -- poo_party_id (default value)
392: ZTH.internal_org_location_id, -- poo_location_id (default value)
393: TL.extended_amount * arp_etax_util.get_discount_rate(T.customer_trx_id),
394: ZTH.internal_org_location_id, -- bill_from_location_id
395: RIL.trx_business_category, -- 6033706
396: RIL.product_fisc_classification, -- 6033706
397: NVL(RIL.product_category,ML.tax_product_category),

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

763:
764: BEGIN
765:
766: IF PG_DEBUG in ('Y', 'C') THEN
767: debug('arp_etax_util.populate_ebt_gt()+');
768: debug(' p_request_id :' || p_request_id);
769: debug(' p_phase :' || p_phase);
770: END IF;
771:

Line 776: arp_etax_util.clear_ebt_gt;

772: /* 7329586 - clear ebt_gt tables if this is second
773: or subsequent call within this session */
774: IF g_ebt_gt_populated
775: THEN
776: arp_etax_util.clear_ebt_gt;
777: g_ebt_gt_populated := FALSE;
778: g_tax_detected := FALSE ; -- Bug6731444 retest for manual tax
779: END IF;
780:

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

822: debug('PHASE [' || p_phase || ']');
823: debug('headers inserted : ' || g_headers_inserted);
824: debug('lines inserted : ' || g_lines_inserted);
825: debug('tax lines inserted : ' || g_tax_lines_inserted);
826: debug('arp_etax_util.populate_ebt_gt()-');
827: END IF;
828:
829: EXCEPTION
830: WHEN OTHERS THEN

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

853: l_rows NUMBER;
854:
855: BEGIN
856: IF PG_DEBUG in ('Y', 'C') THEN
857: debug('arp_etax_util.build_ar_tax_lines()+');
858: END IF;
859:
860: /* Dev Notes:
861:

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

892: during IM conv on 25-MAY. Apparently, zx_detail_tax_lines_gt
893: is only for quotes.
894:
895: 5) Identified a loose end where we were not populating prev_cust_trx_line_id
896: on tax lines. corrected both here and ARP_ETAX_UTIL
897:
898: 6) ORA-28115 raised because we were not setting org_id
899: End Dev Notes */
900:

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

1013: IF l_rows > 0
1014: THEN
1015: /* Stamp transaction lines with tax_classification
1016: from ZX_LINES_DET_FACTORS */
1017: arp_etax_util.set_default_tax_classification(p_request_id, p_phase);
1018:
1019: /* adjust for inclusive tax */
1020: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);
1021: END IF;

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

1016: from ZX_LINES_DET_FACTORS */
1017: arp_etax_util.set_default_tax_classification(p_request_id, p_phase);
1018:
1019: /* adjust for inclusive tax */
1020: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);
1021: END IF;
1022:
1023: /* Set line_recoverable and tax_recoverable here */
1024: arp_etax_util.set_recoverable(null, p_request_id, p_phase);

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

1020: arp_etax_util.adjust_for_inclusive_tax(null, p_request_id, p_phase);
1021: END IF;
1022:
1023: /* Set line_recoverable and tax_recoverable here */
1024: arp_etax_util.set_recoverable(null, p_request_id, p_phase);
1025:
1026: IF PG_DEBUG in ('Y', 'C') THEN
1027: debug(' Number of tax lines retrieved = ' || l_rows);
1028: debug('arp_etax_util.build_ar_tax_lines()-');

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

1024: arp_etax_util.set_recoverable(null, p_request_id, p_phase);
1025:
1026: IF PG_DEBUG in ('Y', 'C') THEN
1027: debug(' Number of tax lines retrieved = ' || l_rows);
1028: debug('arp_etax_util.build_ar_tax_lines()-');
1029: END IF;
1030: END build_ar_tax_lines;
1031:
1032: /* Procedure to extract error/validation messages from ZX

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

1039:
1040: BEGIN
1041:
1042: IF PG_DEBUG in ('Y', 'C') THEN
1043: debug('arp_etax_util.retrieve_tax_validation_errors()+');
1044: END IF;
1045:
1046: /* Dev Notes:
1047:

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

1128: IF PG_DEBUG in ('Y', 'C') THEN
1129: debug('Validation errors: ' || l_trx_line_errors ||
1130: '+' || l_tax_line_errors ||
1131: '=' || p_error_count);
1132: debug('arp_etax_util.retrieve_tax_validation_errors()-');
1133: END IF;
1134:
1135: END retrieve_tax_validation_errors;
1136:

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

1155: /* Insert data into ebt tables */
1156: populate_ebt_gt(p_request_id, p_phase);
1157:
1158: /* Call validate_and_default_tax_attr */
1159: arp_etax_util.validate_tax_int(p_return_status => l_return_status,
1160: p_called_from_AI => 'Y');
1161: p_return_status := l_return_status;
1162:
1163: /* Only call these routines if the prior call returns successful.

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

1165: to raaebt (or invoice API) */
1166: IF l_return_status = 0 OR l_return_status = 1
1167: THEN
1168: /* Call import_document_with_tax */
1169: arp_etax_util.calculate_tax_int(p_return_status => l_return_status,
1170: p_called_from_AI => 'Y');
1171: p_return_status := l_return_status;
1172: END IF;
1173: