ASO Quote Upload Copy link

Description

Categories
Enginatics, R12 only, Upload
Repository
GitHub
Creates and updates Oracle Quoting quotes (Quoting form and Quoting HTML) with their lines through the Oracle quote api, which prices the quote and calculates tax as the Quoting form does when a quote is saved.

One row per quote line. The header values repeat on every row of a quote and are applied from the first row of each quote in the file. Rows are grouped into one quote by Operating Unit and Upload Quote Identifier: the quote number for an existing quote, any text such as new1 for a new quote. A row without an item creates or updates the quote header only.

Unit Selling Price overrides the calculated price with a manual adjustment. Unit % Adjustment sets the selling price as a percentage of the unit list price, negative for a discount. Delete Line removes a line from the quote.

The download lists the latest version of quotes in statuses that allow updates. Updates do not create a new quote version. The quote api checks the quote access of the uploading user, who must be set up as a resource on the quote's sales team when Quoting security is enabled.

SQL 88 lines

Parameters 8

ParameterTypeList of values SQL
Upload ModeLOV
:p_upload_mode like '%' || xxen_upload.action_update
Operating UnitLOV
haouv.name=:operating_unit
Quote NumberLOV
aqha.quote_number=:quote_number
Customer NameLOV
hp.party_name=:customer_name
Quote StatusLOV
aqha.quote_status_id=:quote_status_id
SalespersonLOV
aqha.resource_id=:resource_id
Creation Date FromDate
aqha.creation_date>=:creation_date_from
Creation Date ToDate
aqha.creation_date<:creation_date_to+1