| Modifier and Type | Class and Description |
|---|---|
class |
FitSourcingLocation |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<SourcingLocation> |
SourcingContext.getSourcingLocations() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourcingContext.setSourcingLocations(java.util.Collection<SourcingLocation> sourcingLocations) |
| 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 |
|---|---|
void |
SourcingLocationPopulator.populate(WarehouseModel source,
SourcingLocation target)
Populate attributes of the sourcing location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrioritySourcingLocationPopulator.populate(WarehouseModel source,
SourcingLocation target) |
void |
AvailabilitySourcingLocationPopulator.populate(WarehouseModel source,
SourcingLocation target) |
void |
DistanceSourcingLocationPopulator.populate(WarehouseModel source,
SourcingLocation target) |
| 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 |
|---|---|
java.lang.Double |
FitnessEvaluator.evaluate(SourcingLocation sourcingLocation)
Calculate the fitness value
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
AllocationFitnessEvaluator.evaluate(SourcingLocation sourcingLocation) |
java.lang.Double |
PriorityEvaluator.evaluate(SourcingLocation sourcingLocation) |
java.lang.Double |
ScoreEvaluator.evaluate(SourcingLocation sourcingLocation) |
java.lang.Double |
DistanceEvaluator.evaluate(SourcingLocation sourcingLocation) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SourcingLocation> |
DefaultFitnessService.sortByFitness(SourcingContext sourcingContext) |
| Modifier and Type | Method and Description |
|---|---|
protected FitSourcingLocation |
DefaultFitnessService.buildFitSourcingLocation(SourcingLocation sourcingLocation)
Create a
FitSourcingLocation from a SourcingLocation. |
| Modifier and Type | Method and Description |
|---|---|
protected FitSourcingLocation[] |
DefaultFitnessService.getFitSourcingLocations(java.util.Collection<SourcingLocation> sourcingLocations,
java.util.Set<SourcingFactor> sourcingFactors)
Evaluates fitness of a sourcing location based on given set of sourcingFactors
|
| Modifier and Type | Method and Description |
|---|---|
SourcingResult |
SourcingResultFactory.create(AbstractOrderEntryModel orderEntry,
SourcingLocation sourcingLocation,
java.lang.Long quantity)
Create a sourcing result.
|
SourcingResult |
SourcingResultFactory.create(java.util.Collection<AbstractOrderEntryModel> orderEntries,
SourcingLocation sourcingLocation)
Create a sourcing result where all order entries are sourced from the given sourcingLocation and using the
quantity specified by
AbstractOrderEntryModel#getQuantityUnallocated(). |
SourcingResult |
SourcingResultFactory.create(java.util.Map<AbstractOrderEntryModel,java.lang.Long> allocation,
SourcingLocation sourcingLocation)
Create a sourcing result where all order entries are sourced from the given sourcingLocation and using the
quantity specified in the allocation map.
|
| Modifier and Type | Method and Description |
|---|---|
SourcingResult |
DefaultSourcingResultFactory.create(AbstractOrderEntryModel orderEntry,
SourcingLocation sourcingLocation,
java.lang.Long quantity) |
SourcingResult |
DefaultSourcingResultFactory.create(java.util.Collection<AbstractOrderEntryModel> orderEntries,
SourcingLocation sourcingLocation) |
SourcingResult |
DefaultSourcingResultFactory.create(java.util.Map<AbstractOrderEntryModel,java.lang.Long> allocations,
SourcingLocation sourcingLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
AbstractSourcingStrategy.getAvailabilityForProduct(ProductModel productModel,
SourcingLocation sourcingLocation)
Retrieve the stock available from a sourcing location
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
PickupStrategy.canSourceOrderEntry(AbstractOrderEntryModel entry,
SourcingLocation location)
Validates if the given
SourcingLocation can be used to source the given AbstractOrderEntryModel |
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
|
protected boolean |
NoSplittingStrategy.isSourcingNoSplittingPossible(java.util.Collection<AbstractOrderEntryModel> entries,
SourcingLocation sourcingLocation)
Check if it is possible to source.
|
| Modifier and Type | Method and Description |
|---|---|
SourcingLocation |
SourcingLocationBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<SourcingLocation> |
SourcingContextBuilder.getSourcingLocations() |
| Modifier and Type | Method and Description |
|---|---|
SourcingContextBuilder |
SourcingContextBuilder.withSourcingLocation(SourcingLocation location)
Add
SourcingLocation to SourcingContext |
Copyright © 2018 SAP SE. All Rights Reserved.