Search Results fnd_doc_category_usages_s




Overview

APPS.SO_ATT is a PL/SQL package body in the Oracle E-Business Suite APPS schema responsible for managing Oracle Order Management order attachments and their underlying document categories, usage assignments, and note records. In both EBS 12.1.1 and 12.2.2 it provides the programmatic interface that links order headers to the Oracle Attachments Framework (FND_ATTACHED_DOCUMENTS, FND_DOCUMENTS, and related category tables), while also managing order notes stored in the SO_NOTES structure. The ETRM classification for this package is "OTHER" with a VALID status, indicating a supported internal utility rather than a formally published public API.

The object dependency metadata confirms that SO_ATT is a leaf node: it references numerous Attachments Framework and Order Management tables, but is not referenced by any other database object. This confirms its role as an internal helper package invoked by Order Management forms or concurrent processing rather than a widely re-entered library.

Key Procedures and Functions

The ETRM metadata documents 23 procedures and functions. Their purposes fall into several groups:

Tables Accessed

The dependency list documents references to the core Attachments Framework tables — FND_DOCUMENTS and its _TL, _LONG_TEXT, and _SHORT_TEXT variants for document definitions and text; FND_ATTACHED_DOCUMENTS and _S for entity-to-document associations; FND_DOCUMENT_CATEGORIES along with its _TL and _S variants; FND_DOC_CATEGORY_USAGES and FND_DOC_CATEGORY_USAGES_S for category-to-entity usage mappings; and FND_ATTACHMENT_FUNCTIONS. It also references Order Management structures: SO_HEADERS for the order header entity, SO_NOTES for note text, SO_NOTE_REPLICATION, and SO_NOTE_USAGES with its _S sequence table. The user search term "fnd_doc_category_usages_s" corresponds directly to the FND_DOC_CATEGORY_USAGES_S table, which supplies primary keys for usage assignment inserts.

Usage Notes

SO_ATT is typically invoked by Order Management forms and internal processing routines when a user or process attaches a document to an order header, or when note records must be created, updated, or queried. The presence of GET_MEDIA_ID, GET_CATEGORY_ID, and GET_USAGE_ID supports form-driven attachment dialogs that require resolving IDs before performing DML. Because the package is not referenced by any other database object and is classified as OTHER, custom code should generally use the documented Oracle Attachments public APIs (such as FND_ATTACHED_DOCUMENTS_PKG) rather than calling SO_ATT directly; SO_ATT remains an internal implementation detail that may change between releases, and no committed interface contract should be assumed for extensions.