| Modifier and Type | Method and Description |
|---|---|
SourcingContext |
SourcingLocation.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourcingLocation.setContext(SourcingContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<SourcingContext> |
SourcingContextFactory.create(java.util.Collection<OrderEntryGroup> groups,
java.util.Collection<WarehouseModel> locations)
Create a new sourcing context.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<SourcingContext> |
DefaultSourcingContextFactory.create(java.util.Collection<OrderEntryGroup> groups,
java.util.Collection<WarehouseModel> locations) |
| Modifier and Type | Method and Description |
|---|---|
protected SourcingLocation |
DefaultSourcingContextFactory.createSourcingLocation(SourcingContext context,
WarehouseModel location)
Create a new sourcing location and populate it.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SourcingLocation> |
FitnessService.sortByFitness(SourcingContext sourcingContext)
Sorts a collection of sourcing locations by their evaluated fitness.
|
| Modifier and Type | Method and Description |
|---|---|
protected FitSourcingLocation[] |
DefaultFitnessService.calculateFitness(SourcingContext sourcingContext)
Calculate the fitness of each sourcing location in the givn sourcing context and provide the fitness in a "fit" sourcing location.
|
java.util.List<SourcingLocation> |
DefaultFitnessService.sortByFitness(SourcingContext sourcingContext) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractSourcingStrategy.checkSourceCompleted(SourcingContext sourcingContext)
Check if the order was sourced.
|
java.util.List<SourcingStrategy> |
SourcingStrategyService.getStrategies(SourcingContext context,
java.util.Collection<SourcingStrategyMapper> mappers)
Get the sourcing strategies according to a given sourcing context and sourcing mappers.
|
java.lang.Boolean |
SourcingStrategyMapper.isMatch(SourcingContext context)
Determines if this mapper produces a match for the given sourcing context.
|
void |
SourcingStrategy.source(SourcingContext sourcingContext)
Determine which order entries/order item quantities should be sourced from which sourcing locations.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
NoRestrictionsStrategyTest.assertEqualQuantity(SourcingContext context,
long qtyExpected,
ProductModel product,
java.lang.String posName) |
protected void |
PickupStrategy.createPickupSourcingResult(SourcingContext sourcingContext,
SourcingLocation location)
Create a sourcing result if the pickup location specified in the order has some stocks available for a given
product and store it in the sourcing context.
When there is insufficient stock for a given product, the sourcing context is marked as not complete. When there is no stock for a given product, no sourcing result is created. |
protected void |
NoRestrictionsStrategy.createSourcingResult(SourcingContext sourcingContext,
AbstractOrderEntryModel orderEntry,
SourcingLocation fitnessSourcingLocation)
It creates a sourcing result
|
java.util.List<SourcingStrategy> |
DefaultSourcingStrategyService.getStrategies(SourcingContext context,
java.util.Collection<SourcingStrategyMapper> mappers) |
void |
PickupStrategy.source(SourcingContext sourcingContext) |
void |
NoRestrictionsStrategy.source(SourcingContext sourcingContext) |
void |
NoSplittingStrategy.source(SourcingContext sourcingContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
PickupSourcingStrategyMapper.isMatch(SourcingContext context) |
| Modifier and Type | Method and Description |
|---|---|
SourcingContext |
SourcingContextBuilder.build()
Builds a
SourcingContext with default values for the attribute |
| Modifier and Type | Method and Description |
|---|---|
SourcingLocationBuilder |
SourcingLocationBuilder.withContext(SourcingContext context) |
Copyright © 2018 SAP SE. All Rights Reserved.