AP_DOC_SEQUENCE_AUDIT
AP_DOC_SEQUENCES_AUDIT contains audit information for document sequence numbers assigned to invoices and payments. Document sequence numbers are used to create unique, sequential, voucher numbers for referencing invoices and payments. . Each document sequence is defined with a range of numbers. A document sequence is assigned to a document category which, in turn, is assigned to a document (invoice or payment) during creation. . When a number for a document sequence is assigned to an invoice or payment, your Oracle Payables application creates a row in this table for the number. Your Oracle Payables application uses the records in this table to verify the availability of a number for a particular document sequence before allowing the number to be assigned to a document.
Details
-
Schema: FUSION
-
Object owner: AP
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
AP_DOC_SEQUENCE_AUDIT_PK |
DOC_SEQUENCE_ID, DOC_SEQUENCE_VALUE |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
DOC_SEQUENCE_ID | NUMBER | Yes | A unique identifier that identifies the document sequence defined in the application. | ||
DOC_SEQUENCE_ASSIGNMENT_ID | NUMBER | Yes | Identifier for document category to which document sequence is assigned | ||
DOC_SEQUENCE_VALUE | NUMBER | Yes | Document sequence value (voucher number) assigned to an invoice or payment | ||
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. | |
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_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_checks_all | ap_doc_sequence_audit | DOC_SEQUENCE_ID, DOC_SEQUENCE_VALUE |
ap_invoices_all | ap_doc_sequence_audit | DOC_SEQUENCE_ID, DOC_SEQUENCE_VALUE |
Indexes
Index | Uniqueness | Columns |
---|---|---|
AP_DOC_SEQUENCE_AUDIT_U1 | Unique | DOC_SEQUENCE_ID, DOC_SEQUENCE_VALUE |