Class DefaultWarehouseTaskService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWarehouseTaskService
All Implemented Interfaces:
BatchService<WarehouseTaskServiceBatch>, WarehouseTaskService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWarehouseTaskService") @Deprecated public class DefaultWarehouseTaskService extends Object implements WarehouseTaskService
Deprecated.
The service and all its related classes are deprecated as of release 2108 (Aug 2021). Please use the odata generator to generate the VDM.

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)..

Business Documentation

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultWarehouseTaskService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface WarehouseTaskService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultWarehouseTaskServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<WarehouseTaskServiceBatch>
    • getAllWarehouseOrder

      @Nonnull public WarehouseOrderFluentHelper getAllWarehouseOrder()
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Fetch multiple WarehouseOrder entities.
      Specified by:
      getAllWarehouseOrder in interface WarehouseTaskService
      Returns:
      A fluent helper to fetch multiple WarehouseOrder entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getWarehouseOrderByKey

      @Nonnull public WarehouseOrderByKeyFluentHelper getWarehouseOrderByKey(String warehouse, String warehouseOrder)
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Fetch a single WarehouseOrder entity using key fields.
      Specified by:
      getWarehouseOrderByKey in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      warehouseOrder - Warehouse Order Number

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single WarehouseOrder entity 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 the execute method on the fluent helper object.
    • createWarehouseOrder

      @Nonnull public WarehouseOrderCreateFluentHelper createWarehouseOrder(@Nonnull WarehouseOrder warehouseOrder)
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Create a new WarehouseOrder entity and save it to the S/4HANA system.
      Specified by:
      createWarehouseOrder in interface WarehouseTaskService
      Parameters:
      warehouseOrder - WarehouseOrder entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new WarehouseOrder entity. To perform execution, call the execute method on the fluent helper object.
    • getAllWarehouseTask

      @Nonnull public WarehouseTaskFluentHelper getAllWarehouseTask()
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Fetch multiple WarehouseTask entities.
      Specified by:
      getAllWarehouseTask in interface WarehouseTaskService
      Returns:
      A fluent helper to fetch multiple WarehouseTask entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getWarehouseTaskByKey

      @Nonnull public WarehouseTaskByKeyFluentHelper getWarehouseTaskByKey(String warehouse, String warehouseTask, String warehouseTaskItem)
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Fetch a single WarehouseTask entity using key fields.
      Specified by:
      getWarehouseTaskByKey in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      warehouseTask - Warehouse Task

      Constraints: Not nullable, Maximum length: 12

      warehouseTaskItem - Warehouse Task Item

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single WarehouseTask entity 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 the execute method on the fluent helper object.
    • createWarehouseTask

      @Nonnull public WarehouseTaskCreateFluentHelper createWarehouseTask(@Nonnull WarehouseTask warehouseTask)
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Create a new WarehouseTask entity and save it to the S/4HANA system.
      Specified by:
      createWarehouseTask in interface WarehouseTaskService
      Parameters:
      warehouseTask - WarehouseTask entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new WarehouseTask entity. To perform execution, call the execute method on the fluent helper object.
    • getAllWarehouseTaskExceptionCode

      @Nonnull public WarehouseTaskExceptionCodeFluentHelper getAllWarehouseTaskExceptionCode()
      Deprecated.
      Description copied from interface: WarehouseTaskService
      Fetch multiple WarehouseTaskExceptionCode entities.
      Specified by:
      getAllWarehouseTaskExceptionCode in interface WarehouseTaskService
      Returns:
      A fluent helper to fetch multiple WarehouseTaskExceptionCode entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method 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: WarehouseTaskService
      Fetch a single WarehouseTaskExceptionCode entity using key fields.
      Specified by:
      getWarehouseTaskExceptionCodeByKey in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      warehouseTask - Warehouse Task

      Constraints: Not nullable, Maximum length: 12

      warehouseTaskItem - Warehouse Task Item

      Constraints: Not nullable, Maximum length: 4

      warehouseTaskExceptionCode - Exception Code

      Constraints: Not nullable, Maximum length: 4

      businessContext - Business Context

      Constraints: Not nullable, Maximum length: 3

      businessContextExecutionStep - Execution Step in Business Context

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A fluent helper to fetch a single WarehouseTaskExceptionCode entity 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 the execute method on the fluent helper object.
    • assignWarehouseOrder

      @Nonnull public AssignWarehouseOrderFluentHelper assignWarehouseOrder(@Nonnull String warehouse, @Nonnull String warehouseOrder, @Nullable String warehouseResource)
      Deprecated.
      Description copied from interface: WarehouseTaskService

      Creates a fluent helper for the AssignWarehouseOrder OData function import.

      Specified by:
      assignWarehouseOrder in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseOrder - Warehouse Order

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: WarehouseOrder

      warehouseResource - Resource

      Constraints: 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 execute method on the fluent helper object.
    • setInProcessWarehouseOrder

      @Nonnull public SetInProcessWarehouseOrderFluentHelper setInProcessWarehouseOrder(@Nonnull String warehouse, @Nonnull String warehouseOrder)
      Deprecated.
      Description copied from interface: WarehouseTaskService

      Creates a fluent helper for the SetInProcessWarehouseOrder OData function import.

      Specified by:
      setInProcessWarehouseOrder in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseOrder - Warehouse Order

      Constraints: 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 execute method on the fluent helper object.
    • unassignWarehouseOrder

      @Nonnull public UnassignWarehouseOrderFluentHelper unassignWarehouseOrder(@Nonnull String warehouse, @Nonnull String warehouseOrder)
      Deprecated.
      Description copied from interface: WarehouseTaskService

      Creates a fluent helper for the UnassignWarehouseOrder OData function import.

      Specified by:
      unassignWarehouseOrder in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseOrder - Warehouse Order

      Constraints: 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 execute method on the fluent helper object.
    • cancelWarehouseTask

      @Nonnull public CancelWarehouseTaskFluentHelper cancelWarehouseTask(@Nonnull String warehouse, @Nonnull String warehouseTask, @Nonnull String warehouseTaskItem)
      Deprecated.
      Description copied from interface: WarehouseTaskService

      Creates a fluent helper for the CancelWarehouseTask OData function import.

      Specified by:
      cancelWarehouseTask in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseTask - Warehouse Task

      Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: WarehouseTask

      warehouseTaskItem - WT Item

      Constraints: 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 execute method on the fluent helper object.
    • confirmWarehouseTaskExact

      @Nonnull public ConfirmWarehouseTaskExactFluentHelper confirmWarehouseTaskExact(@Nonnull String warehouse, @Nonnull String warehouseTask, @Nonnull String warehouseTaskItem)
      Deprecated.
      Description copied from interface: WarehouseTaskService

      Creates a fluent helper for the ConfirmWarehouseTaskExact OData function import.

      Specified by:
      confirmWarehouseTaskExact in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseTask - Warehouse Task

      Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: WarehouseTask

      warehouseTaskItem - WT Item

      Constraints: 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 execute method 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: WarehouseTaskService

      Creates a fluent helper for the ConfirmWarehouseTaskHU OData function import.

      Specified by:
      confirmWarehouseTaskHU in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseTask - Warehouse Task

      Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: WarehouseTask

      warehouseTaskItem - WT Item

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: WarehouseTaskItem

      destinationStorageBin - Destination Bin

      Constraints: Nullable, Maximum length: 18

      Original parameter name from the Odata EDM: DestinationStorageBin

      whseTaskExCodeDestStorageBin - Exception Code

      Constraints: 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 execute method 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: WarehouseTaskService

      Creates a fluent helper for the ConfirmWarehouseTaskProduct OData function import.

      Specified by:
      confirmWarehouseTaskProduct in interface WarehouseTaskService
      Parameters:
      warehouse - Warehouse Number

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Warehouse

      warehouseTask - Warehouse Task

      Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: WarehouseTask

      warehouseTaskItem - WT Item

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: WarehouseTaskItem

      alternativeUnit - Alt. Unit of Measure

      Constraints: Nullable, Maximum length: 3

      Original parameter name from the Odata EDM: AlternativeUnit

      actualQuantityInAltvUnit - Actual Quantity

      Constraints: Nullable, Precision: 31, Scale: 14

      Original parameter name from the Odata EDM: ActualQuantityInAltvUnit

      differenceQuantityInAltvUnit - Difference Quantity

      Constraints: Nullable, Precision: 31, Scale: 14

      Original parameter name from the Odata EDM: DifferenceQuantityInAltvUnit

      whseTaskExceptionCodeQtyDiff - Exception Code

      Constraints: Nullable, Maximum length: 4

      Original parameter name from the Odata EDM: WhseTaskExceptionCodeQtyDiff

      destinationStorageBin - Destination Bin

      Constraints: Nullable, Maximum length: 18

      Original parameter name from the Odata EDM: DestinationStorageBin

      whseTaskExCodeDestStorageBin - Exception Code

      Constraints: Nullable, Maximum length: 4

      Original parameter name from the Odata EDM: WhseTaskExCodeDestStorageBin

      sourceHandlingUnit - Source Handling Unit

      Constraints: 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 execute method on the fluent helper object.