EXM_EXPENSE_ERRORS
This table stores information about validations and policy violations that are used to create expenses errors and warnings.
Details
-
Schema: FUSION
-
Object owner: EXM
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
EXM_EXPENSE_ERRORS_PK |
EXPENSE_ERROR_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| EXPENSE_ERROR_ID | NUMBER | 18 | Yes | Unique identifier of an expense item exception. | |
| EXPENSE_ID | NUMBER | 18 | Yes | Identifier of the expense item with exceptions. | |
| PERSON_ID | NUMBER | 18 | Identifier of the user who created the expense item. | ||
| ORG_ID | NUMBER | 18 | Indicates the identifier of the business unit associated to the row. | ||
| ERROR_STRING_CODE | VARCHAR2 | 75 | Error code of the exception message. | ||
| ERROR_STRING_TEXT | VARCHAR2 | 4000 | Exception message reported for the expense. | ||
| ASSIGNMENT_ID | NUMBER | 18 | Assignment identifier of the user who created the expense item. | ||
| ATTENDEE_PARTY_ID | NUMBER | 18 | Party identifier of associated expenses. | ||
| EXPENSE_ATTENDEE_ID | NUMBER | 18 | Attendee identifier for the associated expense. | ||
| DISPLAY_SEQUENCE | NUMBER | Display sequence within the card category. | |||
| USER_ACTION_REQUIRED_FLAG | VARCHAR2 | 1 | Indicates whether the user needs to perform some action on the expense item. | ||
| ACKNOWLEDGMENT_FLAG | VARCHAR2 | 1 | Indicates whether the user has acknowledged the policy violation. | ||
| VIOLATION_TYPE | VARCHAR2 | 30 | Type of policy violation, such as receipt missing, corporate card required, conversion rate, or category-based policy. | ||
| EXPENSE_TYPE_CATEGORY_CODE | VARCHAR2 | 30 | Grouping of expense types and additional data fields that are relevant for an expense group, such as airfare. | ||
| WARNING_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the exception is a warning or an error. | |
| VALIDATION_ERROR_MESSAGES | VARCHAR2 | 4000 | Summary of errors reported for an expense item. | ||
| VALIDATION_WARNING_MESSAGES | VARCHAR2 | 4000 | Summary of warnings reported for an expense item. | ||
| EXCEPTION_TYPE_CODE | VARCHAR2 | 30 | Yes | Type of exception. Possible values are RowValidation, AttributeValidation, DffRowValidation or DffAttributeValidation. | |
| ERROR_CODE | VARCHAR2 | 75 | Yes | Error code of the exception message. | |
| OBJECT_NAME | VARCHAR2 | 75 | Yes | Object for which the exception is generated. | |
| ATTRIBUTE_NAME | VARCHAR2 | 75 | UI element for which the exception is generated. | ||
| ATTRIBUTE_VALUE | VARCHAR2 | 264 | Value of the UI element for which the exception is generated. | ||
| 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. | |
| 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_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. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| EXCEEDED_AMOUNT | NUMBER | Amount by which the expense exceeded the allowable amount limit causing a policy violation. | |||
| ALLOWABLE_AMOUNT | NUMBER | Amount allowed for the expense type by the company policy. | |||
| POLICY_LINE_ID | NUMBER | 18 | Policy identifier associated to the expense. | ||
| POLICY_SOURCE | VARCHAR2 | 50 | Type of policy source, such as receipt missing, corporate card required, conversion rate, or category-based policy. | ||
| JUSTIFICATION | VARCHAR2 | 240 | Reason an expense was incurred. | ||
| DISPLAY_TO_USER_FLAG | VARCHAR2 | 1 | Indicates whether policy violations should be displayed to the user. | ||
| TOKEN_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the exception message contains a token. | |
| TOKEN1_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| TOKEN1_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| TOKEN2_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| TOKEN2_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| TOKEN3_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| TOKEN3_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| TOKEN4_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| TOKEN4_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| TOKEN5_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| TOKEN5_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| STRING_TOKEN1_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| STRING_TOKEN1_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| STRING_TOKEN2_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| STRING_TOKEN2_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| STRING_TOKEN3_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| STRING_TOKEN3_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| STRING_TOKEN4_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| STRING_TOKEN4_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. | ||
| STRING_TOKEN5_NAME | VARCHAR2 | 30 | Name or code of the token in the exception message. | ||
| STRING_TOKEN5_VALUE | VARCHAR2 | 100 | Value of the token in the exception message. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| EXM_EXPENSE_ERRORS_N1 | Non Unique | Default | EXPENSE_ID |
| EXM_EXPENSE_ERRORS_N2 | Non Unique | Default | EXPENSE_ATTENDEE_ID |
| EXM_EXPENSE_ERRORS_N3 | Non Unique | Default | PERSON_ID, ORG_ID |
| EXM_EXPENSE_ERRORS_U1 | Unique | Default | EXPENSE_ERROR_ID |