Search Results wip_entity_attachments
Overview
APPS.WIP_ENTITY_COMMENTS_V is a reporting view in Oracle E-Business Suite (Release 12.1.1 and 12.2.2) that surfaces attachments and comments associated with Work in Process (WIP) entities. It consolidates data from the Oracle Attachments framework (FND_ATTACHED_DOCUMENTS, FND_DOCUMENTS_VL, and FND_DOCUMENT_CATEGORIES_VL) and filters narrowly to WIP discrete jobs and repetitive schedules.
The view is the standard access point for retrieving WIP entity comments stored as attachments under the document category WIP_ENTITY_ATTACHMENTS. It is commonly used by shop-floor reports, work order dispatch sheets, and custom concurrent programs that print or export job-level notes. Because it joins the EBS Attachments infrastructure, it exposes metadata (creation/update audit fields, attribute columns, document descriptions) rather than the attachment file itself.
Underlying Base Objects
Per the ETRM metadata, the view is defined over three referenced objects:
- FND_ATTACHED_DOCUMENTS (SYNONYM) — the primary source (alias FAD) that stores the link between an entity (here, a WIP job or repetitive schedule) and a document, and carries the PK1/PK2/PK3 columns and descriptive flexfield ATTRIBUTEn columns.
- FND_DOCUMENTS_VL (VIEW) — the multilingual document definition (alias D); its DESCRIPTION supplies the view's COMMENT_CODE column.
- FND_DOCUMENT_CATEGORIES_VL (VIEW) — the category definition (alias C), used in the WHERE clause to restrict results to the category named
WIP_ENTITY_ATTACHMENTS.
The PK columns in FND_ATTACHED_DOCUMENTS are decoded based on ENTITY_NAME: for WIP_DISCRETE_JOBS, PK1 is the WIP entity and PK2 is the organization; for WIP_REPETITIVE_SCHEDULES, PK1 is the WIP entity, PK2 is the repetitive schedule, and PK3 is the organization.
Key Columns
- WIP_ENTITY_ID — the WIP entity identifier (from PK1_VALUE, cast to NUMBER).
- ORGANIZATION_ID — decoded from PK3 (repetitive) or PK2 (discrete), identifying the inventory organization.
- COMMENT_CODE — the document description from FND_DOCUMENTS_VL, effectively the comment text label.
- REPETITIVE_SCHEDULE_ID — populated only for repetitive schedules (PK2), NULL for discrete jobs.
- Audit columns — LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield columns preserved from the attachment record.
- APP_SOURCE_VERSION — always returned as NULL in this view definition.
Common Use Cases and Queries
Typical uses include printing remarks on work order travelers, feeding external MES/integration layers with job comments, and auditing attachment activity on WIP entities.
- List all comments for a discrete job, scoped by organization.
- Report repetitive schedule comments where REPETITIVE_SCHEDULE_ID is not null.
- Audit who created or last modified a WIP comment.
Sample SQL:
SELECT wip_entity_id, organization_id, repetitive_schedule_id,
comment_code, last_update_date, last_updated_by
FROM apps.wip_entity_comments_v
WHERE organization_id = :org_id
AND wip_entity_id = :wip_entity_id;
For repetitive schedules:
SELECT wip_entity_id, repetitive_schedule_id, comment_code
FROM apps.wip_entity_comments_v
WHERE repetitive_schedule_id IS NOT NULL
AND organization_id = :org_id;
Because the view reads the FND attachment tables directly, joins to WIP_DISCRETE_JOBS or WIP_REPETITIVE_SCHEDULES are recommended to confirm entity status and to combine comments with shop-floor scheduling data.
-
VIEW: APPS.WIP_ENTITY_COMMENTS_V
12.1.1
-
VIEW: APPS.WIP_COMMENT_CODES_V
12.2.2
-
VIEW: APPS.WIP_ENTITY_COMMENTS_V
12.2.2
-
VIEW: APPS.WIP_COMMENT_CODES_V
12.1.1
-
View: WIP_ENTITY_COMMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_ENTITY_COMMENTS_V, object_name:WIP_ENTITY_COMMENTS_V, status:VALID, product: WIP - Work in Process , description: Attachments to WIP entities , implementation_dba_data: APPS.WIP_ENTITY_COMMENTS_V ,
-
View: WIP_COMMENT_CODES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_COMMENT_CODES_V, object_name:WIP_COMMENT_CODES_V, status:VALID, product: WIP - Work in Process , description: Types of comments that can be attached to WIP entities , implementation_dba_data: APPS.WIP_COMMENT_CODES_V ,
-
View: WIP_COMMENT_CODES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_COMMENT_CODES_V, object_name:WIP_COMMENT_CODES_V, status:VALID, product: WIP - Work in Process , description: Types of comments that can be attached to WIP entities , implementation_dba_data: APPS.WIP_COMMENT_CODES_V ,
-
View: WIP_ENTITY_COMMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_ENTITY_COMMENTS_V, object_name:WIP_ENTITY_COMMENTS_V, status:VALID, product: WIP - Work in Process , description: Attachments to WIP entities , implementation_dba_data: APPS.WIP_ENTITY_COMMENTS_V ,