Class DefaultWarehouseResourceService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,WarehouseResourceService
In every API call, you can make use of the following operations: - You can retrieve warehouse resources. Apply any of the filters provided or retrieve all existing data. - You can create and delete warehouse resources. - You can update existing warehouse resources (log on, log off). - You can retrieve the sequence of queues that is assigned to the resource group of a warehouse resource. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | WAREHOUSERESOURCE_0001 |
| API Version: | 1.2.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Warehousing - Process Warehouse Task Integration(SAP_COM_0353) |
| Scope Items: | Resource Management in Warehousing(3W0) |
| Authentication Methods: | x509 |
| Service Group Name: | API_WAREHOUSE_RESOURCE_2 |
| Business Object: | Warehouse Resource |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.WarehouseResourceService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWarehouseResourceService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theWarehouseResourceentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWhseResourceGroupSequenceentity collection matching the filter and search expressions.createWarehouseResource(WarehouseResource warehouseResource) Deprecated.Create a newWarehouseResourceentity and save it to the S/4HANA system.createWhseResourceGroupQueueSqnc(WhseResourceGroupSequence whseResourceGroupSequence) Deprecated.Create a newWhseResourceGroupSequenceentity and save it to the S/4HANA system.deleteWarehouseResource(WarehouseResource warehouseResource) Deprecated.Deletes an existingWarehouseResourceentity in the S/4HANA system.Deprecated.Fetch multipleWarehouseResourceentities.Deprecated.Fetch multipleWhseResourceGroupSequenceentities.Deprecated.getWarehouseResourceByKey(String eWMWarehouse, String eWMResource) Deprecated.Fetch a singleWarehouseResourceentity using key fields.getWhseResourceGroupQueueSqncByKey(String eWMWarehouse, String eWMResourceGroup, String eWMResourceGroupQueueSqncNmbr) Deprecated.Fetch a singleWhseResourceGroupSequenceentity using key fields.updateWarehouseResource(WarehouseResource warehouseResource) Deprecated.Update an existingWarehouseResourceentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultWarehouseResourceService
public DefaultWarehouseResourceService()Deprecated.Creates a service usingWarehouseResourceService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:WarehouseResourceServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWarehouseResourceService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:WarehouseResourceServiceCreates a batch request builder object.- Specified by:
batchin interfaceWarehouseResourceService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllWarehouseResource
Deprecated.Description copied from interface:WarehouseResourceServiceFetch multipleWarehouseResourceentities.- Specified by:
getAllWarehouseResourcein interfaceWarehouseResourceService- Returns:
- A request builder to fetch multiple
WarehouseResourceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWarehouseResource
Deprecated.Description copied from interface:WarehouseResourceServiceFetch the number of entries from theWarehouseResourceentity collection matching the filter and search expressions.- Specified by:
countWarehouseResourcein interfaceWarehouseResourceService- Returns:
- A request builder to fetch the count of
WarehouseResourceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWarehouseResourceByKey
@Nonnull public GetByKeyRequestBuilder<WarehouseResource> getWarehouseResourceByKey(String eWMWarehouse, String eWMResource) Deprecated.Description copied from interface:WarehouseResourceServiceFetch a singleWarehouseResourceentity using key fields.- Specified by:
getWarehouseResourceByKeyin interfaceWarehouseResourceService- Parameters:
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
eWMResource- Resource (Means of Transportation or User)Constraints: Not nullable, Maximum length: 18
- Returns:
- A request builder to fetch a single
WarehouseResourceentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createWarehouseResource
@Nonnull public CreateRequestBuilder<WarehouseResource> createWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceCreate a newWarehouseResourceentity and save it to the S/4HANA system.- Specified by:
createWarehouseResourcein interfaceWarehouseResourceService- Parameters:
warehouseResource-WarehouseResourceentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WarehouseResourceentity. To perform execution, call theexecutemethod on the request builder object.
-
updateWarehouseResource
@Nonnull public UpdateRequestBuilder<WarehouseResource> updateWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceUpdate an existingWarehouseResourceentity and save it to the S/4HANA system.- Specified by:
updateWarehouseResourcein interfaceWarehouseResourceService- Parameters:
warehouseResource-WarehouseResourceentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WarehouseResourceentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteWarehouseResource
@Nonnull public DeleteRequestBuilder<WarehouseResource> deleteWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceDeletes an existingWarehouseResourceentity in the S/4HANA system.- Specified by:
deleteWarehouseResourcein interfaceWarehouseResourceService- Parameters:
warehouseResource-WarehouseResourceentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
WarehouseResourceentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWhseResourceGroupQueueSqnc
Deprecated.Description copied from interface:WarehouseResourceServiceFetch multipleWhseResourceGroupSequenceentities.- Specified by:
getAllWhseResourceGroupQueueSqncin interfaceWarehouseResourceService- Returns:
- A request builder to fetch multiple
WhseResourceGroupSequenceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWhseResourceGroupQueueSqnc
Deprecated.Description copied from interface:WarehouseResourceServiceFetch the number of entries from theWhseResourceGroupSequenceentity collection matching the filter and search expressions.- Specified by:
countWhseResourceGroupQueueSqncin interfaceWarehouseResourceService- Returns:
- A request builder to fetch the count of
WhseResourceGroupSequenceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWhseResourceGroupQueueSqncByKey
@Nonnull public GetByKeyRequestBuilder<WhseResourceGroupSequence> getWhseResourceGroupQueueSqncByKey(String eWMWarehouse, String eWMResourceGroup, String eWMResourceGroupQueueSqncNmbr) Deprecated.Description copied from interface:WarehouseResourceServiceFetch a singleWhseResourceGroupSequenceentity using key fields.- Specified by:
getWhseResourceGroupQueueSqncByKeyin interfaceWarehouseResourceService- Parameters:
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
eWMResourceGroup- Resource GroupConstraints: Not nullable, Maximum length: 4
eWMResourceGroupQueueSqncNmbr- Sequence NumberConstraints: Not nullable, Maximum length: 5
- Returns:
- A request builder to fetch a single
WhseResourceGroupSequenceentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createWhseResourceGroupQueueSqnc
@Nonnull public CreateRequestBuilder<WhseResourceGroupSequence> createWhseResourceGroupQueueSqnc(@Nonnull WhseResourceGroupSequence whseResourceGroupSequence) Deprecated.Description copied from interface:WarehouseResourceServiceCreate a newWhseResourceGroupSequenceentity and save it to the S/4HANA system.- Specified by:
createWhseResourceGroupQueueSqncin interfaceWarehouseResourceService- Parameters:
whseResourceGroupSequence-WhseResourceGroupSequenceentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WhseResourceGroupSequenceentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-