Search Results ra_interface_lines_gt
Overview
ARP_EBS_AUTOINV_PREPROC is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Releases 12.1.1 and 12.2.2. It supports the AutoInvoice processing flow within Oracle Receivables by performing pre-processing adjustments on interface data before the standard AutoInvoice engine transfers records into the production transaction tables. The package is classified under the ETRM metadata with an API classification of OTHER, indicating that it is not exposed as a public, supported API but rather functions as an internal utility invoked within the AutoInvoice pipeline.
The primary business concern addressed by this package is the treatment of European Monetary Union (EMU) legacy currencies. Prior to the full transition to the euro, certain currencies maintained fixed conversion relationships that had to be applied consistently across interface distributions and sales credits. ARP_EBS_AUTOINV_PREPROC identifies interface lines denominated in these EMU currencies, applies the fixed-rate conversion into the functional currency, and flags affected credit memos with error messages where the transaction date exceeds the currency's active end date.
Key Procedures and Functions
The package exposes a single documented procedure, UPDATE_TRX. It accepts a request identifier, a functional currency code, and an IN OUT error code parameter, and drives the entire preprocessing routine. Internally, UPDATE_TRX performs three coordinated operations:
- Identification of distinct EMU currency codes present in the interface lines for a given request, together with each currency's active end date, using a cursor joined against FND_CURRENCIES filtered on derive_type equal to 'EMU'.
- Insertion of error records into RA_INTERFACE_ERRORS for credit memos whose transaction date falls after the EMU currency's end date, using the seeded message string fetched via FND_MESSAGE.GET_STRING with the token AR_RAXTRX_CONV_CM.
- Conversion of amounts on RA_INTERFACE_DISTRIBUTIONS and sales credit split amounts on RA_INTERFACE_SALESCREDITS to the functional currency using GL_CURRENCY_API.CONVERT_AMOUNT with the 'EMU FIXED' conversion type and SYSDATE as the effective date, and nullification of the accounted amount on the distributions rows.
Tables Accessed
The package reads and writes a defined set of Receivables and shared interface tables through APPS synonyms:
- RA_INTERFACE_LINES_GT — the global temporary staging table queried to enumerate the currencies and interface line identifiers associated with the current request. The user's search term, "ra_interface_lines_gt", references this table directly.
- RA_INTERFACE_LINES — the persistent interface table used to locate credit memo lines eligible for error flagging.
- RA_INTERFACE_ERRORS — written to record conversion-related rejection messages against affected interface line IDs and org IDs.
- RA_INTERFACE_DISTRIBUTIONS — updated in place so that distribution amounts reflect EMU fixed conversion and accounted amounts are cleared for re-derivation.
- RA_INTERFACE_SALESCREDITS — updated so that sales credit splits reflect the converted functional currency amount.
- FND_CURRENCIES — read to determine which currencies are flagged as EMU and to obtain their active end dates.
- RA_CUST_TRX_TYPES — read to restrict error flagging to transaction types of class 'CM' (credit memo).
Usage Notes
ARP_EBS_AUTOINV_PREPROC is invoked automatically as part of the AutoInvoice concurrent program execution rather than being called directly from Oracle Forms or custom code. It is not referenced by any other documented package in the ETRM catalog, which confirms its role as a leaf-level preprocessor within the AutoInvoice flow. Because it operates on data staged in RA_INTERFACE_LINES_GT and related interface tables scoped by request_id, the procedure must execute within the same request context that populated those interface rows. Custom implementations that load AutoInvoice interface data directly should be aware that this package will attempt EMU fixed-rate conversions on any qualifying lines, and that errors inserted into RA_INTERFACE_ERRORS will cause the affected credit memos to be rejected during the standard validation phase.
-
APPS.JE_ZZ_AUTO_INVOICE SQL Statements
12.1.1
-
APPS.ARP_EBS_AUTOINV_PREPROC SQL Statements
12.2.2
-
APPS.ARP_EBS_AUTOINV_PREPROC SQL Statements
12.1.1
-
APPS.JE_ZZ_AUTO_INVOICE SQL Statements
12.2.2
-
APPS.PSA_MFAR_VAL_PKG SQL Statements
12.1.1
-
APPS.PSA_MFAR_VAL_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ARP_EBS_AUTOINV_PREPROC
12.1.1
-
PACKAGE BODY: APPS.ARP_EBS_AUTOINV_PREPROC
12.2.2
-
APPS.JA_TW_AR_AUTO_INVOICE SQL Statements
12.1.1
-
APPS.JA_TH_AR_AUTO_INVOICE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JA_TW_AR_AUTO_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TW_AR_AUTO_INVOICE, status:VALID,
-
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 BODY: APPS.ARP_EBS_AUTOINV_PREPROC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_EBS_AUTOINV_PREPROC, 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 BODY: APPS.JL_BR_SPED_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_BR_SPED_PKG, status:VALID,
-
PACKAGE BODY: APPS.JA_TW_SH_GUI_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TW_SH_GUI_UTILS, status:VALID,
-
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_TW_SH_GUI_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TW_SH_GUI_UTILS, status:VALID,
-
PACKAGE BODY: APPS.JE_ZZ_AUTO_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JE_ZZ_AUTO_INVOICE, status:VALID,
-
PACKAGE BODY: APPS.JL_ZZ_AUTO_INVOICE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_ZZ_AUTO_INVOICE, status:VALID,
-
PACKAGE BODY: APPS.PSA_MFAR_VAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_MFAR_VAL_PKG, status:VALID,
-
APPS.JA_TH_AR_AUTO_INVOICE SQL Statements
12.1.1
-
APPS.JA_TW_AR_AUTO_INVOICE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ARP_EBS_AUTOINV_PREPROC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_EBS_AUTOINV_PREPROC, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_PAYINFO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_PAYINFO, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_PAYINFO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_PAYINFO, status:VALID,
-
PACKAGE BODY: APPS.PSA_MFAR_VAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_MFAR_VAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.JE_ZZ_AUTO_INVOICE
12.2.2
-
PACKAGE BODY: APPS.ARP_GROUP_INV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_GROUP_INV, status:VALID,
-
PACKAGE BODY: APPS.JA_TW_AR_AUTO_INVOICE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_TW_AR_AUTO_INVOICE, status:VALID,
-
PACKAGE BODY: APPS.JE_ZZ_AUTO_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.ARP_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ARP_ACCT_MAIN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ACCT_MAIN, status:VALID,
-
PACKAGE BODY: APPS.JL_BR_SPED_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_BR_SPED_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_AUTO_ACCOUNTING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_AUTO_ACCOUNTING, status:VALID,
-
PACKAGE BODY: APPS.ARP_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ARP_GROUP_INV
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_GROUP_INV, status:VALID,
-
APPS.JA_TW_SH_GUI_UTILS SQL Statements
12.1.1
-
APPS.JL_BR_SPED_PKG SQL Statements
12.1.1
-
APPS.JA_TW_SH_GUI_UTILS SQL Statements
12.2.2
-
SYNONYM: APPS.RA_INTERFACE_LINES_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES_GT, status:VALID,
-
APPS.JA_TH_AR_TAX_INVOICE SQL Statements
12.1.1
-
SYNONYM: APPS.RA_INTERFACE_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES, status:VALID,
-
PACKAGE BODY: APPS.JL_ZZ_AUTO_INVOICE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_ZZ_AUTO_INVOICE, status:VALID,
-
View: TAX_LINES_INVOICE_IMPORT_V_V
12.2.2
product: AR - Receivables , description: Release 11 , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.ARP_AUTO_ACCOUNTING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_AUTO_ACCOUNTING, status:VALID,
-
View: TAX_LINES_RMA_IMPORT_VBR
12.2.2
product: JL - Latin America Localizations , implementation_dba_data: Not implemented in this database ,
-
View: TAX_LINES_RMA_IMPORT_V
12.2.2
product: AR - Receivables , description: Lines subject to tax for the concurrent program AutoInvoice , implementation_dba_data: Not implemented in this database ,