> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/sales-and-customer-orders/analyze-quotation-price-breaks.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Analyze Quotation Price Breaks

For one sales quotation line, lists quantity price breaks and checks consistency against the quoted quantity and line price. Read-only except a transient price-break virtual.

| Business area             | Action type |
| ------------------------- | ----------- |
| Sales and Customer Orders | Read-only   |

## Overview

In IFS Cloud a quotation line can carry its own quantity-based price breaks (OrderQuotationGradPrice), maintained from Sales Quotation Lines > Price Breaks (PriceBreaksCommand, assistant OrderQuotationGradPriceAssistant in PriceBreaksHandling). Each break has a minimum quantity (MinQuantity), optional minimum duration for rental lines (MinDuration), a base price, offsets and the resulting SalesPrice.

IFS Cloud reads quotation lines and PriceBreaksHandling to analyze quantity price breaks.

## How it works

{% stepper %}
{% step %}
Get Quotation Line Pricing: resolve line keys.
{% endstep %}

{% step %}
Get Quotation Pricing Header: currency and UsePriceInclTax.
{% endstep %}

{% step %}
If no price breaks flag, verdict NO\_BREAKS.
{% endstep %}

{% step %}
Open Price Break View (InsUpdAllowed false), then List Quotation Price Breaks.
{% endstep %}

{% step %}
Evaluate Price Break Consistency: applicable tier, monotonicity, price match.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one quotation line's pricing context (quantity, price, discount, price source, price list, rental flag, state).
* Read the header context (currency, price-including-tax mode, price effectivity date).
* Open the IFS price-break assistant data in read-only mode and list all breaks ordered by minimum quantity.
* Determine the applicable break with the same rule IFS uses (largest MinQuantity ≤ BuyQtyDue, and for rental, also MinDuration ≤ chargeable days).
* Detect gaps: no break covering the quoted quantity (IFS would price at 0), no break starting at a low minimum quantity.
* Detect inconsistencies: non-decreasing price with increasing quantity, SalesPrice ≤ 0, rental/non-rental MinDuration misuse, breaks combined with a line discount, line price differing from the applicable break.
* Optionally compare each tier with the source price IFS would fetch for that quantity (GetQuoteLinePriceInfo).
* Return verdict, breaks table, findings and fixes.

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component | Projection                  |
| --------- | --------------------------- |
| ORDER     | SalesQuotationLinesHandling |
| ORDER     | SalesQuotationHandling      |
| ORDER     | PriceBreaksHandling         |

## Version compatibility

| Projection                  | Supported IFS Cloud releases |
| --------------------------- | ---------------------------- |
| SalesQuotationLinesHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |
| SalesQuotationHandling      | 24R2, 25R1, 25R2, 26R1, 26R2 |
| PriceBreaksHandling         | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Scope matches the packaged tools and instructions only.
