public class NoRestrictionsStrategy extends AbstractSourcingStrategy
| Constructor and Description |
|---|
NoRestrictionsStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSourcingResult(SourcingContext sourcingContext,
AbstractOrderEntryModel orderEntry,
SourcingLocation fitnessSourcingLocation)
It creates a sourcing result
|
protected FitnessService |
getFitnessService() |
void |
setFitnessService(FitnessService fitnessService) |
void |
source(SourcingContext sourcingContext)
Determine which order entries/order item quantities should be sourced from which sourcing locations.
|
checkSourceCompleted, getAvailabilityForProduct, getQuantitySourced, getSourcingResultFactory, isTerminal, setSourcingResultFactory, setTerminalpublic void source(SourcingContext sourcingContext)
SourcingStrategysourcingContext - - the sourcing context; cannot be nullprotected void createSourcingResult(SourcingContext sourcingContext, AbstractOrderEntryModel orderEntry, SourcingLocation fitnessSourcingLocation)
sourcingContext - the SourcingContextorderEntry - the AbstractOrderEntryModelfitnessSourcingLocation - the SourcingLocationprotected FitnessService getFitnessService()
public void setFitnessService(FitnessService fitnessService)
Copyright © 2018 SAP SE. All Rights Reserved.