Class DefaultWarehouseTaskService
- All Implemented Interfaces:
BatchService<WarehouseTaskServiceBatch>,WarehouseTaskService
In every API call, you can make use of the following operations: - You can retrieve warehouse orders and warehouse tasks. Apply any of the filters provided or retrieve all existing data. - For existing warehouse orders, you can update the corresponding warehouse tasks. - You can update existing warehouse tasks (confirm, confirm with exceptions, cancel). - You can update existing warehouse orders (assign or unassign warehouse order to warehouse resource). - You can create warehouse tasks (product warehouse tasks, HU warehouse tasks, warehouse tasks for warehouse requests)..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_WAREHOUSE_ORDER_TASK |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| Communication Scenario: | Warehousing - Process Warehouse Task Integration(SAP_COM_0353) |
| Scope Items: | Resource Management in Warehousing(3W0) |
| Business Object: | Warehouse Order |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.WarehouseTaskService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWarehouseTaskService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionassignWarehouseOrder(String warehouse, String warehouseOrder, String warehouseResource) Deprecated.Creates a fluent helper for the AssignWarehouseOrder OData function import.batch()Deprecated.cancelWarehouseTask(String warehouse, String warehouseTask, String warehouseTaskItem) Deprecated.Creates a fluent helper for the CancelWarehouseTask OData function import.confirmWarehouseTaskExact(String warehouse, String warehouseTask, String warehouseTaskItem) Deprecated.Creates a fluent helper for the ConfirmWarehouseTaskExact OData function import.confirmWarehouseTaskHU(String warehouse, String warehouseTask, String warehouseTaskItem, String destinationStorageBin, String whseTaskExCodeDestStorageBin) Deprecated.Creates a fluent helper for the ConfirmWarehouseTaskHU OData function import.confirmWarehouseTaskProduct(String warehouse, String warehouseTask, String warehouseTaskItem, String alternativeUnit, BigDecimal actualQuantityInAltvUnit, BigDecimal differenceQuantityInAltvUnit, String whseTaskExceptionCodeQtyDiff, String destinationStorageBin, String whseTaskExCodeDestStorageBin, String sourceHandlingUnit) Deprecated.Creates a fluent helper for the ConfirmWarehouseTaskProduct OData function import.createWarehouseOrder(WarehouseOrder warehouseOrder) Deprecated.Create a newWarehouseOrderentity and save it to the S/4HANA system.createWarehouseTask(WarehouseTask warehouseTask) Deprecated.Create a newWarehouseTaskentity and save it to the S/4HANA system.Deprecated.Fetch multipleWarehouseOrderentities.Deprecated.Fetch multipleWarehouseTaskentities.Deprecated.Fetch multipleWarehouseTaskExceptionCodeentities.getWarehouseOrderByKey(String warehouse, String warehouseOrder) Deprecated.Fetch a singleWarehouseOrderentity using key fields.getWarehouseTaskByKey(String warehouse, String warehouseTask, String warehouseTaskItem) Deprecated.Fetch a singleWarehouseTaskentity using key fields.getWarehouseTaskExceptionCodeByKey(String warehouse, String warehouseTask, String warehouseTaskItem, String warehouseTaskExceptionCode, String businessContext, String businessContextExecutionStep) Deprecated.Fetch a singleWarehouseTaskExceptionCodeentity using key fields.setInProcessWarehouseOrder(String warehouse, String warehouseOrder) Deprecated.Creates a fluent helper for the SetInProcessWarehouseOrder OData function import.unassignWarehouseOrder(String warehouse, String warehouseOrder) Deprecated.Creates a fluent helper for the UnassignWarehouseOrder OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultWarehouseTaskService
public DefaultWarehouseTaskService()Deprecated.Creates a service usingWarehouseTaskService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:WarehouseTaskServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWarehouseTaskService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<WarehouseTaskServiceBatch>
-
getAllWarehouseOrder
Deprecated.Description copied from interface:WarehouseTaskServiceFetch multipleWarehouseOrderentities.- Specified by:
getAllWarehouseOrderin interfaceWarehouseTaskService- Returns:
- A fluent helper to fetch multiple
WarehouseOrderentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getWarehouseOrderByKey
@Nonnull public WarehouseOrderByKeyFluentHelper getWarehouseOrderByKey(String warehouse, String warehouseOrder) Deprecated.Description copied from interface:WarehouseTaskServiceFetch a singleWarehouseOrderentity using key fields.- Specified by:
getWarehouseOrderByKeyin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
warehouseOrder- Warehouse Order NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
WarehouseOrderentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createWarehouseOrder
@Nonnull public WarehouseOrderCreateFluentHelper createWarehouseOrder(@Nonnull WarehouseOrder warehouseOrder) Deprecated.Description copied from interface:WarehouseTaskServiceCreate a newWarehouseOrderentity and save it to the S/4HANA system.- Specified by:
createWarehouseOrderin interfaceWarehouseTaskService- Parameters:
warehouseOrder-WarehouseOrderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
WarehouseOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllWarehouseTask
Deprecated.Description copied from interface:WarehouseTaskServiceFetch multipleWarehouseTaskentities.- Specified by:
getAllWarehouseTaskin interfaceWarehouseTaskService- Returns:
- A fluent helper to fetch multiple
WarehouseTaskentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getWarehouseTaskByKey
@Nonnull public WarehouseTaskByKeyFluentHelper getWarehouseTaskByKey(String warehouse, String warehouseTask, String warehouseTaskItem) Deprecated.Description copied from interface:WarehouseTaskServiceFetch a singleWarehouseTaskentity using key fields.- Specified by:
getWarehouseTaskByKeyin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
warehouseTask- Warehouse TaskConstraints: Not nullable, Maximum length: 12
warehouseTaskItem- Warehouse Task ItemConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
WarehouseTaskentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createWarehouseTask
@Nonnull public WarehouseTaskCreateFluentHelper createWarehouseTask(@Nonnull WarehouseTask warehouseTask) Deprecated.Description copied from interface:WarehouseTaskServiceCreate a newWarehouseTaskentity and save it to the S/4HANA system.- Specified by:
createWarehouseTaskin interfaceWarehouseTaskService- Parameters:
warehouseTask-WarehouseTaskentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
WarehouseTaskentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllWarehouseTaskExceptionCode
Deprecated.Description copied from interface:WarehouseTaskServiceFetch multipleWarehouseTaskExceptionCodeentities.- Specified by:
getAllWarehouseTaskExceptionCodein interfaceWarehouseTaskService- Returns:
- A fluent helper to fetch multiple
WarehouseTaskExceptionCodeentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getWarehouseTaskExceptionCodeByKey
@Nonnull public WarehouseTaskExceptionCodeByKeyFluentHelper getWarehouseTaskExceptionCodeByKey(String warehouse, String warehouseTask, String warehouseTaskItem, String warehouseTaskExceptionCode, String businessContext, String businessContextExecutionStep) Deprecated.Description copied from interface:WarehouseTaskServiceFetch a singleWarehouseTaskExceptionCodeentity using key fields.- Specified by:
getWarehouseTaskExceptionCodeByKeyin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
warehouseTask- Warehouse TaskConstraints: Not nullable, Maximum length: 12
warehouseTaskItem- Warehouse Task ItemConstraints: Not nullable, Maximum length: 4
warehouseTaskExceptionCode- Exception CodeConstraints: Not nullable, Maximum length: 4
businessContext- Business ContextConstraints: Not nullable, Maximum length: 3
businessContextExecutionStep- Execution Step in Business ContextConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
WarehouseTaskExceptionCodeentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
assignWarehouseOrder
@Nonnull public AssignWarehouseOrderFluentHelper assignWarehouseOrder(@Nonnull String warehouse, @Nonnull String warehouseOrder, @Nullable String warehouseResource) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the AssignWarehouseOrder OData function import.
- Specified by:
assignWarehouseOrderin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseOrder- Warehouse OrderConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: WarehouseOrder
warehouseResource- ResourceConstraints: Nullable, Maximum length: 18
Original parameter name from the Odata EDM: WarehouseResource
- Returns:
- A fluent helper object that will execute the AssignWarehouseOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
setInProcessWarehouseOrder
@Nonnull public SetInProcessWarehouseOrderFluentHelper setInProcessWarehouseOrder(@Nonnull String warehouse, @Nonnull String warehouseOrder) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the SetInProcessWarehouseOrder OData function import.
- Specified by:
setInProcessWarehouseOrderin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseOrder- Warehouse OrderConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: WarehouseOrder
- Returns:
- A fluent helper object that will execute the SetInProcessWarehouseOrder OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
unassignWarehouseOrder
@Nonnull public UnassignWarehouseOrderFluentHelper unassignWarehouseOrder(@Nonnull String warehouse, @Nonnull String warehouseOrder) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the UnassignWarehouseOrder OData function import.
- Specified by:
unassignWarehouseOrderin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseOrder- Warehouse OrderConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: WarehouseOrder
- Returns:
- A fluent helper object that will execute the UnassignWarehouseOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
cancelWarehouseTask
@Nonnull public CancelWarehouseTaskFluentHelper cancelWarehouseTask(@Nonnull String warehouse, @Nonnull String warehouseTask, @Nonnull String warehouseTaskItem) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the CancelWarehouseTask OData function import.
- Specified by:
cancelWarehouseTaskin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseTask- Warehouse TaskConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: WarehouseTask
warehouseTaskItem- WT ItemConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: WarehouseTaskItem
- Returns:
- A fluent helper object that will execute the CancelWarehouseTask OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
confirmWarehouseTaskExact
@Nonnull public ConfirmWarehouseTaskExactFluentHelper confirmWarehouseTaskExact(@Nonnull String warehouse, @Nonnull String warehouseTask, @Nonnull String warehouseTaskItem) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the ConfirmWarehouseTaskExact OData function import.
- Specified by:
confirmWarehouseTaskExactin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseTask- Warehouse TaskConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: WarehouseTask
warehouseTaskItem- WT ItemConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: WarehouseTaskItem
- Returns:
- A fluent helper object that will execute the ConfirmWarehouseTaskExact OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
confirmWarehouseTaskHU
@Nonnull public ConfirmWarehouseTaskHUFluentHelper confirmWarehouseTaskHU(@Nonnull String warehouse, @Nonnull String warehouseTask, @Nonnull String warehouseTaskItem, @Nullable String destinationStorageBin, @Nullable String whseTaskExCodeDestStorageBin) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the ConfirmWarehouseTaskHU OData function import.
- Specified by:
confirmWarehouseTaskHUin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseTask- Warehouse TaskConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: WarehouseTask
warehouseTaskItem- WT ItemConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: WarehouseTaskItem
destinationStorageBin- Destination BinConstraints: Nullable, Maximum length: 18
Original parameter name from the Odata EDM: DestinationStorageBin
whseTaskExCodeDestStorageBin- Exception CodeConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: WhseTaskExCodeDestStorageBin
- Returns:
- A fluent helper object that will execute the ConfirmWarehouseTaskHU OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
confirmWarehouseTaskProduct
@Nonnull public ConfirmWarehouseTaskProductFluentHelper confirmWarehouseTaskProduct(@Nonnull String warehouse, @Nonnull String warehouseTask, @Nonnull String warehouseTaskItem, @Nullable String alternativeUnit, @Nullable BigDecimal actualQuantityInAltvUnit, @Nullable BigDecimal differenceQuantityInAltvUnit, @Nullable String whseTaskExceptionCodeQtyDiff, @Nullable String destinationStorageBin, @Nullable String whseTaskExCodeDestStorageBin, @Nullable String sourceHandlingUnit) Deprecated.Description copied from interface:WarehouseTaskServiceCreates a fluent helper for the ConfirmWarehouseTaskProduct OData function import.
- Specified by:
confirmWarehouseTaskProductin interfaceWarehouseTaskService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseTask- Warehouse TaskConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: WarehouseTask
warehouseTaskItem- WT ItemConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: WarehouseTaskItem
alternativeUnit- Alt. Unit of MeasureConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: AlternativeUnit
actualQuantityInAltvUnit- Actual QuantityConstraints: Nullable, Precision: 31, Scale: 14
Original parameter name from the Odata EDM: ActualQuantityInAltvUnit
differenceQuantityInAltvUnit- Difference QuantityConstraints: Nullable, Precision: 31, Scale: 14
Original parameter name from the Odata EDM: DifferenceQuantityInAltvUnit
whseTaskExceptionCodeQtyDiff- Exception CodeConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: WhseTaskExceptionCodeQtyDiff
destinationStorageBin- Destination BinConstraints: Nullable, Maximum length: 18
Original parameter name from the Odata EDM: DestinationStorageBin
whseTaskExCodeDestStorageBin- Exception CodeConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: WhseTaskExCodeDestStorageBin
sourceHandlingUnit- Source Handling UnitConstraints: Nullable, Maximum length: 20
Original parameter name from the Odata EDM: SourceHandlingUnit
- Returns:
- A fluent helper object that will execute the ConfirmWarehouseTaskProduct OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-