Search Results ra_customer_trx_lines_s
Overview
The APPS.JL_BR_AR_GENERATE_DEBIT_MEMO package body is a Brazilian localization (JL_BR) component in Oracle E-Business Suite Receivables. Its business purpose is to generate interest debit memos against overdue customer transactions, a statutory requirement under Brazilian tax and financial regulations for documenting late-payment interest charges. The package operates as an internal ETRM-classified "OTHER" API and is validated in both 12.1.1 and 12.2.2 environments. It reads open receivable balances from payment schedules, computes interest amounts, and constructs the complete debit memo transaction stack — batch, transaction header, transaction line, sales credit, accounting distributions, and payment schedule — before forwarding the accounting event to Subledger Accounting (SLA). It is not referenced by any other database object, indicating it is an entry-point routine rather than a shared utility.
Key Procedures and Functions
- JL_BR_INTEREST_DEBIT_MEMO — The principal driver procedure that orchestrates interest debit memo generation for a specified set of transactions.
- GET_ACCOUNT — Resolves the appropriate account code combination for the generated debit memo using accounting rules and defaults.
- INS_RA_BATCHES — Inserts a new Receivables batch header to group the generated debit memo transactions.
- GENERATE_INTEREST_DM_NUMBER — Derives the debit memo document number, invoking ARP_CTLGD_PKG for sequence control.
- INS_RA_CUSTOMER_TRX — Creates the debit memo transaction header row.
- INS_RA_CUSTOMER_TRX_LINES — Creates the debit memo transaction line carrying the interest amount.
- INS_RA_CUST_TRX_LINE_SALESREPS — Assigns sales credit to the generated line.
- INS_RA_CUST_TRX_LINE_GL_DIST — Writes the accounting distribution rows for the interest line.
- INS_AR_PAYMENT_SCHEDULES — Creates the payment schedule entry for the debit memo, establishing its due date and amount.
- SLA_CREATE_EVENT — Invokes
ARP_XLA_EVENTSto create the SLA event for downstream accounting. - VALIDATE_AND_DEFAULT_GL_DATE — Validates and defaults the general ledger date via
ARPT_SQL_FUNC_UTILand period-status checks.
Tables Accessed
Insert operations target RA_BATCHES, RA_CUSTOMER_TRX / RA_CUSTOMER_TRX_ALL, RA_CUSTOMER_TRX_LINES / RA_CUSTOMER_TRX_LINES_S (the table underlying the ra_customer_trx_lines_s search), RA_CUST_TRX_LINE_GL_DIST, RA_CUST_TRX_LINE_SALESREPS / RA_CUST_TRX_LINE_SALESREPS_S, and AR_PAYMENT_SCHEDULES / AR_PAYMENT_SCHEDULES_S. Reference data is drawn from AR_SYSTEM_PARAMETERS, GL_SETS_OF_BOOKS, FND_CURRENCIES_VL, FND_ID_FLEX_STRUCTURES, GL_PERIOD_STATUSES, HZ_CUST_SITE_USES, RA_CUST_TRX_TYPES, RA_SALESREPS, RA_ACCOUNT_DEFAULTS, and RA_ACCOUNT_DEFAULT_SEGMENTS. The RA_CUSTOMER_TRX_LINES_S insert maintains the line-level unique key demanded by multi-organization architecture.
Usage Notes
This package is typically invoked from Brazilian localization concurrent programs or Receivables autointerest workflows rather than from standard EBS forms. Custom code callers must supply a valid batch source, transaction type, and GL date; the package then performs validation internally via VALIDATE_AND_DEFAULT_GL_DATE. Because the package directly writes base Receivables tables and fires SLA events, it should be called only with committed control over period status and accounting setups. In 12.2.x, the SLA integration through ARP_XLA_EVENTS remains the authoritative posting path, so the debit memo amount is always reflected through the subledger journal rather than the legacy GL interface.
-
SEQUENCE: AR.RA_CUSTOMER_TRX_LINES_S
12.2.2
owner:AR, object_type:SEQUENCE, object_name:RA_CUSTOMER_TRX_LINES_S, status:VALID,
-
SEQUENCE: AR.RA_CUSTOMER_TRX_LINES_S
12.1.1
owner:AR, object_type:SEQUENCE, object_name:RA_CUSTOMER_TRX_LINES_S, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_S, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_S, status:VALID,
-
PACKAGE BODY: APPS.JL_BR_AR_GENERATE_DEBIT_MEMO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_BR_AR_GENERATE_DEBIT_MEMO, status:VALID,
-
PACKAGE BODY: APPS.JL_BR_AR_GENERATE_DEBIT_MEMO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_BR_AR_GENERATE_DEBIT_MEMO, status:VALID,
-
PACKAGE BODY: APPS.AR_TRX_GLOBAL_PROCESS_LINES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_TRX_GLOBAL_PROCESS_LINES, status:VALID,
-
PACKAGE BODY: APPS.AR_TRX_GLOBAL_PROCESS_LINES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_TRX_GLOBAL_PROCESS_LINES, status:VALID,
-
PACKAGE BODY: APPS.ARP_CTL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CTL_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_RECURR_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_RECURR_UTIL, status:VALID,
-
PACKAGE BODY: APPS.JAI_RGM_THHOLD_PROC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_RGM_THHOLD_PROC_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_INVAPI_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_INVAPI_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_INVAPI_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_INVAPI_UTIL, status:VALID,
-
PACKAGE BODY: APPS.JAI_RGM_THHOLD_PROC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_RGM_THHOLD_PROC_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_UTIL, status:VALID,
-
PACKAGE BODY: APPS.JAI_CMN_TAX_DEFAULTATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_CMN_TAX_DEFAULTATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_RECURR_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_RECURR_UTIL, status:VALID,
-
PACKAGE BODY: APPS.FV_GEN_ARTRX_REIMB_PROC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FV_GEN_ARTRX_REIMB_PROC, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_AUTOINV_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_AUTOINV_UTIL, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_RCTLA_TRIGGER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_RCTLA_TRIGGER_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_CTL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CTL_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_CMN_TAX_DEFAULTATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_CMN_TAX_DEFAULTATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_AUTOINV_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_AUTOINV_UTIL, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_RCTA_TRIGGER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_RCTA_TRIGGER_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_IMPORT_POPU_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_IMPORT_POPU_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_TRX_HEADERS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_TRX_HEADERS_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ETAX_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ETAX_UTIL, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_RCTA_TRIGGER_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_RCTA_TRIGGER_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_RCTLA_TRIGGER_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_RCTLA_TRIGGER_PKG, status:VALID,
-
PACKAGE BODY: APPS.PON_EMD_AR_INTEGRATION_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PON_EMD_AR_INTEGRATION_GRP, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.JAI_OPEN_API_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_OPEN_API_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.ARP_ETAX_INVAPI_UTIL dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.ARP_ETAX_RECURR_UTIL dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.ARP_ETAX_UTIL dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.JAI_RGM_THHOLD_PROC_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.JAI_AR_RCTA_TRIGGER_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.ARP_ETAX_INVAPI_UTIL dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.JAI_CMN_TAX_DEFAULTATION_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.ARP_ETAX_AUTOINV_UTIL dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.JAI_CMN_TAX_DEFAULTATION_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.ARP_ETAX_UTIL dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.JAI_RGM_THHOLD_PROC_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.JAI_AR_RCTLA_TRIGGER_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.JAI_AR_RCTA_TRIGGER_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.1.1
-
APPS.JAI_AR_TRX_HEADERS_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.JAI_OPEN_API_PKG dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2
-
APPS.FV_GEN_ARTRX_REIMB_PROC dependencies on RA_CUSTOMER_TRX_LINES_S
12.2.2