Sourcing Context Utils
Intended Audience:
Technical User
Author:
Holger Lierse
Changed on:
17 Sept 2025
Overview
`SourcingContextUtils`
in the `util-sourcing`
is a utility class for managing sourcing context and data loading operations. It provides methods to create and populate sourcing contexts with order details, unfulfilled items, and supporting data required for sourcing decisions.
Key points
- Context Management: Creates and manages Sourcing Context for the sourcing process.
- Data Loading: Handles loading of order, item and required information.
Core Methods
`loadSourcingContext()`
Loads and creates a Sourcing Context with all necessary information such as order details, unfulfilled items, and supporting data required for sourcing decisions.
1SourcingContext sourcingContext = SourcingContextUtils.loadSourcingContext(
2 context,
3 SourcingUtils::getUnfulfilledItems
4);