public interface AllocationService
| Modifier and Type | Method and Description |
|---|---|
void |
autoReallocate(DeclineEntries declinedEntries)
Creates
DeclineConsignmentEntryEventModel items to represent
the reallocations that can be retrieved by ConsignmentEntryModel.getDeclineEntryEvents(). |
ConsignmentModel |
createConsignment(AbstractOrderModel order,
java.lang.String code,
SourcingResult result)
Create a consignment for the sourcing result.
The consignment and the order will be persisted after creation and updates. |
java.util.Collection<ConsignmentModel> |
createConsignments(AbstractOrderModel order,
java.lang.String code,
SourcingResults results)
Create consignments for the sourcing results gathered from the sourcing strategies executions.
All consignments and order will be persisted after creations and updates. |
java.util.Collection<ConsignmentModel> |
manualReallocate(DeclineEntries declinedEntries)
Manually reallocate the consignment entries provided to a new point of service.
|
java.util.Collection<ConsignmentModel> createConsignments(AbstractOrderModel order, java.lang.String code, SourcingResults results)
order - - the order to create consignments forcode - - the consignment code; never nullresults - - the sourcing results collected from the sourcing strategies; never nullConsignmentModel; never nullConsignmentModel createConsignment(AbstractOrderModel order, java.lang.String code, SourcingResult result)
order - - the order to create consignments forcode - - the consignment code; never nullresult - - the sourcing results collected from the sourcing strategies; never nullConsignmentModel; never nulljava.util.Collection<ConsignmentModel> manualReallocate(DeclineEntries declinedEntries)
DeclineConsignmentEntryEventModel items to represent
the reallocations that can be retrieved by ConsignmentEntryModel.getDeclineEntryEvents().
Furthermore, the service can only reallocate an item if it is pending as in
ConsignmentEntryModel.getQuantityPending().
declinedEntries - - the collection of decline entries to be reallocatedvoid autoReallocate(DeclineEntries declinedEntries)
DeclineConsignmentEntryEventModel items to represent
the reallocations that can be retrieved by ConsignmentEntryModel.getDeclineEntryEvents().
Furthermore, the service can only reallocate an item if it is pending as in
ConsignmentEntryModel.getQuantityPending().
declinedEntries - - the collection of decline entries to be reallocatedCopyright © 2018 SAP SE. All Rights Reserved.