Results for “icx_savedorder_v”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
ICX_SAVEDORDER_V is a database view shipped within the Oracle iProcurement (ICX) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. The ETRM metadata describes it as the "Saved Orders View – Retrofitted," indicating that the view was re-created or ported into the current release to preserve backward compatibility for components that expect the legacy object definition. Its purpose is to expose a consolidated, de-duplicated list of draft sales quotations—commonly surfaced to users as "saved orders" or "saved quotes"—so that iProcurement and dependent reporting or integration logic can retrieve the identifier set without navigating the full quotations schema.
Note that the ETRM implementation data states "Not implemented in this database." This means that in the environment from which the documentation was harvested, the view did not physically exist; the view text is nevertheless preserved as the canonical definition. The metadata further lists no documented owner and no referenced base objects, so all structural detail below derives from the embedded view text.
Underlying Base Objects
The view is defined over two tables in the Oracle Sales/Quotations schema:
- AS_QUOTES (aliased ASQ) — the quotation header table, supplying quote identity, status, customer, contact, organization, and date attributes.
- AS_QUOTE_LINES (aliased ASQL) — the quotation line table, joined here solely to constrain the result set to headers that have at least one line.
The join condition is ASQ.QUOTE_ID = ASQL.QUOTE_ID, and the driving filter is ASQ.QUOTE_STATUS = 'DRAFT'. Because the join can produce one row per quotation line, the query applies SELECT DISTINCT to collapse the result back to one row per qualifying quotation header. Consequently the view returns only draft quotations that contain at least one line, and it returns no line-level detail.
Key Columns
- CONTACT_ID — identifier of the contact associated with the quotation header.
- CREATED_BY — the user or application that created the quotation record.
- QUOTE_ID — primary key of the quotation; the join key to AS_QUOTE_LINES and the principal handle for downstream lookups.
- QUOTE_NUMBER — the user-facing quotation number.
- QUOTE_NAME — the descriptive name assigned to the saved order; this is the attribute users most often search on.
- CREATION_DATE — date the quotation record was created.
- ORDER_DATE — the order date recorded on the quotation header.
- QUOTE_STATUS — always 'DRAFT' in the returned set, by construction of the WHERE clause.
- CUSTOMER_ID — identifier of the customer to whom the quotation relates.
- ORG_ID — the operating unit, essential for multi-org security and reporting segregation.
The column list in the ETRM metadata also includes NEED_BY_DATE. Because the view text does not select a column of that name, this entry appears to be a documentation artefact—likely carried over from a related quotation view—and should be verified against the actual database before being relied upon in code.
Common Use Cases and Queries
The view serves as a lightweight lookup for saved draft orders. It is typically used to populate list-of-values regions, validate that a quotation exists and is still in draft, or scope a reporting query before joining to the full AS_QUOTES and AS_QUOTE_LINES tables for detail.
A search by quote name, corresponding to the user query "quote_name," would take the following form:
- SELECT quote_id, quote_number, quote_name, creation_date, customer_id, org_id FROM icx_savedorder_v WHERE UPPER(quote_name) LIKE UPPER('%' || :search_term || '%') AND org_id = :org_id ORDER BY creation_date DESC;
Because the view already filters on DRAFT status and applies DISTINCT, additional status predicates are unnecessary and can force redundant work. For retrieved quotations, applications generally follow up with a join on QUOTE_ID to AS_QUOTE_LINES to obtain line items, or to AS_QUOTES to read header fields not projected by the view. Always constrain by ORG_ID to respect operating unit access, and treat the view as read-only reference data.
-
View: ICX_SAVEDORDER_V 12.1.1
Saved Orders View - Retrofitted
Not implemented in this database·Explore ICX module →
-
View: ICX_SAVEDORDER_V 12.2.2
Saved Orders View - Retrofitted
Not implemented in this database·Explore ICX module →
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2