public interface ConsignmentService
| Modifier and Type | Method and Description |
|---|---|
ConsignmentModel |
createConsignment(AbstractOrderModel order,
java.lang.String code,
java.util.List<AbstractOrderEntryModel> orderEntries)
Creates the consignment.
|
WarehouseModel |
getWarehouse(java.util.List<AbstractOrderEntryModel> orderEntries)
Gets the warehouse.
|
ConsignmentModel createConsignment(AbstractOrderModel order, java.lang.String code, java.util.List<AbstractOrderEntryModel> orderEntries) throws ConsignmentCreationException
order - the order. If Order is instance of OrderModel type then it is taken to relation to created consignmentorderEntries - the order entriescode - the codeConsignmentCreationException - in the case of any inconsistency (e.g. warehouses not found)WarehouseModel getWarehouse(java.util.List<AbstractOrderEntryModel> orderEntries)
orderEntries - the order entriesCopyright © 2018 SAP SE. All Rights Reserved.