Search Results ar_statement_cycle_dates_all




Overview

The AR_STATEMENT_CYCLE_DATES_ALL table is a core data object within the Oracle E-Business Suite Receivables (AR) module. It serves as the master repository for defining the specific calendar dates on which customer statements are generated and sent as part of a configured statement cycle. A statement cycle defines the frequency (e.g., monthly, weekly) and rules for statement generation, while this table stores the precise execution dates for those cycles. Its role is critical for the automated scheduling of statement runs, ensuring that customers receive their account summaries on the correct, pre-defined dates. As an "ALL" table, it is multi-organization enabled, meaning it can store date schedules for different operating units within a single installation.

Key Information Stored

The table's structure is designed to map dates to their parent statement cycle. The primary columns, as indicated by the provided metadata, include the STATEMENT_CYCLE_DATE_ID, which is the unique primary key identifier for each date record. The STATEMENT_DATE column holds the actual calendar date scheduled for statement generation. The STATEMENT_CYCLE_ID is the critical foreign key column that links each date record to its parent definition in the AR_STATEMENT_CYCLES table. This relationship ensures that a cycle's frequency rule is translated into concrete, actionable dates in the system.

Common Use Cases and Queries

The primary use case is the batch process that selects customers and generates statements. The application references this table to determine if the current business date is a valid statement run date for any active cycle. For reporting and administrative purposes, common queries involve listing all scheduled dates for a specific cycle or identifying upcoming statement dates. A typical SQL pattern to review a cycle's schedule would be:

  • SELECT statement_date FROM ar_statement_cycle_dates_all WHERE statement_cycle_id = &cycle_id ORDER BY statement_date;

Conversely, to find which cycle a particular date belongs to, one might query:

  • SELECT sc.name FROM ar_statement_cycle_dates_all scd, ar_statement_cycles_all sc WHERE scd.statement_cycle_id = sc.statement_cycle_id AND scd.statement_date = TO_DATE('&date', 'YYYY-MM-DD');

Related Objects

This table has a fundamental and singular foreign key relationship, as documented in the provided metadata. It is a child table to AR_STATEMENT_CYCLES_ALL. The relationship is enforced by the foreign key on the STATEMENT_CYCLE_ID column in AR_STATEMENT_CYCLE_DATES_ALL, which references the STATEMENT_CYCLE_ID primary key in AR_STATEMENT_CYCLES. This means every date record must be associated with a valid, pre-existing statement cycle definition. The table is also referenced by key Receivables processes and likely by underlying views or packages that support the Statement Generation concurrent program, though those are not explicitly listed in the provided relationship data.