Search Results lns_loan_lines
Overview
LNS_LOAN_LINES is a transactional table in the Oracle E-Business Suite Loans (LNS) module, holding the individual line-level records that comprise a loan or loan-related financial instrument. Within the LNS schema, the table functions as the granular detail layer beneath a loan header, capturing references, amounts, payment schedules, installment information, approval or rejection activity, and adjustment data. It is populated and maintained primarily through the Loans origination, funding, and servicing flows in Oracle EBS 12.1.1 and 12.2.2.
From a Data Vault modeling perspective, the mined foreign key structure classifies this table heuristically as standalone — that is, the column set does not exhibit the classic hub-and-link partitioning expected of a fully normalized Data Vault design. In practice, this means LNS_LOAN_LINES behaves less like a pure hub or link and more like a transactional or satellite-style record whose rows are anchored by the LOAN_LINE_ID surrogate key and whose descriptive and numeric attributes are subject to update over the loan lifecycle, as evidenced by columns such as LAST_UPDATE_DATE, OBJECT_VERSION_NUMBER, and ADJUSTMENT_DATE.
Key Information Stored
The table is defined with a documented physical schema of 24 columns. The most significant columns for integration and reporting purposes include:
- LOAN_LINE_ID — surrogate primary key defined by the LNS_LOAN_LINES_PK constraint; also the sole column in the unique index LNS_LOAN_LINES_U1, making it the primary business-key candidate for line-level identity.
- LOAN_ID — foreign reference to the parent loan record, enabling line-to-loan rollups.
- REFERENCE_TYPE, REFERENCE_ID, REFERENCE_NUMBER, REFERENCE_DESCRIPTION — the polymorphic reference block describing what the line is associated with (for example, an external instrument or document).
- REFERENCE_AMOUNT — monetary amount tied to the reference.
- REQUESTED_AMOUNT — amount requested on the line, typically the value used in origination and approval decisions.
- REC_ADJUSTMENT_NUMBER, REC_ADJUSTMENT_ID — identifiers linking the line to a receipt adjustment.
- PAYMENT_SCHEDULE_ID, INSTALLMENT_NUMBER — connects the line to scheduled repayment and identifies the specific installment.
- END_DATE — effective end of the line's term.
- STATUS — current lifecycle state of the line.
- APPR_REJECT_DATE, APPR_REJECT_BY — audit of approval or rejection events.
- ADJUSTMENT_DATE, ORIGINAL_FLAG — distinguishes adjusted versus original line records.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the OAF/Forms framework.
The standard WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN) provide audit trail attributes.
Common Use Cases and Queries
Typical reporting scenarios include retrieving all lines for a given loan, reconciling requested versus reference amounts, and auditing approval or rejection activity. A representative query joining lines to their parent loan is:
SELECT ll.LOAN_LINE_ID, ll.LOAN_ID, ll.REQUESTED_AMOUNT, ll.STATUS FROM LNS.LNS_LOAN_LINES ll WHERE ll.LOAN_ID = :p_loan_id;SELECT LOAN_ID, SUM(REQUESTED_AMOUNT) FROM LNS.LNS_LOAN_LINES GROUP BY LOAN_ID;SELECT LOAN_LINE_ID, APPR_REJECT_BY, APPR_REJECT_DATE FROM LNS.LNS_LOAN_LINES WHERE APPR_REJECT_DATE IS NOT NULL;SELECT LOAN_LINE_ID, INSTALLMENT_NUMBER, END_DATE FROM LNS.LNS_LOAN_LINES WHERE PAYMENT_SCHEDULE_ID = :p_schedule_id ORDER BY INSTALLMENT_NUMBER;
Adjustment reporting commonly filters on ORIGINAL_FLAG and ADJUSTMENT_DATE to separate original lines from restructured ones, while the REC_ADJUSTMENT_ID and REC_ADJUSTMENT_NUMBER columns support receipt-level reconciliation.
Related Objects
The following objects are most significant to working with LNS_LOAN_LINES, based on the primary key, foreign key, and reference structure documented above:
- LNS_LOAN_HEADERS (or the parent loan table) — joined on LOAN_ID = LOAN_LINE_ID's parent, providing header-level loan attributes.
- LNS_LOAN_LINES_PK — the primary key constraint enforcing LOAN_LINE_ID uniqueness.
- LNS_LOAN_LINES_U1 — the unique index on LOAN_LINE_ID supporting business-key lookups.
- Receipt adjustment tables — referenced via REC_ADJUSTMENT_ID and REC_ADJUSTMENT_NUMBER.
- Payment schedule tables — referenced via PAYMENT_SCHEDULE_ID for installment planning.
- LNS Loans public APIs — origination, approval, and servicing APIs that insert, update, and lock rows using OBJECT_VERSION_NUMBER.
Because the table is classified as standalone, joins are driven by the explicit LOAN_ID and REFERENCE_ID/PAYMENT_SCHEDULE_ID columns rather than a normalized link table.
-
Table: LNS_LOAN_LINES
12.1.1
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_LOAN_LINES, object_name:LNS_LOAN_LINES, status:VALID, product: LNS - Loans , description: Loan Lines Table , implementation_dba_data: LNS.LNS_LOAN_LINES ,
-
Table: LNS_LOAN_LINES
12.2.2
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_LOAN_LINES, object_name:LNS_LOAN_LINES, status:VALID, product: LNS - Loans , description: Loan Lines Table , implementation_dba_data: LNS.LNS_LOAN_LINES ,
-
APPS.LNS_LOAN_LINE_PUB SQL Statements
12.2.2
-
APPS.LNS_LOAN_LINE_PUB SQL Statements
12.1.1
-
SYNONYM: APPS.LNS_LOAN_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:LNS_LOAN_LINES, status:VALID,
-
VIEW: LNS.LNS_LOAN_LINES#
12.2.2
owner:LNS, object_type:VIEW, object_name:LNS_LOAN_LINES#, status:VALID,
-
SYNONYM: APPS.LNS_LOAN_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:LNS_LOAN_LINES, status:VALID,
-
VIEW: LNS.LNS_LOAN_LINES#
12.2.2
-
APPS.LNS_DISTRIBUTIONS_PUB SQL Statements
12.1.1
-
APPS.LNS_DISTRIBUTIONS_PUB SQL Statements
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.LNS_PRIN_TRX_ACTIVITIES_V
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.LNS_LOAN_LINE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_LOAN_LINE_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_SUBMIT_FOR_APPROVAL_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_SUBMIT_FOR_APPROVAL_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_LOAN_LINE_PUB
12.2.2
-
PACKAGE BODY: APPS.LNS_LOAN_LINE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_LOAN_LINE_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_SUBMIT_FOR_APPROVAL_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_SUBMIT_FOR_APPROVAL_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_LOAN_LINE_PUB
12.1.1
-
TABLE: LNS.LNS_LOAN_LINES
12.1.1
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_LOAN_LINES, object_name:LNS_LOAN_LINES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.LNS_LOAN_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_LOAN_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_IMPORT_LOAN_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_IMPORT_LOAN_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_REP_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_REP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.LNS_CUSTOM_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_CUSTOM_PUB, status:VALID,
-
VIEW: APPS.LNS_LOAN_INFO
12.2.2
-
TABLE: LNS.LNS_LOAN_LINES
12.2.2
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_LOAN_LINES, object_name:LNS_LOAN_LINES, status:VALID,
-
PACKAGE BODY: APPS.LNS_FINANCIALS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_FINANCIALS, status:VALID,
-
PACKAGE BODY: APPS.LNS_PAYOFF_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_PAYOFF_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_LOAN_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_LOAN_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_REP_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_REP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.LNS_APPROVAL_ACTION_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_APPROVAL_ACTION_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_DISTRIBUTIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_DISTRIBUTIONS_PUB, status:VALID,
-
VIEW: APPS.LNS_AM_SCHEDS_V
12.2.2
-
PACKAGE: APPS.LNS_LOAN_LINE_PUB
12.1.1
-
PACKAGE: APPS.LNS_LOAN_LINE_PUB
12.2.2
-
VIEW: APPS.LNS_LOAN_INFO
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:LNS.LNS_LOAN_INFO, object_name:LNS_LOAN_INFO, status:VALID,
-
VIEW: APPS.LNS_PRIN_TRX_ACTIVITIES_V
12.2.2
owner:APPS, object_type:VIEW, object_name:LNS_PRIN_TRX_ACTIVITIES_V, status:VALID,
-
PACKAGE BODY: APPS.LNS_BILLING_BATCH_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_BILLING_BATCH_PUB, status:VALID,
-
APPS.LNS_FINANCIALS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.LNS_DISTRIBUTIONS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_DISTRIBUTIONS_PUB, status:VALID,
-
PACKAGE BODY: APPS.LNS_BILLING_BATCH_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_BILLING_BATCH_PUB, status:VALID,
-
TABLE: LNS.LNS_COND_ASSIGNMENTS
12.2.2
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_COND_ASSIGNMENTS, object_name:LNS_COND_ASSIGNMENTS, status:VALID,