explainPrice
Explain why an existing requisition (order line) costs what it does. Recomputes its price from its actual configuration on the equation versions, material versions and settings it was quoted on, returns the price breakdown plus the pricing-equation variables behind it, compares it against the stored quotedPrice, and reports whether newer pricing is available. Individual pricing-equation variables can be manually overridden per line, so a returned variable value may be an override rather than what the equation would compute. To understand a price, examine these variables and reconcile them against describePricingEquationApi(includeSource=true) (the formula and how each variable is derived) and query materialPrices (by processPricesId + materialId, for the material's density and the rate values the equation reads off the material); a variable that doesn't reconcile with the equation and material rates has been overridden. For a hypothetical or what-if part, use generateQuote instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requisitionId | Yes | The requisition id (query(entity="requisition")). |