AP_TERMS_LINES

AP_TERMS_LINES stores detail information about payment terms you define. You need one row for each scheduled payment that you want your Oracle Payables application to create for an invoice. Split terms have more than one row in this table. DAY_OF_MONTH columns pertain to proxima terms.

Details

  • Schema: FUSION

  • Object owner: AP

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

AP_TERMS_LINES_PK

TERM_ID, SEQUENCE_NUM

Columns

Name Datatype Length Precision Not-null Comments Flexfield-mapping
TERM_ID NUMBER Yes A unique identifier for the payment term.
SEQUENCE_NUM NUMBER Yes Number of the payment term line.
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.
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_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
DUE_PERCENT NUMBER Percentage of payment due by a certain date
DUE_AMOUNT NUMBER Maximum of payment amount due by a certain date
DUE_DAYS NUMBER Number of days after terms date, used to calculate due date of invoice payment line
DUE_DAY_OF_MONTH NUMBER Day of month used to calculate due date of invoice payment line
DUE_MONTHS_FORWARD NUMBER Number of months ahead, used to calculate due date of invoice payment line
DISCOUNT_PERCENT NUMBER Percentage used to calculate discount available for invoice payment line
DISCOUNT_DAYS NUMBER Number of days after terms date, used to calculate discount date for invoice payment line
DISCOUNT_DAY_OF_MONTH NUMBER Day of month used to calculate discount date for invoice payment line
DISCOUNT_MONTHS_FORWARD NUMBER Number of months ahead used to calculate discount date for invoice payment line
DISCOUNT_PERCENT_2 NUMBER Percentage used to calculate second discount available for invoice payment line
DISCOUNT_DAYS_2 NUMBER Number of days after terms date, used to calculate second discount available for invoice payment line
DISCOUNT_DAY_OF_MONTH_2 NUMBER Day of month used to calculate second discount available for invoice payment line
DISCOUNT_MONTHS_FORWARD_2 NUMBER Number of months ahead, used to calculate discount available for invoice payment line
DISCOUNT_PERCENT_3 NUMBER Percentage used to calculate third discount available for invoice payment line
DISCOUNT_DAYS_3 NUMBER Number of days after terms date, used to calculate third discount for invoice payment line
DISCOUNT_DAY_OF_MONTH_3 NUMBER Day of month used to calculate third discount for invoice payment line
DISCOUNT_MONTHS_FORWARD_3 NUMBER Number of months ahead, used to calculate third discount for invoice payment line
ATTRIBUTE_CATEGORY VARCHAR2 150 Descriptive Flexfield: structure definition of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE1 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE2 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE3 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE4 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE5 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE6 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE7 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE8 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE9 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE10 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE11 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE12 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE13 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE14 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
ATTRIBUTE15 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Payment Terms Details (AP_TERMS_LINES)
FIXED_DATE DATE Payment term attribute that indicates the payment due date.
CALENDAR VARCHAR2 30 Name of special calendar associated with the term line
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.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
AP_TERMS_LINES ap_terms_b TERM_ID

Indexes

Index Uniqueness Tablespace Columns
AP_TERMS_LINES_N1 Non Unique FUSION_TS_SEED LAST_UPDATE_DATE
AP_TERMS_LINES_U1 Unique Default TERM_ID, SEQUENCE_NUM, ORA_SEED_SET1
AP_TERMS_LINES_U11 Unique Default TERM_ID, SEQUENCE_NUM, ORA_SEED_SET2