Search Results fnd_documents_vl
Overview
FND_DOCUMENTS_VL is a seeded, VALID view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the FND — Application Object Library product and serves as the language-resolved presentation layer for the FND_DOCUMENTS entity, the central repository that stores metadata about attachments, documents, and files referenced throughout the EBS application. The "_VL" suffix denotes a "view language" construct: the view joins the base FND_DOCUMENTS table to its translation tables and filters each translated row to the session language returned by USERENV('LANG'). As a result, a query against FND_DOCUMENTS_VL always returns the description, title, and category name in the language of the connected user, without requiring the caller to write explicit joins to the _TL tables. This makes it the standard access point for reporting, integration, and form-level logic that must display document descriptors consistently in the user's native language.
Underlying Base Objects
The ETRM metadata documents the view as defined over six referenced base objects, each accessed through an APPS synonym: FND_DOCUMENTS (the primary entity holding document identity, file name, media, storage type, security, and DM/URL attributes), FND_DOCUMENTS_TL (translated description, title, and the fifteen DOC_ATTRIBUTE columns), FND_DOCUMENT_CATEGORIES and its translation table FND_DOCUMENT_CATEGORIES_TL (category identity and language-specific category user name), FND_DOCUMENT_DATATYPES (data type identity and language-specific user name), and FND_LOOKUP_VALUES (the lookup that supplies the meaning of USAGE_TYPE from lookup type ATCHMT_DOCUMENT_TYPE). The join condition equates DOCUMENT_ID across the document base and translation tables, CATEGORY_ID across the category pair, and applies LANGUAGE = USERENV('LANG') to every translated source and to the lookup row, so exactly one language-resolved row is returned per document for the active session language.
Key Columns
DOCUMENT_ID— Primary document identifier; the join key toFND_DOCUMENTSand all translation tables.DATATYPE_ID/DATATYPE_NAME— The document's data type and its language-resolved user name fromFND_DOCUMENT_DATATYPES.DESCRIPTION/TITLE— Language-resolved descriptive text sourced fromFND_DOCUMENTS_TL.FILE_NAME,MEDIA_ID,STORAGE_TYPE,URL— Physical location and retrieval attributes of the stored content.CATEGORY_ID,CATEGORY_APPLICATION_ID,CATEGORY_DESCRIPTION— Category identity and its translated category user name.USAGE_TYPE/USAGE_TYPE_DESCR— Attachment usage code and its meaning from theATCHMT_DOCUMENT_TYPElookup.SECURITY_TYPE/SECURITY_ID— Access control attributes governing who may view the document.START_DATE_ACTIVE/END_DATE_ACTIVE— Effective-dating range for the document record.PUBLISH_FLAG,IMAGE_TYPE,DM_NODE,DM_FOLDER_PATH,DM_TYPE,DM_DOCUMENT_ID,DM_VERSION_NUMBER,ORIG_DOC_ID— Publication, imaging, and document-management integration attributes.DOC_ATTRIBUTE_CATEGORYandDOC_ATTRIBUTE1–DOC_ATTRIBUTE15— Descriptive flexfield context and segment values for the document.- WHO columns (
CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN,REQUEST_ID,PROGRAM_APPLICATION_ID,PROGRAM_ID,PROGRAM_UPDATE_DATE) andROWID— Audit and concurrent-program context, withROWIDsupporting form-based update of the underlyingFND_DOCUMENTSrow.
Common Use Cases and Queries
The view is commonly used for attachment reporting, document inventory reconciliation, and integration extracts where human-readable descriptions are required in the user's language. A representative query lists active documents with their category and datatype:
SELECT document_id, title, description, file_name, usage_type_descr FROM fnd_documents_vl WHERE TRUNC(SYSDATE) BETWEEN NVL(start_date_active, SYSDATE) AND NVL(end_date_active, SYSDATE);- To find all versions of a document-managed file:
SELECT document_id, dm_document_id, dm_version_number, title FROM fnd_documents_vl WHERE orig_doc_id = :p_doc_id ORDER BY dm_version_number; - To extract category usage by lookup meaning:
SELECT category_description, usage_type_descr, COUNT(*) FROM fnd_documents_vl GROUP BY category_description, usage_type_descr; - To join attachments to their owning entities, join
FND_DOCUMENTS_VLtoFND_ATTACHED_DOCUMENTSonDOCUMENT_IDand then to the entity-specific table usingPK1_VALUE.
Because the view already enforces the language join, callers should not additionally filter on language columns unless operating in a multilingual reporting context where a specific language other than the session default is required.
-
View: FND_DOCUMENTS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_DOCUMENTS_VL, object_name:FND_DOCUMENTS_VL, status:VALID, product: FND - Application Object Library , description: Resolves viewed language of a document , implementation_dba_data: APPS.FND_DOCUMENTS_VL ,
-
View: FND_DOCUMENTS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_DOCUMENTS_VL, object_name:FND_DOCUMENTS_VL, status:VALID, product: FND - Application Object Library , description: Resolves viewed language of a document , implementation_dba_data: APPS.FND_DOCUMENTS_VL ,
-
APPS.INV_ATTACHMENTS_UTILS SQL Statements
12.1.1
-
VIEW: APPS.ADI_WEB_FILES_VL
12.1.1
-
VIEW: APPS.ADI_WEB_FILES_VL
12.2.2
-
APPS.INV_ATTACHMENTS_UTILS SQL Statements
12.2.2
-
APPS.EDR_ISIGN_TEMPLATE_PKG SQL Statements
12.2.2
-
APPS.EDR_ISIGN_TEMPLATE_PKG SQL Statements
12.1.1
-
VIEW: APPS.PO_ECX_ATTACHMENTS_V
12.1.1
-
VIEW: APPS.WIP_COMMENT_CODES_V
12.2.2
-
VIEW: APPS.ECE_ATTACHMENT_V
12.2.2
-
VIEW: APPS.WIP_COMMENT_CODES_V
12.1.1
-
VIEW: APPS.PO_ECX_ATTACHMENTS_V
12.2.2
-
VIEW: APPS.WIP_ENTITY_COMMENTS_V
12.2.2
-
APPS.WIP_WIPDJDAT_XMLP_PKG SQL Statements
12.2.2
-
VIEW: APPS.WIP_ENTITY_COMMENTS_V
12.1.1
-
VIEW: APPS.WIP_OPERATION_INSTRUCTIONS_V
12.2.2
-
VIEW: APPS.WIP_OPERATION_INSTRUCTIONS_V
12.1.1
-
APPS.FND_DM_REPOSITORY_PKG SQL Statements
12.2.2
-
APPS.FND_DM_REPOSITORY_PKG SQL Statements
12.1.1
-
APPS.EDR_ISIGN_CHECKLIST_PVT SQL Statements
12.1.1
-
View: ADI_WEB_FILES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FRM.ADI_WEB_FILES_VL, object_name:ADI_WEB_FILES_VL, status:VALID, product: FRM - Report Manager , implementation_dba_data: APPS.ADI_WEB_FILES_VL ,
-
View: ADI_WEB_FILES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FRM.ADI_WEB_FILES_VL, object_name:ADI_WEB_FILES_VL, status:VALID, product: FRM - Report Manager , description: Obsoleted view , implementation_dba_data: APPS.ADI_WEB_FILES_VL ,
-
View: ECE_ATTACHMENT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EC.ECE_ATTACHMENT_V, object_name:ECE_ATTACHMENT_V, status:VALID, product: EC - e-Commerce Gateway , description: /*#* This view extracts attachment data* for the outbound Purchase Order (850/ORDERS) and* outbound Purchase Order Change (860/ORDCHG) transactions.* The attachment view is used for header, line, shipment, distribution, item and master item , implementation_dba_data: APPS.ECE_ATTACHMENT_V ,
-
PACKAGE BODY: APPS.EDR_FILE_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_FILE_UTIL_PUB, status:VALID,
-
PACKAGE BODY: APPS.EDR_FILE_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_FILE_UTIL_PUB, status:VALID,
-
PACKAGE BODY: APPS.EDR_ISIGN_TEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_ISIGN_TEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.FND_DM_REPOSITORY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FND_DM_REPOSITORY_PKG, status:VALID,
-
PACKAGE BODY: APPS.EDR_ISIGN_TEMPLATE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_ISIGN_TEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.FND_DM_REPOSITORY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_DM_REPOSITORY_PKG, status:VALID,
-
APPS.PSP_ROLLBACK_EFF_REPORTS SQL Statements
12.2.2
-
APPS.EDR_ISIGN_CHECKLIST_PVT SQL Statements
12.2.2
-
APPS.PSP_ROLLBACK_EFF_REPORTS SQL Statements
12.1.1
-
SYNONYM: APPS.FND_DOCUMENT_DATATYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_DOCUMENT_DATATYPES, status:VALID,
-
PACKAGE BODY: APPS.ADI_DISPLAY_REPORT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ADI_DISPLAY_REPORT, status:VALID,
-
VIEW: APPS.GR_DISPATCH_HISTORY_V
12.2.2
-
SYNONYM: APPS.FND_DOCUMENT_DATATYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_DOCUMENT_DATATYPES, status:VALID,
-
VIEW: APPS.GR_DISPATCH_HISTORY_V
12.1.1
-
PACKAGE BODY: APPS.ADI_DISPLAY_REPORT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ADI_DISPLAY_REPORT, status:VALID,
-
PACKAGE BODY: APPS.GR_ATTACH_DOCUMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_ATTACH_DOCUMENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.ITG_X_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ITG_X_UTILS, status:VALID,
-
PACKAGE BODY: APPS.DOM_ATTACHMENT_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:DOM_ATTACHMENT_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.ITG_X_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ITG_X_UTILS, status:VALID,
-
PACKAGE BODY: APPS.DOM_ATTACHMENT_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:DOM_ATTACHMENT_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.EAM_SAFETY_REPORTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_SAFETY_REPORTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.PSP_ROLLBACK_EFF_REPORTS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSP_ROLLBACK_EFF_REPORTS, status:VALID,
-
PACKAGE BODY: APPS.INV_ATTACHMENTS_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_ATTACHMENTS_UTILS, status:VALID,
-
PACKAGE BODY: APPS.GR_ATTACH_DOCUMENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_ATTACH_DOCUMENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.INV_ATTACHMENTS_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_ATTACHMENTS_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PO_XML_UTILS_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_XML_UTILS_GRP, status:VALID,