AP_HISTORY_INV_PAYMENTS_ALL

AP_HISTORY_INVOICE_PAYMENTS_ALL stores the relationship between invoices and payments that your Oracle Payables application purges based on purge criteria you enter when you submit a purge. Your Oracle Payables application inserts summary payment and invoice information in this table when you confirm a purge process. There is one row for each payment you make for an invoice. Summary information for each payment and each invoice is stored in AP_HISTORY_CHECKS and AP_HISTORY_INVOICES. . There is no primary key for this table.

Details

  • Schema: FUSION

  • Object owner: AP

  • Object type: TABLE

  • Tablespace: ARCHIVE

Primary Key

Name Columns

AP_HISTORY_INV_PAYMENTS_ALL_PK

INVOICE_ID, CHECK_ID

Columns

Name Datatype Length Precision Not-null Comments
INVOICE_ID NUMBER 18 Yes Identifier of invoice against which payment is made.
CHECK_ID NUMBER 18 Yes Payment record identifier that is used to make payment.
AMOUNT NUMBER Yes Amount for which payment is made.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
AP_HISTORY_INV_PAYMENTS_ALL ap_history_invoices_all INVOICE_ID
AP_HISTORY_INV_PAYMENTS_ALL ap_history_checks_all CHECK_ID

Indexes

Index Uniqueness Tablespace Columns
AP_HIST_INV_PAYMENTS_ALL_U1 Unique Default INVOICE_ID, CHECK_ID