Search Results ra_line_order_by_columns_pk
Overview
The RA_LINE_ORDER_BY_COLUMNS table is a core reference table within the Oracle E-Business Suite Receivables (AR) module, specifically for versions 12.1.1 and 12.2.2. It functions as a master repository defining the specific columns that can be used to establish line ordering rules for the AutoInvoice program. AutoInvoice is a critical process for importing and validating transaction data from external systems into Oracle Receivables. The ability to define deterministic ordering rules for invoice lines is essential for ensuring consistent data processing, reporting, and system behavior. This table provides the foundational metadata that administrators can select from when configuring these sequencing rules, thereby controlling the sort order in which imported lines are processed and ultimately displayed.
Key Information Stored
The table's primary purpose is to store a unique list of valid column identifiers and their corresponding names that are permissible for line ordering. The documented structure highlights two key columns. The COLUMN_ID serves as the primary unique identifier (PK: RA_LINE_ORDER_BY_COLUMNS_PK) for each order-by column definition. The COLUMN_NAME provides a distinct, human-readable name for the column (enforced by a unique key, UK1). This name typically corresponds to a valid column from a transaction-related table, such as RA_INTERFACE_LINES_ALL, that is logically suitable for sequencing, for example, INTERFACE_LINE_ATTRIBUTE1, SALES_ORDER, or LINE_NUMBER. The table does not store instance data but rather the definition of allowable sorting attributes.
Common Use Cases and Queries
The primary use case is the setup and administration of AutoInvoice line ordering rules via the Oracle Forms-based front-end (likely navigated through Receivables Vision Operations menus). System administrators query this table to view available columns when defining or modifying a sequencing rule. A typical diagnostic or setup verification query would be:
SELECT column_id, column_name FROM ra_line_order_by_columns ORDER BY column_name;
This query returns the list of all configurable columns. Furthermore, this table is integral to any data fix or audit script that analyzes configured ordering rules, requiring a join to the RA_LINE_ORDER_BYS table to see which columns are actively used in specific rules and their sequence.
Related Objects
RA_LINE_ORDER_BY_COLUMNS has a direct and essential relationship with the RA_LINE_ORDER_BYS table, which defines the active ordering rules. The documented foreign key relationship shows that RA_LINE_ORDER_BYS.COLUMN_ID references RA_LINE_ORDER_BY_COLUMNS.COLUMN_ID. This means each record in RA_LINE_ORDER_BYS (which stores rule details like rule name, sequence number, and sort order) must point to a valid, predefined column in this master table. Therefore, any analysis of line ordering configuration requires joining these two tables:
SELECT lob.rule_name, lob.sequence_num, lobc.column_name FROM ra_line_order_bys lob, ra_line_order_by_columns lobc WHERE lob.column_id = lobc.column_id ORDER BY lob.rule_name, lob.sequence_num;
This table is central to the AutoInvoice setup and is referenced by the underlying PL/SQL logic of the AutoInvoice program (RA_INVOICE_API_PUB) when applying the defined sequencing rules during transaction import.
-
Table: RA_LINE_ORDER_BY_COLUMNS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_LINE_ORDER_BY_COLUMNS, object_name:RA_LINE_ORDER_BY_COLUMNS, status:VALID, product: AR - Receivables , description: Table of columns to order by for AutoInvoice line ordering rules , implementation_dba_data: AR.RA_LINE_ORDER_BY_COLUMNS ,
-
Table: RA_LINE_ORDER_BY_COLUMNS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_LINE_ORDER_BY_COLUMNS, object_name:RA_LINE_ORDER_BY_COLUMNS, status:VALID, product: AR - Receivables , description: Table of columns to order by for AutoInvoice line ordering rules , implementation_dba_data: AR.RA_LINE_ORDER_BY_COLUMNS ,