IBY_DOCUMENT_LINES_H

IBY_DOCUMENT_LINES_H stores historical snapshots of document line items. This table contains denormalized versions of document lines from specific points in time, including when the payment for the associated document was submitted to a payment system. Different snapshots of the same document line can exist in this table. These snapshots are differentiated by the table's primary key and a snapshot date.

Details

  • Schema: FUSION

  • Object owner: IBY

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

IBY_DOCUMENT_LINES_H_PK

DOCUMENT_LINE_HISTORY_ID

Columns

Name Datatype Length Precision Not-null Comments
DOCUMENT_LINE_HISTORY_ID NUMBER 18 Yes System generated primary key
DOCUMENT_LINE_HISTORY_DATE DATE Yes Document line snapshot date
DOCUMENT_PAYABLE_HISTORY_ID NUMBER 18 Yes Document payable snapshot with which this line is associated
DOCUMENT_PAYABLE_LINE_ID NUMBER 18 Yes Oracle Payments' internal payment document line Identifier
DOCUMENT_PAYABLE_ID NUMBER 18 Yes Oracle Payments' internal payment document Identifier
CALLING_APP_DOCUMENT_LINE_CODE VARCHAR2 255 Yes Source product''s document line Identifier. Since document line Identifiers may be alphanumeric, even numeric document Identifiers are stored as VARCHAR2.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of 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.
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.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
PO_NUMBER VARCHAR2 255 Purchase order numbers to which this document line is matched. If multiple purchase orders, value is comma delimited.
LINE_NUMBER NUMBER 18 Line number
LINE_TYPE VARCHAR2 30 Line type
LINE_NAME VARCHAR2 100 Line name
LINE_AMOUNT NUMBER Line amount, in document currency
DESCRIPTION VARCHAR2 255 Line description
UNIT_PRICE NUMBER Unit price
QUANTITY NUMBER Quantity
UNIT_OF_MEASURE VARCHAR2 100 Unit of measure

Foreign Keys

Table Foreign Table Foreign Key Column
IBY_DOCUMENT_LINES_H iby_docs_payable_all DOCUMENT_PAYABLE_ID
IBY_DOCUMENT_LINES_H iby_documents_payable_h DOCUMENT_PAYABLE_HISTORY_ID

Indexes

Index Uniqueness Tablespace Columns
IBY_DOCUMENT_LINES_H_PK Unique Default DOCUMENT_LINE_HISTORY_ID