Search Results position_line_id
Overview
The PSB_WS_LINES_POSITIONS table is a core intersection table within the Oracle E-Business Suite Public Sector Budgeting (PSB) module, specifically for versions 12.1.1 and 12.2.2. It functions as a critical matrix or association table that manages the many-to-many relationship between budget worksheets (PSB_WORKSHEETS) and individual position budget lines (PSB_WS_POSITION_LINES). Its primary role is to enable the sharing of position line data across multiple worksheets, ensuring data is stored efficiently without duplication. This table is fundamental to the worksheet distribution and consolidation processes, tracking which position lines are assigned to specific worksheets for budgeting activities.
Key Information Stored
The table's structure is focused on the association and its attributes. The two mandatory foreign key columns form a composite primary key: WORKSHEET_ID and POSITION_LINE_ID. These columns uniquely identify the link between a specific worksheet and a specific position line. The table includes control flags that govern the behavior of the position line within the context of the associated worksheet: FREEZE_FLAG indicates if the position instance is frozen, preventing edits, and VIEW_LINE_FLAG controls its visibility. Standard Oracle "Who" columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) are present for auditing and tracking changes to each association record.
Common Use Cases and Queries
A primary use case is reporting and validating the distribution of position lines across global and distributed worksheets. Administrators or budget analysts often need to list all position lines attached to a specific worksheet or identify all worksheets containing a particular position line for troubleshooting or audit purposes. Common SQL patterns include joining to the related master tables to get descriptive information. For example, to find all position lines for a specific worksheet, including their status flags:
- SELECT wlp.*, pl.position_code, w.name as worksheet_name
- FROM psb.psb_ws_lines_positions wlp,
- psb.psb_ws_position_lines pl,
- psb.psb_worksheets w
- WHERE wlp.worksheet_id = :p_worksheet_id
- AND wlp.position_line_id = pl.position_line_id
- AND wlp.worksheet_id = w.worksheet_id;
Another critical query involves checking the freeze status of position lines within a worksheet to understand what data is locked from further modification during the budget cycle.
Related Objects
PSB_WS_LINES_POSITIONS sits at the center of a key relationship between two major PSB entities. It has defined foreign key relationships that enforce referential integrity:
- PSB_WORKSHEETS: The WORKSHEET_ID column references this master table of budget worksheets. This defines the "worksheet" side of the association.
- PSB_WS_POSITION_LINES: The POSITION_LINE_ID column references this table, which stores the detailed definition and amounts for individual position budget lines. This defines the "position line" side of the association.
The table's primary key constraint, PSB_WS_LINES1_PK, is defined on the combination of (WORKSHEET_ID, POSITION_LINE_ID), ensuring each association is unique. The unique index PSB_WS_LINES_POS_U1 enforces this constraint for performance.
-
APPS.PSB_WORKSHEET dependencies on PSB_WS_LINES_POSITIONS
12.1.1
-
APPS.PSB_WORKSHEET dependencies on PSB_WS_LINES
12.1.1
-
APPS.PSB_WORKSHEET dependencies on PSB_WS_ELEMENT_LINES
12.1.1
-
APPS.PSB_WS_OPS_PVT dependencies on PSB_WS_ELEMENT_LINES
12.1.1
-
APPS.PSB_WORKSHEET dependencies on PSB_WS_FTE_LINES
12.1.1
-
APPS.PSB_WORKSHEET_CONSOLIDATE dependencies on PSB_WS_ELEMENT_LINES
12.1.1
-
APPS.PSB_WS_OPS_PVT dependencies on PSB_WS_POSITION_LINES
12.1.1
-
APPS.PSB_WS_OPS_PVT dependencies on PSB_WS_FTE_LINES
12.1.1
-
APPS.PSB_WS_POSITION_LINE_L_PVT dependencies on PSB_WS_POSITION_LINES
12.1.1
-
APPS.PSB_WORKSHEET dependencies on PSB_WS_POSITION_LINES
12.1.1
-
APPS.PSB_WS_POSITION_LINE_L_PVT SQL Statements
12.1.1
-
APPS.PSB_WS_POS_PVT SQL Statements
12.1.1
-
APPS.PSB_WS_POS_PVT dependencies on PSB_WS_ACCOUNT_LINES
12.1.1
-
APPS.PSB_WORKSHEET_CONSOLIDATE dependencies on PSB_WS_ACCOUNT_LINES
12.1.1
-
APPS.PSB_WS_OPS_PVT dependencies on PSB_WS_ACCOUNT_LINES
12.1.1
-
APPS.PSB_WS_ACCT1 dependencies on PSB_WS_LINES_POSITIONS
12.1.1
-
APPS.PSB_WS_OPS_PVT dependencies on PSB_WS_LINES_POSITIONS
12.1.1
-
APPS.PSB_WS_OPS_PVT SQL Statements
12.1.1
-
TABLE: PSB.PSB_WS_LINES_POSITIONS
12.1.1
owner:PSB, object_type:TABLE, fnd_design_data:PSB.PSB_WS_LINES_POSITIONS, object_name:PSB_WS_LINES_POSITIONS, status:VALID,
-
APPS.PSB_WORKSHEET dependencies on PSB_WS_ACCOUNT_LINES
12.1.1
-
APPS.PSB_WORKSHEET_CONSOLIDATE dependencies on PSB_WS_FTE_LINES
12.1.1
-
APPS.PSB_EXCEL2_PVT dependencies on PSB_WS_LINE_BALANCES_I
12.1.1
-
APPS.PSB_WS_POS1 SQL Statements
12.1.1
-
APPS.PSB_EXCEL2_PVT dependencies on PSB_WS_ELEMENT_LINES
12.1.1
-
APPS.PSB_EXCEL2_PVT dependencies on FND_MESSAGE
12.1.1
-
VIEW: APPS.PSBBV_WS_POSITION_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSBBV_WS_POSITION_LINES, object_name:PSBBV_WS_POSITION_LINES, status:VALID,
-
APPS.PSB_WS_POS_PVT dependencies on PSB_WS_LINES
12.1.1
-
APPS.PSB_WS_POS2 dependencies on PSB_WS_ACCOUNT_LINES
12.1.1
-
APPS.PSB_WS_POS2 dependencies on PSB_WS_FTE_LINES
12.1.1
-
APPS.PSB_WORKSHEET dependencies on PSB_POSITION_ASSIGNMENTS
12.1.1
-
APPS.PSB_WS_POS1 dependencies on PSB_WS_LINES_POSITIONS
12.1.1
-
VIEW: APPS.PSBFV_WS_POSITION_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSBFV_WS_POSITION_LINES, object_name:PSBFV_WS_POSITION_LINES, status:VALID,
-
TABLE: PSB.PSB_WS_ELEMENT_LINES
12.1.1
owner:PSB, object_type:TABLE, fnd_design_data:PSB.PSB_WS_ELEMENT_LINES, object_name:PSB_WS_ELEMENT_LINES, status:VALID,
-
VIEW: APPS.PSB_WS_ELEMENT_LINE_NAMES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSB_WS_ELEMENT_LINE_NAMES_V, object_name:PSB_WS_ELEMENT_LINE_NAMES_V, status:VALID,
-
APPS.PSB_WS_POS1 dependencies on PSB_WS_POSITION_LINES
12.1.1
-
TABLE: PSB.PSB_WS_POSITION_LINES
12.1.1
owner:PSB, object_type:TABLE, fnd_design_data:PSB.PSB_WS_POSITION_LINES, object_name:PSB_WS_POSITION_LINES, status:VALID,
-
VIEW: APPS.PSB_WS_FTE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSB_WS_FTE_LINES_V, object_name:PSB_WS_FTE_LINES_V, status:VALID,
-
VIEW: APPS.PSB_WS_SELECT_POSITIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSB_WS_SELECT_POSITIONS_V, object_name:PSB_WS_SELECT_POSITIONS_V, status:VALID,
-
APPS.PSB_POSITION_CONTROL_PVT dependencies on PSB_WS_ACCOUNT_LINES
12.1.1
-
VIEW: APPS.PSB_WS_ELEMENT_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSB_WS_ELEMENT_LINES_V, object_name:PSB_WS_ELEMENT_LINES_V, status:VALID,
-
PACKAGE BODY: APPS.PSB_WS_POSITION_LINE_L_PVT
12.1.1
-
VIEW: APPS.PSB_WS_POSITION_ACCOUNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSB_WS_POSITION_ACCOUNTS_V, object_name:PSB_WS_POSITION_ACCOUNTS_V, status:VALID,
-
VIEW: APPS.PSBBV_WS_ELEMENT_COST_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSBBV_WS_ELEMENT_COST_LINES, object_name:PSBBV_WS_ELEMENT_COST_LINES, status:VALID,
-
APPS.PSB_EXCEL_PVT dependencies on PSB_WS_YEAR_POSITIONS_V
12.1.1
-
APPS.PSB_WS_YEAR_TOTAL dependencies on PSB_WS_YEAR_POSITION_AMOUNTS_V
12.1.1
-
APPS.PSB_EXCEL_PVT dependencies on PSB_WS_FTE_LINES
12.1.1
-
APPS.PSB_WS_OPS_PVT dependencies on PSB_WS_LINES
12.1.1
-
Table: PSB_WS_LINES_POSITIONS
12.2.2
product: PSB - Public Sector Budgeting (Obsolete) , description: Matrix between PSB_WORKSHEETS and PSB_WS_POSITION_LINES , implementation_dba_data: Not implemented in this database ,
-
APPS.PSB_EXCEL2_PVT dependencies on PSB_WS_FTE_LINES
12.1.1
-
VIEW: APPS.PSB_WS_YEAR_POSITION_AMOUNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PSB.PSB_WS_YEAR_POSITION_AMOUNTS_V, object_name:PSB_WS_YEAR_POSITION_AMOUNTS_V, status:VALID,