AP_UNSELECTED_INVOICES_ALL

AP_UNSELECTED_INVOICES_ALL is a temporary table used for payment batches. It holds invoice records inserted by the AutoSelect concurrent request that meet invoice selection criteria but could not be paid.

Details

  • Schema: FUSION

  • Object owner: AP

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

AP_UNSELECTED_INVOICES_ALL_PK

CHECKRUN_ID, INVOICE_ID, PAYMENT_NUM, DONT_PAY_REASON_CODE

Columns

Name Datatype Length Precision Not-null Comments
CHECKRUN_ID NUMBER 18 Yes A unique identifier for the payment process request.
INVOICE_ID NUMBER 18 Yes Identifies invoices that were selected for the payment process request but have not been paid.
PAYMENT_NUM NUMBER 18 Yes The identifying number of a payment.
DONT_PAY_REASON_CODE VARCHAR2 30 Yes Reason that OK_TO_PAY_FLAG is N
ORG_ID NUMBER 18 Yes Indicates the identifier of the business unit associated to the row.
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.
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_UNSELECTED_INVOICES_ALL ap_inv_selection_criteria_all CHECKRUN_ID
AP_UNSELECTED_INVOICES_ALL ap_invoices_all INVOICE_ID
AP_UNSELECTED_INVOICES_ALL ap_payment_schedules_all INVOICE_ID, PAYMENT_NUM

Indexes

Index Uniqueness Tablespace Columns
AP_UNSELECTED_INVOICES_U1 Unique Default CHECKRUN_ID, INVOICE_ID, PAYMENT_NUM, DONT_PAY_REASON_CODE