Search Results get_admin_data




Overview

JE_BE_CSSR_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema and classified under the ETRM "OTHER" API category. Its name and internal identifiers (the "JE_BE" prefix and "CSSR" suffix) indicate it belongs to the Belgian Statutory Reporting family of functionality within the Oracle Financials localization for Belgium, specifically the Customer Statutory Sales Reporting (CSSR) extract process. The package generates the periodic VAT and intra-community statistical reports that Belgian tax authorities require from registered entities operating under the VAT reporting framework.

The package produces XML output, as evidenced by the globally declared g_xml clob variable and its interaction with jg_zz_vat_rep_entities, the VAT reporting entity definition table used throughout Oracle's European VAT localization modules. It is declared AUTHID CURRENT_USER, meaning procedures execute with the privileges of the calling session rather than the package owner — a standard convention for APPS-level packages invoked from concurrent programs or forms where the invoking user's responsibilities and security contexts must apply.

Key Procedures and Functions

  • MAIN — The primary entry point. It accepts error buffer and return code out-parameters alongside the VAT reporting entity, reporting period, and contact-detail inputs (fax, email, response email, transaction/security response and acknowledgement contacts). It orchestrates the report generation workflow, driving the subordinate routines and assembling the final XML payload.
  • GET_ADMIN_DATA — Retrieves administrative and header-level data for the report, including VAT registration number, email address, telephone and fax numbers, entity name, responsible-party contacts, survey code, and reporting period. These values populate the report's administrative sections.
  • GET_CONTENT_DATA — Gathers the transactional content of the report for a given survey code, period, and VAT reporting entity identifier. This routine supplies the substantive reporting data that accompanies the administrative header.
  • GET_BSV — A function that resolves the balancing segment value given a ledger identifier, chart of accounts identifier, and code combination identifier. It returns the balancing segment as a VARCHAR2, enabling ledger-aware segment derivation.
  • GET_ACCOUNTING_SEGMENT — A function returning a VARCHAR2 accounting segment for a supplied chart of accounts identifier, with an optional code combination identifier parameter. This is the object most commonly located by searches for "get_accounting_segment" and is the general-purpose utility for segment resolution within the package.
  • LEVEL_UP — Returns a VARCHAR2 value used in report navigation or hierarchical traversal logic (for example, ascending structural levels within the reporting extract).
  • LEVEL_DOWN — The complementary function to LEVEL_UP, returning a VARCHAR2 value for descending traversal.

Tables Accessed

  • GL_PERIODS — Supplies period names for the reporting period parameter.
  • JG_ZZ_VAT_REP_ENTITIES — Defines VAT reporting entities; the package's core driving table.
  • FND_ID_FLEX_SEGMENTS — Provides key flexfield segment definitions for segment resolution.
  • FND_SEGMENT_ATTRIBUTE_VALUES — Holds segment attribute settings used when choosing which segments to report.
  • GL_CODE_COMBINATIONS — Source for accounting flexfield combination values, used by GET_BSV and GET_ACCOUNTING_SEGMENT.
  • GL_LEDGERS — Resolves ledger-to-chart-of-accounts relationships for the balancing segment function.
  • FND_LANGUAGES — Supports language-specific report text or descriptions.
  • HZ_PARTIES — Supplies trading partner and entity party details.
  • XLE_REGISTRATIONS — Provides legal entity registration information for reporting.
  • DUAL — Used for scalar evaluations and default expressions.

Usage Notes

JE_BE_CSSR_PKG is typically invoked through the Belgian VAT/statutory reporting concurrent program, which supplies the MAIN procedure's parameters via the standard concurrent request parameter framework. Because the package is AUTHID CURRENT_USER and references APPS synonyms exclusively, it must be executed within an APPS-initialized session with the appropriate responsibility context. Direct calls to GET_ACCOUNTING_SEGMENT and GET_BSV are common in custom extensions requiring consistent segment derivation logic, but callers should note that these functions assume valid GL configuration and do not independently validate chart-of-accounts integrity. No other packages in the documented inventory reference JE_BE_CSSR_PKG, so its dependencies flow one way — outward to the GL, FND, JG, XLE, and HZ tables listed above.