Search Results ja_th_ar_tax_invoice
Overview
JA_TH_AR_TAX_INVOICE is an Oracle E-Business Suite PL/SQL package body owned by the APPS schema and documented in ETRM as valid. It is a Thailand-localization component (the JA_TH prefix denotes the Asia/Thailand regional layer) that supports tax invoice processing within Oracle Receivables. Its role is to validate transaction attributes and maintain the tax invoice numbering sequence required by Thai revenue regulations, ensuring that autoinvoice and related transaction flows apply valid dates and tax codes before a tax invoice is issued.
The package is classified as OTHER (that is, not a published public API). ETRM records three documented procedures and two referenced tables. It depends upon APPS.ARP_STANDARD, FND_DATE, FND_MESSAGE, JG_ZZ_AUTO_INVOICE, and itself, and it is referenced by one other database object, confirming it is invoked indirectly rather than called by external integrations.
Key Procedures and Functions
- VALIDATE_TRX_DATE — Validates the transaction date associated with the Thai tax invoice. It ensures the date falls within the permitted reporting or fiscal period, so that an invoice cannot be issued with a date that violates Thai tax document sequencing rules. Date handling is supported by the FND_DATE dependency.
- VALIDATE_TAX_CODE — Validates the tax code applied to the transaction line, confirming it is an appropriate Thai tax code for the tax invoice being generated. Errors are surfaced through FND_MESSAGE, allowing the calling process to raise a meaningful, translatable message.
- UPDATE_LAST_ISSUED_DATE — Maintains the last issued date for the tax invoice series. This supports controlled, gap-free or sequentially auditable numbering required for Thai tax documents, updating the stored reference date that governs the next issuance.
Tables Accessed
- RA_CUST_TRX_TYPES — Read to resolve the Receivables transaction type and class associated with the transaction being validated, since tax invoice behavior varies by transaction type.
- RA_INTERFACE_LINES_GT — The AutoInvoice interface global temporary table, used to read the transaction lines being processed so that date and tax code validation applies to the correct inbound data set.
The package additionally relies on ARP_STANDARD for standard Receivables error and status handling, and on JG_ZZ_AUTO_INVOICE, the Thai/regional autoinvoice helper, indicating it is embedded in the regional AutoInvoice execution path rather than standalone.
Usage Notes
JA_TH_AR_TAX_INVOICE is not intended for direct invocation by custom code. It is called from within the Thailand-localized Receivables transaction and AutoInvoice flows, typically during import of transactions through RA_INTERFACE_LINES_GT and at the point of tax invoice generation from an Oracle Forms transaction window. Because ETRM lists it as OTHER and shows no external referencing objects beyond one dependent package, implementers should treat it as an internal localization routine: do not call its procedures directly, and instead exercise the standard Receivables and Thai localization functionality that triggers it. Any customization should be limited to configuration and extension points rather than modification of this package body.
-
PACKAGE BODY: APPS.JA_TH_AR_TAX_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TH_AR_TAX_INVOICE, status:VALID,
-
PACKAGE BODY: APPS.JA_TH_AR_TAX_INVOICE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TH_AR_TAX_INVOICE, status:VALID,
-
PACKAGE: APPS.JA_TH_AR_TAX_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JA_TH_AR_TAX_INVOICE, status:VALID,
-
PACKAGE: APPS.JA_TH_AR_TAX_INVOICE
12.2.2
-
PACKAGE: APPS.JA_TH_AR_TAX_INVOICE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JA_TH_AR_TAX_INVOICE, status:VALID,
-
PACKAGE: APPS.JA_TH_AR_TAX_INVOICE
12.1.1
-
PACKAGE BODY: APPS.JA_TH_AR_AUTO_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TH_AR_AUTO_INVOICE, status:VALID,
-
PACKAGE BODY: APPS.JA_TH_AR_AUTO_INVOICE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TH_AR_AUTO_INVOICE, status:VALID,
-
PACKAGE: APPS.JG_ZZ_AUTO_INVOICE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_AUTO_INVOICE, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES_GT, status:VALID,
-
PACKAGE: APPS.JG_ZZ_AUTO_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JG_ZZ_AUTO_INVOICE, status:VALID,
-
PACKAGE BODY: APPS.JA_TH_AR_TAX_INVOICE
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.RA_INTERFACE_LINES_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES_GT, status:VALID,
-
PACKAGE BODY: APPS.JA_TH_AR_TAX_INVOICE
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.JA_TH_AR_TAX_INVOICE SQL Statements
12.1.1
-
APPS.JA_TH_AR_TAX_INVOICE SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
APPS.JA_TH_AR_AUTO_INVOICE dependencies on JA_TH_AR_TAX_INVOICE
12.1.1
-
APPS.JA_TH_AR_TAX_INVOICE dependencies on JA_TH_AR_TAX_INVOICE
12.1.1
-
APPS.JA_TH_AR_TAX_INVOICE dependencies on JA_TH_AR_TAX_INVOICE
12.2.2
-
APPS.JA_TH_AR_AUTO_INVOICE dependencies on JA_TH_AR_TAX_INVOICE
12.2.2
-
PACKAGE: APPS.ARP_STANDARD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_STANDARD, status:VALID,
-
PACKAGE: APPS.ARP_STANDARD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_STANDARD, status:VALID,
-
APPS.JA_TH_AR_TAX_INVOICE dependencies on ARP_STANDARD
12.2.2
-
APPS.JA_TH_AR_TAX_INVOICE dependencies on STANDARD
12.1.1
-
APPS.JA_TH_AR_TAX_INVOICE dependencies on ARP_STANDARD
12.1.1
-
APPS.JA_TH_AR_TAX_INVOICE dependencies on STANDARD
12.2.2
-
PACKAGE: APPS.FND_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
PACKAGE: APPS.FND_DATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,