| Modifier and Type | Method and Description |
|---|---|
ConsignmentModel |
AllocationService.createConsignment(AbstractOrderModel order,
String code,
SourcingResult result)
Create a consignment for the sourcing result.
The consignment and the order will be persisted after creation and updates. |
| Modifier and Type | Method and Description |
|---|---|
ConsignmentModel |
DefaultAllocationService.createConsignment(AbstractOrderModel order,
String code,
SourcingResult result)
This implementation assumes that all order entries in SourcingResult have the same delivery POS.
|
| Modifier and Type | Method and Description |
|---|---|
Set<SourcingResult> |
SourcingResults.getResults() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourcingResults.setResults(Set<SourcingResult> results) |
| Modifier and Type | Method and Description |
|---|---|
SourcingResult |
SourcingResultFactory.create(AbstractOrderEntryModel orderEntry,
SourcingLocation sourcingLocation,
Long quantity)
Create a sourcing result.
|
SourcingResult |
SourcingResultFactory.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(). |
SourcingResult |
SourcingResultFactory.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.
|
| Modifier and Type | Method and Description |
|---|---|
SourcingResult |
DefaultSourcingResultFactory.create(AbstractOrderEntryModel orderEntry,
SourcingLocation sourcingLocation,
Long quantity) |
SourcingResult |
DefaultSourcingResultFactory.create(Collection<AbstractOrderEntryModel> orderEntries,
SourcingLocation sourcingLocation) |
SourcingResult |
DefaultSourcingResultFactory.create(Map<AbstractOrderEntryModel,Long> allocations,
SourcingLocation sourcingLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
AbstractSourcingStrategy.getQuantitySourced(Set<SourcingResult> sourcingResults,
AbstractOrderEntryModel orderEntry)
Retrieve the quantity already sourced
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
NoRestrictionsStrategyTest.assertEqualsQuantityAllocation(Set<SourcingResult> results,
String pos,
int qtyExpected) |
| Modifier and Type | Method and Description |
|---|---|
SourcingResult |
SourcingResultBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
BaseSourcingIntegrationTest.getAllocationForProduct(SourcingResult result,
ProductModel product)
Get the quantity allocated for the order entry with the given product.
|
Copyright © 2017 SAP SE. All Rights Reserved.