| Modifier and Type | Method and Description |
|---|---|
Collection<ConsignmentModel> |
AllocationService.createConsignments(AbstractOrderModel order,
String code,
SourcingResults results)
Create consignments for the sourcing results gathered from the sourcing strategies executions.
All consignments and order will be persisted after creations and updates. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ConsignmentModel> |
DefaultAllocationService.createConsignments(AbstractOrderModel order,
String code,
SourcingResults results) |
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
SourcingContext.getResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourcingContext.setResult(SourcingResults result) |
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
SourcingService.sourceOrder(AbstractOrderModel order)
Evaluate the best way to source an order using some defined sourcing strategies.
|
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
DefaultSourcingService.sourceOrder(AbstractOrderModel order) |
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
SourcingResultFactory.create(Collection<SourcingResults> results)
Create a single sourcing result from a collection of sourcing results.
|
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
SourcingResultFactory.create(Collection<SourcingResults> results)
Create a single sourcing result from a collection of sourcing results.
|
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
DefaultSourcingResultFactory.create(Collection<SourcingResults> results) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultSourcingResultFactory.mergeResults(SourcingResults source,
SourcingResults target)
Merges the sourcing results of the source and target results containers into the target container. This
implementation will set the collections in the target as type
HashSet and merges the collections
using Iterables#concat(Iterable, Iterable). |
| Modifier and Type | Method and Description |
|---|---|
SourcingResults |
DefaultSourcingResultFactory.create(Collection<SourcingResults> results) |
| Modifier and Type | Method and Description |
|---|---|
protected SourcingResults |
SourcingContextBuilder.getSourcingResults() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourcingContextBuilder.setSourcingResults(SourcingResults sourcingResults) |
SourcingContextBuilder |
SourcingContextBuilder.withResults(SourcingResults results) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseSourcingIntegrationTest.assertSourcingResultContents(SourcingResults results,
WarehouseModel expectedWarehouse,
Map<ProductModel,Long> expectedAllocation)
Assert that the sourcing result selected the correct warehouse and sourced the correct quantity.
|
Copyright © 2017 SAP SE. All Rights Reserved.