Order Module 2.3.0 - Sourcing Auditability
Release
Author:
Kirill Gaiduk
Changed on:
3 Sept 2026
| Target release date: | 2026-09-07 |
|---|---|
| Release status: | Released |
Description
Order Module 2.3.0 adds Sourcing Audit generation to Responsive Sourcing. Whenever the reference sourcing Rules run, they now capture a Sourcing Audit of the completed Sourcing Request and submit it through the`createSourcingAudit` mutation.Each audit records the full sourcing decision - the evaluated Strategies and their Condition results, the Locations considered and how they scored against each Criterion, and the resulting Fulfillments - so the outcome can be reviewed and explained. A failure to write an audit is logged and does not affect or reverse the sourcing outcome.Changelog
Rules
`CreateFulfilmentWithSourcingProfile`and`CreatePartialFulfilmentWithSourcingProfile`now:- Capture a Sourcing Audit of the completed Sourcing Request and submit it through the
`createSourcingAudit`mutation - A failure to create the audit is logged and does not affect or reverse the sourcing outcome
- Capture a Sourcing Audit of the completed Sourcing Request and submit it through the
- Sourcing Audit generation: sourcing now captures a Sourcing Audit of the decision (evaluated strategies, condition results, considered locations and their ratings, and the resulting fulfillments) and submits it through the
`createSourcingAudit`mutation - New
`SourcingUtils.captureAudit`method and Sourcing Audit Recorder (`DefaultSourcingAuditRecorder`/`NoOpSourcingAuditRecorder`), enabled per run through`SourcingExecutionParameters.auditRecorder` `SourcingPlan.getSourcingPlanAudit()`now carries the full decision:- Status (
`FULLY_SOURCED`/`PARTIALLY_SOURCED`/`NOT_SOURCED`) - Type (
`PRIMARY`/`FALLBACK`) - Sourcing profile
- Evaluated strategies
- Location count
- Items
- Status (
`getSourcingStrategy()`is superseded by`getStrategies()`/`getSourcingProfile()`- Sourcing Condition evaluation:
- New backward-compatible
`evaluateWithResult()`returns a`ConditionEvaluationResult`(pass flag + actual value) `SourcingConditionUtils.evaluateSourcingConditionsWithResults()`returns the per-condition results- The boolean
`evaluateSourcingConditions`is superseded by`evaluateSourcingConditionsWithResults`
- New backward-compatible
- Sourcing Criterion evaluation: the raw value computed before normalization is retained as the criterion's actual value for audit capture (for distance-based criteria, the measured distance alongside the normalized score)
- Grant
`SOURCINGAUDIT_CREATE`to the role that runs sourcing so it can write audits, and`SOURCINGAUDIT_VIEW`to any role that reads them back
Limitations
- Per-Location detail is retained for the successful Strategy, up to 100 Locations
Packages
| Released capability depth: | Enhancement |
|---|---|
| Release bundle / Capability type: | Module, Tool |

