AP_HISTORY_INVOICES_ALL
AP_HISTORY_INVOICES_ALL stores summary information of the invoices your Oracle Payables application purges based on purge criteria you enter when you submit a purge. Your Oracle Payables application inserts summary invoice information in this table when you confirm a purge process. Your Oracle Payables application stores related payment information in AP_HISTORY_CHECKS and stores the relationships in AP_HISTORY_INV_PAYMENTS.
Details
-
Schema: FUSION
-
Object owner: AP
-
Object type: TABLE
-
Tablespace: ARCHIVE
Primary Key
Name | Columns |
---|---|
AP_HISTORY_INVOICES_PK |
INVOICE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
INVOICE_ID | NUMBER | 18 | Yes | Unique supplier identifier against which an invoice is created. | |
VENDOR_ID | NUMBER | 18 | Yes | Unique supplier identifier on invoices that are created. | |
VENDOR_SITE_CODE | VARCHAR2 | 240 | Unique supplier site identifier against which an invoice is created. | ||
INVOICE_NUM | VARCHAR2 | 50 | Yes | Invoice number that is on the physical invoice. | |
INVOICE_DATE | DATE | Invoice date that is on the physical invoice. | |||
INVOICE_AMOUNT | NUMBER | Yes | Amount for which invoice is prepared. | ||
BATCH_NAME | VARCHAR2 | 50 | Name of the batch in which invoice is created. | ||
PURGE_NAME | VARCHAR2 | 15 | Name given to identify purge event. | ||
DOC_SEQUENCE_ID | NUMBER | Sequential Numbering (voucher number) document sequence identifier | |||
DOC_SEQUENCE_VALUE | NUMBER | Voucher number (Sequential Numbering) for invoice | |||
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to 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. | |
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. | ||
PARTY_ID | NUMBER | 18 | Yes | An entity that can enter into business relationships with other entities and that submits invoices or other requests for payment. In some cases, goods or services or both are provided in return for payment. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
AP_HISTORY_INVOICES_ALL | poz_suppliers | VENDOR_ID |
ap_history_inv_payments_all | ap_history_invoices_all | INVOICE_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
AP_HISTORY_INVOICES_ALL_U1 | Unique | Default | INVOICE_ID |
AP_HISTORY_INVOICES_U2 | Unique | Default | VENDOR_ID, INVOICE_NUM, ORG_ID, PARTY_ID |