Skip to the content.

ONT Sales Quote Close Upload – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Bulk closes open Oracle Order Management sales quotes (documents in the Negotiation transaction phase) - useful for cleaning up large volumes of old draft quotes.

Download the open quotes, keep the rows you want to close, set a Close Reason, and upload. Each quote is driven to the Lost terminal (status Lost, no longer open) through the standard negotiation workflow, and the reason is recorded against the quote.

Quotes are identified by Quote Number and Operating Unit, so you can also paste those two values from an external list instead of downloading. Only open quotes are closed - an order number or an already-closed quote is reported back and left untouched.

Cancelled and Closed are order (fulfillment) statuses and do not apply to a quote - Lost is the correct terminal for a quote you are no longer pursuing. To keep win/loss reporting clean, add a custom OFFER_LOST lookup value (for example Obsolete) and select it as the Close Reason, so data-cleanup closures are distinguishable from genuine competitive losses.

Use the Created Before parameter to target quotes older than a given date, and Quote Number to close a single quote.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Upload Mode, Operating Unit, Created Before, Quote Number

Oracle EBS Tables Used

hr_all_organization_units_vl, oe_order_headers_all, oe_transaction_types_tl, hz_cust_accounts, hz_parties

Report Categories

Enginatics, Upload

ONT Blanket Sales Agreements, ONT Order to Cash Tracker, GL Account Distribution Analysis, ONT Orders, GL Account Analysis, AR Customer Upload

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import ONT_Sales_Quote_Close_Upload.xml
SQL Source ONT Sales Quote Close Upload.sql
Full Report on Enginatics www.enginatics.com/reports/ont-sales-quote-close-upload/

Case Study & Technical Analysis: ONT Sales Quote Close Upload

Executive Summary

This upload closes open sales quotes in Oracle Order Management. It targets quotes in the Negotiation transaction phase that are still open, and it lets a sales operations administrator download them, mark the quotes to close, choose a close reason and upload. Each quote is moved to the Lost terminal through the standard negotiation workflow, and the reason is recorded against the quote. It is used to clean up large volumes of old draft quotes that were never converted, while keeping genuine competitive losses separate from data cleanup. Blitz Report™ provides the spreadsheet for selecting and closing the quotes.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. HR_ALL_ORGANIZATION_UNITS_VL is joined to the order header on the operating unit identifier.
  2. The order header is restricted to documents in the Negotiation transaction phase that are open.
  3. The order type name is outer joined from OE_TRANSACTION_TYPES_TL in the session language.
  4. The sold to customer account is outer joined from HZ_CUST_ACCOUNTS, and the party name from HZ_PARTIES.
  5. The flow status is translated through the FLOW_STATUS lookup for display.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Why is Lost the status used for closed quotes? A: Cancelled and Closed are order fulfilment statuses and do not apply to a quote. Lost is the terminal status for a quote that is no longer being pursued.

Q: How do I keep cleanup closures separate from real losses? A: Add a custom OFFERLOST lookup value, for example Obsolete, and select it as the Close Reason. The closures can then be told apart in win and loss reporting.

Q: What happens to an order number in the file? A: Only open quotes are closed. An order number, or a quote that is already closed, is reported back and left untouched.


© Enginatics GmbH