RA_GROUPING_RULES

The RA_GROUPING_RULES table stores grouping rules used by AutoInvoice. Grouping rules determine how different invoice lines from the RA_INTERFACE_LINES_ALL AutoInvoice table are grouped together to create an invoice. . Grouping rules contain various transaction attributes that must be identical for the same transaction. For example, if transaction number is part of your grouping rule and you have two records in the interface tables with different transaction numbers, AutoInvoice will create two transactions. . The primary key for this table is GROUPING_RULE_ID.

Details

  • Schema: FUSION

  • Object owner: AR

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

RA_GROUPING_RULES_PK

GROUPING_RULE_ID

Columns

Name Datatype Length Precision Not-null Comments Flexfield-mapping
GROUPING_RULE_ID NUMBER 18 Yes Grouping rule identifier
NAME VARCHAR2 40 Yes Grouping rule name
START_DATE DATE Yes Grouping rule start date
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
DESCRIPTION VARCHAR2 80 Grouping rule description
ORDERING_RULE_ID NUMBER 18 Ordering rule identifier associated with this grouping rule. Foreign key to the RA_LINE_ORDERING_RULES table.
END_DATE DATE Grouping rule end date
ATTRIBUTE_CATEGORY VARCHAR2 30 Descriptive Flexfield: structure definition of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE1 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE2 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE3 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE4 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE5 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE6 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE7 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE8 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE9 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE10 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE11 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE12 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE13 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE14 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
ATTRIBUTE15 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Grouping Rules (RA_GROUPING_RULES)
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
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.
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_GROUPING_RULES ra_line_ordering_rules ORDERING_RULE_ID
ra_grouping_trx_types ra_grouping_rules GROUPING_RULE_ID
ra_batch_sources_all ra_grouping_rules GROUPING_RULE_ID
hz_customer_profiles_f ra_grouping_rules GROUPING_RULE_ID
hz_cust_profile_classes ra_grouping_rules GROUPING_RULE_ID

Indexes

Index Uniqueness Tablespace Columns
RA_GROUPING_RULES_U1 Unique Default GROUPING_RULE_ID, ORA_SEED_SET1
RA_GROUPING_RULES_U11 Unique Default GROUPING_RULE_ID, ORA_SEED_SET2
RA_GROUPING_RULES_U2 Unique Default NAME, ORA_SEED_SET1
RA_GROUPING_RULES_U21 Unique Default NAME, ORA_SEED_SET2