public interface SourcingResultFactory
| Modifier and Type | Method and Description |
|---|---|
SourcingResult |
create(AbstractOrderEntryModel orderEntry,
SourcingLocation sourcingLocation,
Long quantity)
Create a sourcing result.
|
SourcingResult |
create(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(). |
SourcingResults |
create(Collection<SourcingResults> results)
Create a single sourcing result from a collection of sourcing results.
|
SourcingResult |
create(Map<AbstractOrderEntryModel,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.
|
SourcingResult create(AbstractOrderEntryModel orderEntry, SourcingLocation sourcingLocation, Long quantity)
orderEntry - the abstract order entry modelsourcingLocation - the location from where to source the product.quantity - the quantity to source for this product and this location.SourcingResult create(Collection<AbstractOrderEntryModel> orderEntries, SourcingLocation sourcingLocation)
AbstractOrderEntryModel#getQuantityUnallocated().orderEntries - - the collection of abstract order entry modelsourcingLocation - - the location from where to source the productSourcingResult create(Map<AbstractOrderEntryModel,Long> allocation, SourcingLocation sourcingLocation)
allocation - - the map of abstract order entry model and the quantity allocatedsourcingLocation - - the location from where to source the productSourcingResults create(Collection<SourcingResults> results)
results - - the collection of sourcing results; should not be nullCopyright © 2017 SAP SE. All Rights Reserved.