Results for “jg_zz_vat_doc_sequences_v”
16 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The JG_ZZ_VAT_DOC_SEQUENCES_V view is a reporting-layer database object owned by the APPS schema in Oracle E-Business Suite, delivered as part of the JG (Regional Localizations) product family. It exposes the contents of the VAT document sequence assignment table used by country-specific VAT localization functionality, notably for the Italian VAT reporting regime. The view is available in both EBS 12.1.1 and 12.2.2 and carries a VALID status in ETRM.
Functionally, the view provides a read-accessible projection of the mapping between VAT registers (VAT_REGISTER_ID) and the document sequences (DOC_SEQUENCE_ID) assigned to them. Document sequences in EBS generate unique, gapless identifiers for business documents; the JG localization uses this assignment to guarantee that fiscal VAT registers receive legally compliant numbering. The view includes the ROWID of the underlying row (aliased as ROW_ID), which is uncommon in a reporting view and indicates it is also intended to support DML-driven integration patterns, not just read-only reporting.
Because the view is a thin, unfiltered projection of a single base table, it presents no derived columns, no joins, and no business logic. It acts as a versioned interface layer: the APPS synonym exposes the underlying data while allowing the localization team to alter the base table structure without breaking dependent code.
Underlying Base Objects
The view is defined over a single base object, referenced in ETRM as the synonym JG_ZZ_VAT_DOC_SEQUENCES. The defining SQL is a straightforward SELECT of all columns from that object, with no WHERE clause, GROUP BY, or join conditions:
- JG_ZZ_VAT_DOC_SEQUENCES — the base synonym resolving to the localization table that stores VAT document sequence assignments.
- ROWID — exposed directly and labeled ROW_ID in the view's column list.
No other tables, views, or PL/SQL functions are referenced. Consequently, the view inherits the indexing, partitioning, and constraint behavior of the base table, and query performance is effectively identical to querying the synonym directly.
Key Columns
- ROW_ID — the physical ROWID of the underlying row; useful for direct row addressing and for correlated UPDATE/DELETE operations.
- VAT_DOC_SEQUENCE_ID — primary identifier for the VAT document sequence assignment record.
- VAT_REGISTER_ID — foreign key to the VAT register definition to which the sequence is attached.
- DOC_SEQUENCE_ID — the EBS document sequence (from FND_DOCUMENT_SEQUENCES) assigned to that register; this is the value most often searched for by users querying doc_sequence_id.
- CREATED_BY, CREATION_DATE — standard WHO audit columns recording row creation.
- LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard WHO audit columns recording the most recent modification and the login session that performed it.
Common Use Cases and Queries
The most frequent use case is tracing which VAT register a given document sequence is attached to, or conversely, listing all sequences assigned to a register. Typical query patterns include:
- Locating the register assignment for a specific sequence:
SELECT vat_register_id, doc_sequence_id FROM apps.jg_zz_vat_doc_sequences_v WHERE doc_sequence_id = :p_doc_sequence_id;
- Listing all sequences for a register:
SELECT doc_sequence_id, creation_date FROM apps.jg_zz_vat_doc_sequences_v WHERE vat_register_id = :p_register_id;
- Auditing recent configuration changes by join to FND_USER on LAST_UPDATED_BY.
Because the view returns the base ROWID, it can also be used in integration scripts that perform row-level updates against specific assignments. In all cases, queries should be schema-qualified with APPS and executed with the appropriate MO: Operating Unit or localization security context where applicable.
-
APPS.JG_ZZ_VAT_DOC_SEQUENCES_V·↳ JG_ZZ_VAT_DOC_SEQUENCES·Explore JG module →
-
APPS.JG_ZZ_VAT_DOC_SEQUENCES_V·↳ JG_ZZ_VAT_DOC_SEQUENCES·Explore JG module →
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
eTRM - JG Tables and Views 12.2.2
Additional country-specific information for vendor sites
-
eTRM - JG Tables and Views 12.1.1
Additional country-specific information for vendor sites
-
eTRM - JG Tables and Views 12.1.1
Additional country-specific information for vendor sites
-
eTRM - JG Tables and Views 12.2.2
Additional country-specific information for vendor sites
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1