Search Results validate_line_type
Overview
The APPS.JL_ZZ_AP_AWT_DEFAULT_PKG package body is a Latin American localization (JL) component that implements withholding tax (AWT) defaulting logic for Oracle Payables. It belongs to the Oracle E-Business Suite country-specific extensions that support statutory withholding taxation in Latin American jurisdictions. The package carries a VALID status in the APPS schema and is classified as an OTHER API type.
The package maps an "AWT" reference — withheld amounts calculated on supplier invoices and invoice distributions — to specific withholding types, codes, and territories. It resolves supplier withholding types, comparative withholding types, external withholding utilities, and the province/zone/city attributes that drive territorial withholding determinations. The package therefore performs the calculation rules that decide which withholding applies to a supplier invoice, based on vendor attributes, geography, and invoice line characteristics. The user query "jl_zz_ap_inv_dis_wh_s" corresponds to the view/file JL_ZZ_AP_INV_DIS_WH_S, which this package references as a dependency, confirming the package's role in invoice distribution withholding defaulting logic.
Key Procedures and Functions
The package exposes twelve documented procedures and functions:
- INSERT_AWT_DEFAULT — inserts the computed withholding default records derived from invoice and supplier information.
- VER_TERRITORIAL_FLAG — verifies the territorial flag that governs whether territorial withholding rules apply.
- GET_VENDOR_ID — retrieves the vendor identifier from the invoice header for withholding lookups.
- COMPANY_AGENT — resolves the company agent information used in withholding determinations.
- VALIDATE_LINE_TYPE — validates the invoice line type prior to defaulting withholding values.
- PROVINCE_ZONE_CITY — derives province, zone, and city attributes (via JL_AR_AP_PROVINCES and HZ_GEOGRAPHIES) that drive territorial withholding.
- DEL_WH_DEF — deletes existing withholding default records, typically before re-derivation.
- SUPP_WH_DEF_LINE — defaults supplier withholding definitions at the invoice line level.
- SUPP_WH_DEF — defaults supplier withholding definitions at the invoice level.
- CARRY_WITHHOLDINGS_PREPAY — carries withholding amounts into prepayment processing.
- SUPP_WH_REDEFAULT — re-applies defaulted withholding, used when invoice or supplier data changes.
- UPD_DIST_GDF — updates descriptive flexfield attributes on invoice distributions related to withholding.
Tables Accessed
The package reads and writes against the following documented tables via APPS synonyms:
- AP_INVOICES / AP_INVOICES_ALL — invoice headers supplying vendor, tax, and status context.
- AP_INVOICE_LINES / AP_INVOICE_LINES_ALL — individual invoice lines evaluated for withholding defaulting.
- AP_INVOICE_DISTRIBUTIONS / AP_INVOICE_DISTRIBUTIONS_ALL — distribution records updated with withholding attributes (UPD_DIST_GDF).
- AP_TAX_CODES / AP_TAX_CODES_ALL — tax code information used when determining withholding applicability.
- PO_VENDORS — supplier master details feeding the withholding type lookups.
- HR_LOCATIONS_ALL, HZ_GEOGRAPHIES, JL_AR_AP_PROVINCES — geographic and location data for province/zone/city territorial rules.
- JL_ZZ_AP_AWT_TYPES, JL_ZZ_AP_SUPP_AWT_TYPES, JL_ZZ_AP_COMP_AWT_TYPES, JL_ZZ_AP_SUP_AWT_CD, JL_ZZ_AP_INV_DIS_WH — withholding type, supplier withholding code, and invoice distribution withholding definition tables.
- XLE_ENTITY_PROFILES — legal entity configuration used for jurisdictional determination.
Utility dependencies include APP_EXCEPTION, FND_GLOBAL, FND_LOG, FND_MESSAGE, FND_PROFILE, and JL_ZZ_AP_EXT_AWT_UTIL, which provide error handling, environment context, profile lookup, and shared withholding utilities.
Usage Notes
The package is not referenced by any other database object, meaning it is typically invoked directly by Oracle Payables forms, concurrent programs, or customer-specific extensions during invoice entry, invoice validation, and withholding defaulting. It is appropriate to invoke it whenever supplier withholding definitions must be applied or re-derived — for example, after a supplier withholding setup change, during prepayment handling, or when invoice distribution flexfields require refresh. Re-defaulting (SUPP_WH_REDEFAULT) and deletion (DEL_WH_DEF) procedures should be executed in the documented sequence to avoid orphaned withholding records. Custom code integrating this package should respect APPS-schema security and use the labelled APIs rather than direct DML.
-
PACKAGE BODY: APPS.JL_ZZ_AP_AWT_DEFAULT_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_AP_AWT_DEFAULT_PKG
12.2.2
-
PACKAGE: APPS.JL_ZZ_AP_AWT_DEFAULT_PKG
12.1.1
-
PACKAGE: APPS.JL_ZZ_AP_AWT_DEFAULT_PKG
12.2.2
-
PACKAGE: APPS.GME_MATERIAL_DETAIL_PVT
12.1.1
-
PACKAGE: APPS.GME_MATERIAL_DETAIL_PVT
12.2.2
-
PACKAGE BODY: APPS.OKL_LLN_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_LLN_PVT
12.2.2
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_ORDER_PUB
12.1.1
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_ORDER_PUB
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on JL_ZZ_AP_AWT_TYPES
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_TAX_CODES_ALL
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_TAX_CODES_ALL
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on JL_ZZ_AP_AWT_TYPES
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on JL_ZZ_AP_AWT_DEFAULT_PKG
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on FND_LOG
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_TAX_CODES_ALL
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_TAX_CODES_ALL
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on FND_LOG
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on JL_ZZ_AP_AWT_DEFAULT_PKG
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_TAX_CODES
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_TAX_CODES
12.1.1
-
PACKAGE BODY: APPS.GME_MATERIAL_DETAIL_PVT
12.2.2
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_LINE
12.2.2
-
PACKAGE BODY: APPS.GME_MATERIAL_DETAIL_PVT
12.1.1
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_LINE
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_INVOICES_ALL
12.1.1
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_INVOICES_ALL
12.2.2
-
APPS.JL_ZZ_AP_AWT_DEFAULT_PKG dependencies on AP_INVOICES
12.2.2
-
APPS.OE_VALIDATE_LINE dependencies on OE_ORDER_PUB
12.2.2
-
APPS.OE_VALIDATE_LINE dependencies on OE_ORDER_PUB
12.1.1
-
APPS.GME_MATERIAL_DETAIL_PVT dependencies on MTL_SYSTEM_ITEMS_B
12.1.1
-
APPS.GME_MATERIAL_DETAIL_PVT dependencies on MTL_SYSTEM_ITEMS_B
12.2.2
-
PACKAGE BODY: APPS.OE_BULK_PROCESS_LINE
12.1.1
-
PACKAGE BODY: APPS.OE_BULK_PROCESS_LINE
12.2.2
-
APPS.OE_BULK_PROCESS_LINE dependencies on OE_WSH_BULK_GRP
12.1.1
-
APPS.AR_INVOICE_UTILS dependencies on AR_INVOICE_DEFAULT_PVT
12.1.1
-
APPS.AR_INVOICE_UTILS dependencies on AR_INVOICE_DEFAULT_PVT
12.2.2
-
APPS.OKL_LLN_PVT dependencies on OKL_API
12.1.1
-
APPS.OKL_LLN_PVT dependencies on OKL_API
12.2.2
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_CNCL_VALIDATE_LINE
12.2.2
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_CNCL_VALIDATE_LINE
12.1.1
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_ORDER_UTIL
12.1.1
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_ORDER_UTIL
12.2.2
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_MSG_PUB
12.1.1
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_MSG_PUB
12.2.2
-
APPS.OE_BULK_PROCESS_LINE dependencies on OE_BULK_CACHE
12.1.1
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE
12.1.1
-
APPS.OE_BULK_PROCESS_LINE dependencies on OE_BULK_CACHE
12.2.2
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE
12.2.2