AP_MATCHING_RULES

AP_MATCHING_RULES table contains the rule information to perform automatic matching of invoice lines in the interface tables.

Details

  • Schema: FUSION

  • Object owner: AP

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

AP_MATCH_RULES_PK

MATCHING_RULE_ID

Columns

Name Datatype Length Precision Not-null Comments
MATCHING_RULE_ID NUMBER 18 Yes Matching rule unique identifier.
MATCHING_RULE_NAME VARCHAR2 50 Yes Name of the matching rule that can be used to identify the rule setup.
DESCRIPTION VARCHAR2 240 Description of the matching rule.
MATCH_OPTION VARCHAR2 1 Yes Purchase order schedule attribute that indicates whether to match the invoice to a purchase order, receipt, or consumption advice.
ENABLED_FLAG VARCHAR2 1 Indicates if matching rule set is enabled.
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_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.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
ap_matching_rule_attrs ap_matching_rules MATCHING_RULE_ID
ap_matching_rule_set_lines ap_matching_rules MATCHING_RULE_ID

Indexes

Index Uniqueness Tablespace Columns
AP_MATCH_RULES_U1 Unique Default MATCHING_RULE_ID
AP_MATCH_RULES_U2 Unique Default MATCHING_RULE_NAME