Search Results pn_location_id
Overview
APPS.JAI_GST_TAX_DEFAULTATION_PKG is an Oracle E-Business Suite PL/SQL package that encapsulates the India Localization (JAI) Goods and Services Tax (GST) tax category defaultation logic. Its principal business function is to determine and return the applicable GST tax category identifier for a given transaction party and context — customer, vendor, or first-party organization — using the party's registration details, item tax category details, and the effective dates of the tax category definition. The package header declares AUTHID CURRENT_USER, so its database objects resolve under the privileges of the invoking session rather than the package owner.
The package was introduced by the GST enhancement tracked under Bug 10043656 with a change date of 09/01/2010 (author Peng Zheng), and it references the design document TDD_12_2_FIN_JAI_Enhanced_GST.doc. The header comments in the shipped source file (jai_gst_tax_dflt.pls) indicate the package is built to deliver "New Tax Category Default logic for GST." Although the enhancement aligns with the 12.2.x India GST feature set, the object is present and documented in both 12.1.1 and 12.2.2 environments that carry the JAI GST patches.
Key Procedures and Functions
The ETRM metadata documents three procedures or functions within this package. Parameter lists are intentionally not reproduced here; the descriptions reflect their documented intent.
- JAI_GST_CUST_DEFAULT_TAXES — Returns the default GST tax category for a customer or customer site. Its documented inputs include the first-party organization and location, the customer identifier, the ship-to site use identifier, the inventory item identifier, and the transaction date (used to compare against the tax category's start and end dates); the default tax category identifier is passed as an IN/OUT parameter. The header comments identify it as a public procedure called from JAI_AR_RCTLA_TRIGGER_PKG, confirming its role in receivables tax determination.
- JAI_GST_VENDOR_DEFAULT_TAXES — Returns the default GST tax category for a vendor or vendor site, resolving the applicable registration and tax category from the supplier-side data. It serves the symmetrical payables-side determination to the customer procedure.
- JAI_GST_ORG_DEFAULT_TAXES — Returns the default GST tax category at the first-party organization level, applying where the default is driven by the operating unit's own registrations and tax setup rather than by an external party.
Tables Accessed
The package reads the following tables through APPS synonyms, principally to resolve party identity, registration status, and item-level tax category treatment:
- HZ_CUST_SITE_USES_ALL — customer site use definitions, resolving ship-to sites to the appropriate party context.
- JAI_CMN_CUS_ADDRESSES and JAI_CMN_VENDOR_SITES — India-localization customer and vendor address/registration data used to determine the applicable GST registration.
- JAI_RGM_PARTIES, JAI_RGM_DEFINITIONS, JAI_RGM_ITM_REGNS, and JAI_RGM_ITM_TMPL_ATTRS — the registration and item-template attribute model that establishes which tax rules and registrations apply to a party or item.
- JAI_INV_ITM_TAXCTG_DTLS — item-to-tax-category details, allowing an item-specific default to override the party default.
- JAI_CMN_TAX_CTGS_ALL — the tax category master, including start and end dates used against the transaction date to validate an effective default.
- OE_SYSTEM_PARAMETERS — order entry system parameters consulted during defaultation.
The package is referenced by one other package, consistent with a utility role in the broader India GST call chain.
Usage Notes
JAI_GST_TAX_DEFAULTATION_PKG is an internal localization utility rather than a user-facing interface. It is invoked programmatically during transaction processing — most notably from JAI_AR_RCTLA_TRIGGER_PKG in the receivables tax flow — when the system must derive a GST tax category before tax calculation. It would similarly be called from payables, order management, or organization-level GST setup paths that require a party or organization default.
Because the package resolves the default using the transaction date against tax category effective dates, callers must supply an accurate date to avoid selecting an expired or not-yet-effective category. Customizations should not modify the package directly; the supported approach is to call the procedures from custom code and treat the returned tax category identifier as an input to downstream tax determination. As with all JAI objects, it should be applied only in an environment where the India GST localization patches (starting from Bug 10043656) are installed.
-
PACKAGE: APPS.JAI_GST_TAX_DEFAULTATION_PKG
12.2.2
-
APPS.JAI_CMN_UTILS_PKG SQL Statements
12.1.1
-
APPS.JAI_CMN_OM_AR_PROCESSING_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JAI_GST_TAX_DEFAULTATION_PKG
12.2.2
-
APPS.JAI_CMN_UTILS_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JAI_CMN_OM_AR_PROCESSING_PKG
12.2.2
-
VIEW: CSI.CSI_ITEM_INSTANCES#
12.2.2
-
VIEW: INV.MTL_EAM_ASSET_NUM_INTERFACE#
12.2.2
-
PACKAGE: APPS.JAI_AP_STND_TAX_PROCESS
12.2.2
-
APPS.EAM_PN_EXTRACTION_PUB SQL Statements
12.2.2
-
VIEW: INV.MTL_SERIAL_NUMBERS#
12.2.2
-
View: MTL_EAM_ASSET_NUMBERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUMBERS_V, object_name:MTL_EAM_ASSET_NUMBERS_V, status:VALID, product: INV - Inventory , description: View for Asset Numbers , implementation_dba_data: APPS.MTL_EAM_ASSET_NUMBERS_V ,
-
PACKAGE: APPS.JAI_CMN_RGM_SETTLEMENT_PKG
12.1.1
-
View: MTL_EAM_ASSET_NUMBERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUMBERS_V, object_name:MTL_EAM_ASSET_NUMBERS_V, status:VALID, product: INV - Inventory , description: View for Asset Numbers , implementation_dba_data: APPS.MTL_EAM_ASSET_NUMBERS_V ,
-
APPS.EAM_PN_EXTRACTION_PUB SQL Statements
12.1.1
-
PACKAGE: APPS.JAI_CMN_RGM_SETTLEMENT_PKG
12.2.2
-
View: MTL_EAM_ASSET_REBUILDS_DTLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_REBUILDS_DTLS_V, object_name:MTL_EAM_ASSET_REBUILDS_DTLS_V, status:VALID, product: INV - Inventory , description: View shows the details of Assets and Rebuilds. , implementation_dba_data: APPS.MTL_EAM_ASSET_REBUILDS_DTLS_V ,
-
View: MTL_EAM_ASSET_REBUILDS_DTLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_REBUILDS_DTLS_V, object_name:MTL_EAM_ASSET_REBUILDS_DTLS_V, status:VALID, product: INV - Inventory , description: View shows the details of Assets and Rebuilds. , implementation_dba_data: APPS.MTL_EAM_ASSET_REBUILDS_DTLS_V ,
-
VIEW: APPS.MTL_EAM_ASSET_NUMBERS_V
12.1.1
-
VIEW: APPS.MTL_EAM_ASSET_NUMBERS_V
12.2.2
-
VIEW: INV.MTL_EAM_ASSET_NUM_INTERFACE#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_EAM_ASSET_NUM_INTERFACE#, status:VALID,
-
APPS.JAI_GST_TAX_DEFAULTATION_PKG SQL Statements
12.2.2
-
APPS.JAI_BOE_GENERAL_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.JAI_OPEN_API_PKG
12.2.2
-
VIEW: APPS.MTL_EAM_ASSET_REBUILDS_DTLS_V
12.1.1
-
VIEW: APPS.MTL_EAM_ASSET_REBUILDS_DTLS_V
12.2.2
-
PACKAGE: APPS.JAI_AP_ST_REVERSE_PROCESS
12.2.2
-
PACKAGE: APPS.JAI_ST_REVERSAL_EXTRACT_PKG
12.2.2
-
VIEW: APPS.MTL_EAM_ASSET_NUM_INTERFACE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUM_INTERFACE_V, object_name:MTL_EAM_ASSET_NUM_INTERFACE_V, status:VALID,
-
VIEW: APPS.MTL_EAM_ASSET_NUM_INTERFACE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUM_INTERFACE_V, object_name:MTL_EAM_ASSET_NUM_INTERFACE_V, status:VALID,
-
APPS.PN_EXP_TO_EAM_PVT SQL Statements
12.1.1
-
VIEW: CSI.CSI_ITEM_INSTANCES#
12.2.2
owner:CSI, object_type:VIEW, object_name:CSI_ITEM_INSTANCES#, status:VALID,
-
PACKAGE: APPS.JAI_AP_STND_TAX_PROCESS
12.1.1
-
VIEW: APPS.MTL_EAM_ASSET_NUMBERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUMBERS_V, object_name:MTL_EAM_ASSET_NUMBERS_V, status:VALID,
-
VIEW: APPS.MTL_EAM_ASSET_NUMBERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUMBERS_V, object_name:MTL_EAM_ASSET_NUMBERS_V, status:VALID,
-
APPS.PN_EXP_TO_EAM_PVT SQL Statements
12.2.2
-
APPS.JAI_CMN_RGM_SETTLEMENT_PKG SQL Statements
12.1.1
-
View: MTL_EAM_ASSET_NUMBERS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUMBERS_ALL_V, object_name:MTL_EAM_ASSET_NUMBERS_ALL_V, status:VALID, product: INV - Inventory , description: View for Asset Number details , implementation_dba_data: APPS.MTL_EAM_ASSET_NUMBERS_ALL_V ,
-
APPS.EAM_ASSET_MOVE_UTIL SQL Statements
12.1.1
-
VIEW: INV.MTL_SERIAL_NUMBERS#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_SERIAL_NUMBERS#, status:VALID,
-
APPS.JAI_JRG_23AC2_TRIGGER_PKG SQL Statements
12.2.2
-
APPS.JAI_CMN_RGM_VAT_ACCNT_PKG SQL Statements
12.1.1
-
APPS.EAM_ASSET_MOVE_UTIL SQL Statements
12.2.2
-
APPS.JAI_CMN_RGM_SETTLEMENT_PKG SQL Statements
12.2.2
-
VIEW: APPS.MTL_EAM_ASSET_REBUILDS_DTLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_REBUILDS_DTLS_V, object_name:MTL_EAM_ASSET_REBUILDS_DTLS_V, status:VALID,
-
VIEW: APPS.MTL_EAM_ASSET_REBUILDS_DTLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_REBUILDS_DTLS_V, object_name:MTL_EAM_ASSET_REBUILDS_DTLS_V, status:VALID,
-
PACKAGE BODY: APPS.JAI_CMN_UTILS_PKG
12.2.2
-
PACKAGE BODY: APPS.EAM_PN_EXTRACTION_PUB
12.1.1
-
PACKAGE BODY: APPS.EAM_PN_EXTRACTION_PUB
12.2.2
-
VIEW: APPS.MTL_EAM_ASSET_NUMBERS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EAM_ASSET_NUMBERS_ALL_V, object_name:MTL_EAM_ASSET_NUMBERS_ALL_V, status:VALID,