EXM_EMAIL_RECEIPT_IMPORT
This table contains receipt details retrieved from an email server that were emailed by users to create expense items for expense reports.
Details
-
Schema: FUSION
-
Object owner: EXM
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
EXM_EMAIL_RECEIPT_IMPORT_PK |
EMAIL_RECEIPT_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
EMAIL_RECEIPT_ID | NUMBER | 18 | Yes | Primary key that locates email receipts. | |
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_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of 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. | |
FROM_EMAIL_ADDRESS | VARCHAR2 | 240 | Yes | Email address of the person who sent the electronic receipt. | |
NOTIFY_EMAIL_ADDRESS | VARCHAR2 | 240 | Email address of an employee who will receive the notifications for expense creation from the electronic receipt. | ||
TO_EMAIL_ADDRESS | VARCHAR2 | 240 | Email addresses of the To-recipients on the electronic receipt email sent by the merchant. | ||
CC_EMAIL_ADDRESS | VARCHAR2 | 240 | Email addresses of the recipients copied on the electronic receipt email sent by the merchant. | ||
EMAIL_CONTENT | CLOB | Yes | Email content received by the email server from the sender. | ||
PRE_IDR_PROCESSED_EMAIL | CLOB | Email content that is processed before it is sent it to Intelligent Document Recognition for parsing. | |||
IDR_RESPONSE | CLOB | Email content that is passed to a parsing engine where its response is stored as a collection of character data known as a Character Large Object. | |||
STATUS_CODE | VARCHAR2 | 30 | Yes | Code that describes the status of the email that was received by the server. | |
DOWNLOAD_REQUEST_ID | NUMBER | 18 | Request identifier of the process that imports data from the email server and loads it to the database. | ||
PROCESSING_REQUEST_ID | NUMBER | 18 | Request identifier of the process that relays email content to Intelligent Document Recognition for parsing. | ||
CREATION_REQUEST_ID | NUMBER | 18 | Request identifier of the process that attempts to create an expense by parsing the output from Intelligent Document Recognition. | ||
REJECT_REASON | VARCHAR2 | 240 | Processing reason the email was rejected. | ||
PERSON_ID | NUMBER | 18 | Identifier of the person who sent the email. | ||
EXPENSE_ID | NUMBER | 18 | Identifier of the expense item that was created in response to the email that the user sent to the mail server. | ||
ORIGINAL_EXPENSE_ID | NUMBER | 18 | Unique identifier of the prior expense created for the same trip. | ||
ORG_ID | NUMBER | 18 | Indicates the identifier of the business unit associated to the row. | ||
MESSAGE_ID | NUMBER | 18 | Identifier of the email sent to the mail server. | ||
EMAIL_DATE | TIMESTAMP | Date on which the email was received by the mail server. | |||
EMAIL_SUBJECT | VARCHAR2 | 200 | Subject of the email sent to the mail server. | ||
EXPENSE_DATE | TIMESTAMP | Date on which the expense was incurred. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
exm_email_receipt_import_U1 | Unique | Default | EMAIL_RECEIPT_ID |