Search Results calc_discount_on_lines_flag
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
RA_TERMS_B is the base table that stores payment term definitions in Oracle Receivables (AR). It records each payment term header—the rule set that determines when an invoice or transaction becomes due, whether discounts apply for early payment, and how installments are structured. The table is owned by the AR schema and is a foundational reference object shared across Receivables, Order Management, Purchasing, and Advanced Pricing.
In Data Vault modeling terms, the mined foreign-key structure classifies RA_TERMS_B as hub-leaning. It behaves as a central business-key reference (hub) around which many dependent satellites and links are built, such as RA_TERMS_LINES and RA_TERMS_LINES_DISCOUNTS. This classification is a heuristic suggestion based on the density of inbound foreign keys rather than an enforced constraint.
Key Information Stored
The table contains 35 documented columns in ETRM 12.2.2. The surrogate primary key is TERM_ID (constraint RA_TERMS_B_PK). A unique index, RA_TERMS_B_U1, covers TERM_ID and ZD_EDITION_NAME. The most important columns include:
- TERM_ID — surrogate primary key identifying each payment term.
- DUE_CUTOFF_DAY — the cutoff day used to calculate due dates.
- PRINTING_LEAD_DAYS — lead days for printing purposes.
- START_DATE_ACTIVE / END_DATE_ACTIVE — the active date range for the term.
- CREDIT_CHECK_FLAG — indicates whether credit checking applies.
- BASE_AMOUNT — base amount used for term calculations.
- CALC_DISCOUNT_ON_LINES_FLAG — controls discount calculation at line level.
- FIRST_INSTALLMENT_CODE — code governing the treatment of the first installment.
- PARTIAL_DISCOUNT_FLAG — whether partial discounts are permitted.
- PREPAYMENT_FLAG — indicates a prepayment term.
- BILLING_CYCLE_ID — links to billing cycle definitions.
- IN_USE — usage indicator for the term record.
- ZD_EDITION_NAME — edition column used for multi-edition tracking.
- ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield segments.
- Audit columns — LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN.
Common Use Cases and Queries
RA_TERMS_B is most frequently queried to retrieve the payment terms attached to customers, transactions, sales orders, or items. Reports often join it to RA_CUSTOMER_TRX_ALL to display the term name on invoices, or to RA_CUSTOMERS to audit default terms. A typical query retrieves active terms:
SELECT TERM_ID, DUE_CUTOFF_DAY, START_DATE_ACTIVE, END_DATE_ACTIVE FROM RA_TERMS_B WHERE SYSDATE BETWEEN START_DATE_ACTIVE AND NVL(END_DATE_ACTIVE, SYSDATE+1);SELECT t.TERM_ID, c.CUSTOMER_NAME FROM RA_TERMS_B t, RA_CUSTOMERS c WHERE t.TERM_ID = c.PAYMENT_TERM_ID;SELECT t.TERM_ID FROM RA_TERMS_B t, RA_CUSTOMER_TRX_ALL x WHERE t.TERM_ID = x.TERM_ID;
Common scenarios include reconciling default terms assigned to transaction types (RA_CUST_TRX_TYPES_ALL.DEFAULT_TERM), validating item-level terms (MTL_SYSTEM_ITEMS_B.PAYMENT_TERMS_ID), and tracing order-to-cash term propagation through OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL.
Related Objects
RA_TERMS_B is referenced by a large set of dependent tables through TERM_ID and related foreign keys. The most significant include:
- RA_TERMS_LINES — installment/discount lines, joined on TERM_ID.
- RA_TERMS_LINES_DISCOUNTS — discount definitions, joined on TERM_ID.
- RA_CUSTOMER_TRX_ALL — invoices and credit memos, joined on TERM_ID.
- RA_CUSTOMERS — customer default term, joined on PAYMENT_TERM_ID.
- RA_CUST_TRX_TYPES_ALL — default terms by transaction type, joined on DEFAULT_TERM.
- RA_SITE_USES_ALL — site-level term assignment, joined on PAYMENT_TERM_ID.
- AR_PAYMENT_SCHEDULES_ALL — payment schedules, joined on TERM_ID.
- OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL — order terms, joined on PAYMENT_TERM_ID.
- MTL_SYSTEM_ITEMS_B — item-level terms, joined on PAYMENT_TERMS_ID.
- SO_HEADERS_ALL and SO_PRICE_LISTS_B — pricing and order terms, joined on TERMS_ID.
These relationships confirm RA_TERMS_B as a central reference hub whose TERM_ID cascades into discounting, scheduling, and order-capture processes throughout Oracle E-Business Suite.
-
Table: RA_TERMS_B
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERMS_B, object_name:RA_TERMS_B, status:VALID, product: AR - Receivables , description: Payment Term information , implementation_dba_data: AR.RA_TERMS_B ,
-
Table: RA_TERMS_B
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERMS_B, object_name:RA_TERMS_B, status:VALID, product: AR - Receivables , description: Payment Term information , implementation_dba_data: AR.RA_TERMS_B ,
-
Table: AR_SYSTEM_PARAMETERS_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_SYSTEM_PARAMETERS_ALL, object_name:AR_SYSTEM_PARAMETERS_ALL, status:VALID, product: AR - Receivables , description: Oracle Receivables system options , implementation_dba_data: AR.AR_SYSTEM_PARAMETERS_ALL ,
-
Table: AR_SYSTEM_PARAMETERS_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_SYSTEM_PARAMETERS_ALL, object_name:AR_SYSTEM_PARAMETERS_ALL, status:VALID, product: AR - Receivables , description: Oracle Receivables system options , implementation_dba_data: AR.AR_SYSTEM_PARAMETERS_ALL ,
-
VIEW: AR.RA_TERMS_B#
12.2.2
-
View: OE_RA_TERMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_RA_TERMS_V, object_name:OE_RA_TERMS_V, status:VALID, product: ONT - Order Management , description: This view is based on RA TERMS , implementation_dba_data: APPS.OE_RA_TERMS_V ,
-
VIEW: APPS.OE_RA_TERMS_V
12.2.2
-
VIEW: APPS.OE_RA_TERMS_V
12.1.1
-
View: AR_TRX_DISCOUNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_TRX_DISCOUNTS_V, object_name:AR_TRX_DISCOUNTS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_TRX_DISCOUNTS_V ,
-
View: OE_RA_TERMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_RA_TERMS_V, object_name:OE_RA_TERMS_V, status:VALID, product: ONT - Order Management , description: This view is based on RA TERMS , implementation_dba_data: APPS.OE_RA_TERMS_V ,
-
View: AR_TRX_DISCOUNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_TRX_DISCOUNTS_V, object_name:AR_TRX_DISCOUNTS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_TRX_DISCOUNTS_V ,
-
VIEW: APPS.AR_TRX_DISCOUNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_TRX_DISCOUNTS_V, object_name:AR_TRX_DISCOUNTS_V, status:VALID,
-
VIEW: APPS.AR_TRX_DISCOUNTS_V
12.1.1
-
VIEW: APPS.AR_TRX_DISCOUNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_TRX_DISCOUNTS_V, object_name:AR_TRX_DISCOUNTS_V, status:VALID,
-
VIEW: AR.RA_TERMS_B#
12.2.2
owner:AR, object_type:VIEW, object_name:RA_TERMS_B#, status:VALID,
-
VIEW: APPS.AR_TRX_DISCOUNTS_V
12.2.2
-
VIEW: AR.AR_SYSTEM_PARAMETERS_ALL#
12.2.2
-
VIEW: APPS.RA_TERMS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_TERMS_VL, object_name:RA_TERMS_VL, status:VALID,
-
View: AR_SYSTEM_PARAMETERS_ALL_MRC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_SYSTEM_PARAMETERS_ALL_MRC_V, object_name:AR_SYSTEM_PARAMETERS_ALL_MRC_V, status:VALID, product: AR - Receivables , description: - Retrofitted , implementation_dba_data: APPS.AR_SYSTEM_PARAMETERS_ALL_MRC_V ,
-
VIEW: APPS.RA_TERMS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_TERMS_VL, object_name:RA_TERMS_VL, status:VALID,
-
View: AR_SYSTEM_PARAMETERS_ALL_MRC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_SYSTEM_PARAMETERS_ALL_MRC_V, object_name:AR_SYSTEM_PARAMETERS_ALL_MRC_V, status:VALID, product: AR - Receivables , description: - Retrofitted , implementation_dba_data: APPS.AR_SYSTEM_PARAMETERS_ALL_MRC_V ,
-
VIEW: APPS.AR_SYSTEM_PARAMETERS_ALL_MRC_V
12.2.2
-
VIEW: APPS.AR_ICR_LINES_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_ICR_LINES_TRX_V, object_name:AR_ICR_LINES_TRX_V, status:VALID,
-
View: AR_RECEIVABLE_APPLICATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RECEIVABLE_APPLICATIONS_V, object_name:AR_RECEIVABLE_APPLICATIONS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_RECEIVABLE_APPLICATIONS_V ,
-
VIEW: APPS.AR_OPEN_ITEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_OPEN_ITEMS_V, object_name:AR_OPEN_ITEMS_V, status:VALID,
-
VIEW: APPS.AR_ICR_LINES_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_ICR_LINES_TRX_V, object_name:AR_ICR_LINES_TRX_V, status:VALID,
-
VIEW: APPS.AR_SYSTEM_PARAMETERS_ALL_MRC_V
12.1.1
-
View: AR_OPEN_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_OPEN_TRX_V, object_name:AR_OPEN_TRX_V, status:VALID, product: AR - Receivables , description: (Release 115 Only) , implementation_dba_data: APPS.AR_OPEN_TRX_V ,
-
View: AR_SYSTEM_PARAMETERS_MRC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_SYSTEM_PARAMETERS_MRC_V, object_name:AR_SYSTEM_PARAMETERS_MRC_V, status:VALID, product: AR - Receivables , description: - Retrofitted , implementation_dba_data: APPS.AR_SYSTEM_PARAMETERS_MRC_V ,
-
VIEW: APPS.AR_OPEN_ITEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_OPEN_ITEMS_V, object_name:AR_OPEN_ITEMS_V, status:VALID,
-
VIEW: APPS.AR_SYSTEM_PARAMETERS_MRC_V
12.1.1
-
View: RA_TERMS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_TERMS_VL, object_name:RA_TERMS_VL, status:VALID, product: AR - Receivables , description: (Release 11.5 and Release 12.0) , implementation_dba_data: APPS.RA_TERMS_VL ,
-
VIEW: APPS.IEX_RECEIVABLE_APPLICATIONS_V
12.2.2
-
View: AR_SYSTEM_PARAMETERS_MRC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_SYSTEM_PARAMETERS_MRC_V, object_name:AR_SYSTEM_PARAMETERS_MRC_V, status:VALID, product: AR - Receivables , description: - Retrofitted , implementation_dba_data: APPS.AR_SYSTEM_PARAMETERS_MRC_V ,
-
VIEW: APPS.AR_OPEN_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_OPEN_TRX_V, object_name:AR_OPEN_TRX_V, status:VALID,
-
View: AR_RECEIVABLE_APPLICATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RECEIVABLE_APPLICATIONS_V, object_name:AR_RECEIVABLE_APPLICATIONS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_RECEIVABLE_APPLICATIONS_V ,
-
VIEW: APPS.AR_RECEIVABLE_APPLICATIONS_V
12.1.1
-
View: AR_RA_SELECTED_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_RA_SELECTED_TRX_V ,
-
VIEW: APPS.AR_OPEN_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_OPEN_TRX_V, object_name:AR_OPEN_TRX_V, status:VALID,
-
VIEW: APPS.AR_SYSTEM_PARAMETERS_MRC_V
12.2.2
-
View: RA_TERMS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_TERMS_VL, object_name:RA_TERMS_VL, status:VALID, product: AR - Receivables , description: (Release 11.5 and Release 12.0) , implementation_dba_data: APPS.RA_TERMS_VL ,
-
VIEW: APPS.AR_RECEIVABLE_APPLICATIONS_V
12.2.2
-
VIEW: APPS.IEX_RECEIVABLE_APPLICATIONS_V
12.1.1
-
VIEW: APPS.AR_RA_SELECTED_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID,
-
VIEW: APPS.OE_RA_TERMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_RA_TERMS_V, object_name:OE_RA_TERMS_V, status:VALID,
-
VIEW: APPS.AR_RA_SELECTED_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID,
-
VIEW: APPS.OE_RA_TERMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_RA_TERMS_V, object_name:OE_RA_TERMS_V, status:VALID,
-
View: AR_OPEN_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_OPEN_TRX_V, object_name:AR_OPEN_TRX_V, status:VALID, product: AR - Receivables , description: (Release 115 Only) , implementation_dba_data: APPS.AR_OPEN_TRX_V ,
-
View: AR_RA_SELECTED_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_RA_SELECTED_TRX_V ,
-
View: AR_INTERIM_CR_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_INTERIM_CR_LINES_V, object_name:AR_INTERIM_CR_LINES_V, status:VALID, product: AR - Receivables , description: (Release 115 Only) , implementation_dba_data: APPS.AR_INTERIM_CR_LINES_V ,