RA_RULES

The RA_RULES table stores invoicing and accounting rules. Receivables creates one row in this table for each invoicing and accounting rule that you define. . Receivables uses invoicing rules to determine when to recognize a receivable for invoices that span more than one accounting period. Assign invoicing rules to invoices that are manually entered or imported into Receivables through AutoInvoice. Receivables provides two invoicing rules: the Bill in Advance rule tells Receivables to recognize your receivable immediately, while the Bill in Arrears rule tells Receivables to recognize the receivable at the end of the revenue recognition schedule. . Receivables uses accounting rules to determine revenue recognition schedules for invoice lines. Receivables stores revenue recognition schedules in the RA_RULE_SCHEDULES table. Use accounting rules to specify the number of periods and the percentage of the total revenue to recognize in each period. . The primary key for this table is RULE_ID.

Details

  • Schema: FUSION

  • Object owner: AR

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

RA_RULES_PK

RULE_ID

Columns

Name Datatype Length Precision Not-null Comments Flexfield-mapping
RULE_ID NUMBER 18 Yes Revenue recognition rule identifier
MODULE_ID VARCHAR2 32 Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data.
CALENDAR_ID NUMBER 18 Not currently used.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
NAME VARCHAR2 30 Yes Revenue recognition rule name
TYPE VARCHAR2 10 Yes Lookup code for RULE_TYPE
STATUS VARCHAR2 1 Yes Rule status flag. Lookup code for CODE_STATUS
FREQUENCY VARCHAR2 15 Frequency, such as daily or weekly
OCCURRENCES NUMBER Number of accounting dates to recognize revenue
DESCRIPTION VARCHAR2 80 Description of invoicing and accounting rules.
ATTRIBUTE_CATEGORY VARCHAR2 30 Descriptive Flexfield: structure definition of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE1 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE2 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE3 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE4 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE5 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE6 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE7 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE8 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE9 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE10 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE11 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE12 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE13 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE14 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
ATTRIBUTE15 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Invoice and Accounting Rules (RA_RULES)
DEFERRED_REVENUE_FLAG VARCHAR2 1 Deferred revenue flag
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
SET_ID NUMBER 18 Yes Identifies a set of reference data shared across business units and other entities. Also known as Reference Data Sets, they are used to filter reference data in transactional UIs.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
ra_customer_trx_all ra_rules INVOICING_RULE_ID
vrm_source_doc_types_b ra_rules DEFAULT_REVENUE_RULE_ID
ar_memo_lines_all_b ra_rules INVOICING_RULE_ID
ar_memo_lines_all_b ra_rules ACCOUNTING_RULE_ID
vrm_perf_obligation_lines ra_rules REV_REC_PROCESD_REV_RULE_ID
vrm_perf_obligation_lines ra_rules REVENUE_RULE_ID
okc_k_headers_all_b_h ra_rules INV_RULE_ID
okc_k_headers_all_b_h ra_rules ACCT_RULE_ID
ra_interface_lines_all ra_rules INVOICING_RULE_ID
ra_interface_lines_all ra_rules ACCOUNTING_RULE_ID
okc_k_headers_all_b ra_rules INV_RULE_ID
okc_k_headers_all_b ra_rules ACCT_RULE_ID
ra_customer_trx_lines_all ra_rules ACCOUNTING_RULE_ID

Indexes

Index Uniqueness Tablespace Columns
RA_RULES_N1 Non Unique Default NAME
RA_RULES_U1 Unique Default RULE_ID, ORA_SEED_SET1
RA_RULES_U11 Unique Default RULE_ID, ORA_SEED_SET2