@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultHandlingUnitService") public class DefaultHandlingUnitService extends Object implements HandlingUnitService
In every API call, you can make use of the following operations: - You can retrieve header information for a handling unit based on the delivery reference or on the warehouse number plus the handling unit number. - You can retrieve item information for a handling unit. Apply any of the filters provided or retrieve all existing data..
Reference: SAP API Business Hub
OData Service: | API_HANDLING_UNIT |
API Version: | 1 |
Communication Scenario: | Handling Unit Integration (SAP_COM_0364) |
Scope Items: | Warehouse Outbound Processing (3BS) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | HandlingUnit |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultHandlingUnitService()
Creates a service using
HandlingUnitService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultHandlingUnitServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
HandlingUnitFluentHelper |
getAllHandlingUnit()
Fetch multiple
HandlingUnit
entities. |
HandlingUnitItemFluentHelper |
getAllHandlingUnitItem()
Fetch multiple
HandlingUnitItem entities. |
HandlingUnitByKeyFluentHelper |
getHandlingUnitByKey(String handlingUnitExternalID,
String warehouse)
Fetch a single
HandlingUnit
entity using key fields. |
HandlingUnitItemByKeyFluentHelper |
getHandlingUnitItemByKey(String handlingUnitExternalID,
String warehouse,
UUID stockItemUUID)
Fetch a single
HandlingUnitItem entity using key fields. |
DefaultHandlingUnitService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultHandlingUnitService()
HandlingUnitService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultHandlingUnitService withServicePath(@Nonnull String servicePath)
HandlingUnitService
withServicePath
in interface HandlingUnitService
servicePath
- Service path that will override the default.@Nonnull public DefaultHandlingUnitServiceBatch batch()
batch
in interface BatchService<HandlingUnitServiceBatch>
@Nonnull public HandlingUnitFluentHelper getAllHandlingUnit()
HandlingUnitService
HandlingUnit
entities.getAllHandlingUnit
in interface HandlingUnitService
HandlingUnit
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.@Nonnull public HandlingUnitByKeyFluentHelper getHandlingUnitByKey(String handlingUnitExternalID, String warehouse)
HandlingUnitService
HandlingUnit
entity using key fields.getHandlingUnitByKey
in interface HandlingUnitService
handlingUnitExternalID
- Specifies an external identifier for the handling unit.
Constraints: Not nullable, Maximum length: 20
warehouse
- Alphanumeric key that identifies a complex, physical warehouse within the warehouse management system.
Constraints: Not nullable, Maximum length: 4
HandlingUnit
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.@Nonnull public HandlingUnitItemFluentHelper getAllHandlingUnitItem()
HandlingUnitService
HandlingUnitItem
entities.getAllHandlingUnitItem
in interface HandlingUnitService
HandlingUnitItem
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.@Nonnull public HandlingUnitItemByKeyFluentHelper getHandlingUnitItemByKey(String handlingUnitExternalID, String warehouse, UUID stockItemUUID)
HandlingUnitService
HandlingUnitItem
entity using key fields.getHandlingUnitItemByKey
in interface HandlingUnitService
handlingUnitExternalID
- Specifies an external identifier for the handling unit.
Constraints: Not nullable, Maximum length: 20
warehouse
- Alphanumeric key that identifies a complex, physical warehouse within the warehouse management system.
Constraints: Not nullable, Maximum length: 4
stockItemUUID
- GUID Stock Item
Constraints: Not nullable
HandlingUnitItem
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.Copyright © 2019 SAP SE. All rights reserved.