Class DefaultWarehousePhysicalInventoryService
- All Implemented Interfaces:
BatchService<WarehousePhysicalInventoryServiceBatch>,WarehousePhysicalInventoryService
In every API call, you can make use of the following operations: - You can retrieve physical inventory (PI) items. - You can count PI items. - You can change counted PI items. - You can mark PI items as ***Deleted***. You can integrate this API with external applications. For the count and change count operations, you can only perform these operations using batch requests. Additionally, you must include the entities Warehouse Physical Inventory Item (WhsePhysicalInventoryItem) and Warehouse Physical Inventory Count Item (WhsePhysicalInventoryCountItem) in the batch requests. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_WHSE_PHYSINVENTORYITEM |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| Communication Scenario: | Warehousing - Physical Inventory Integration(SAP_COM_0378) |
| Scope Items: | Warehouse Physical Inventory(3BX) |
| Business Object: | Warehouse Physical Inventory Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.WarehousePhysicalInventoryService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWarehousePhysicalInventoryService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createWhsePhysicalInventoryCountItem(WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Create a newWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.createWhsePhysicalInventoryItem(WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Create a newWhsePhysicalInventoryItementity and save it to the S/4HANA system.deletePhysicalInventoryItem(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber) Deprecated.Creates a fluent helper for the DeletePhysicalInventoryItem OData function import.Deprecated.Fetch multipleWhsePhysicalInventoryCountItementities.Deprecated.Fetch multipleWhsePhysicalInventoryItementities.getWhsePhysicalInventoryCountItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence) Deprecated.Fetch a singleWhsePhysicalInventoryCountItementity using key fields.getWhsePhysicalInventoryItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber) Deprecated.Fetch a singleWhsePhysicalInventoryItementity using key fields.updateWhsePhysicalInventoryCountItem(WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Update an existingWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.updateWhsePhysicalInventoryItem(WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Update an existingWhsePhysicalInventoryItementity 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.
-
Constructor Details
-
DefaultWarehousePhysicalInventoryService
public DefaultWarehousePhysicalInventoryService()Deprecated.Creates a service usingWarehousePhysicalInventoryService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultWarehousePhysicalInventoryService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWarehousePhysicalInventoryService- 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<WarehousePhysicalInventoryServiceBatch>
-
getAllWhsePhysicalInventoryCountItem
Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch multipleWhsePhysicalInventoryCountItementities.- Specified by:
getAllWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Returns:
- A fluent helper to fetch multiple
WhsePhysicalInventoryCountItementities. 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.
-
getWhsePhysicalInventoryCountItemByKey
@Nonnull public WhsePhysicalInventoryCountItemByKeyFluentHelper getWhsePhysicalInventoryCountItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch a singleWhsePhysicalInventoryCountItementity using key fields.- Specified by:
getWhsePhysicalInventoryCountItemByKeyin interfaceWarehousePhysicalInventoryService- Parameters:
physicalInventoryDocumentUUID- GUID for Physical Inventory DocumentConstraints: Not nullable
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
lineIndexOfPInvItem- Row Index of Internal TablesConstraints: Not nullable
pInvQuantitySequence- Row Index of Internal TablesConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
WhsePhysicalInventoryCountItementity 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.
-
createWhsePhysicalInventoryCountItem
@Nonnull public WhsePhysicalInventoryCountItemCreateFluentHelper createWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreate a newWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- Specified by:
createWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryCountItem-WhsePhysicalInventoryCountItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
WhsePhysicalInventoryCountItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateWhsePhysicalInventoryCountItem
@Nonnull public WhsePhysicalInventoryCountItemUpdateFluentHelper updateWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceUpdate an existingWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- Specified by:
updateWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryCountItem-WhsePhysicalInventoryCountItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
WhsePhysicalInventoryCountItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllWhsePhysicalInventoryItem
Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch multipleWhsePhysicalInventoryItementities.- Specified by:
getAllWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Returns:
- A fluent helper to fetch multiple
WhsePhysicalInventoryItementities. 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.
-
getWhsePhysicalInventoryItemByKey
@Nonnull public WhsePhysicalInventoryItemByKeyFluentHelper getWhsePhysicalInventoryItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch a singleWhsePhysicalInventoryItementity using key fields.- Specified by:
getWhsePhysicalInventoryItemByKeyin interfaceWarehousePhysicalInventoryService- Parameters:
physicalInventoryDocumentUUID- GUID for Physical Inventory DocumentConstraints: Not nullable
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
WhsePhysicalInventoryItementity 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.
-
createWhsePhysicalInventoryItem
@Nonnull public WhsePhysicalInventoryItemCreateFluentHelper createWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreate a newWhsePhysicalInventoryItementity and save it to the S/4HANA system.- Specified by:
createWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryItem-WhsePhysicalInventoryItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
WhsePhysicalInventoryItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateWhsePhysicalInventoryItem
@Nonnull public WhsePhysicalInventoryItemUpdateFluentHelper updateWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceUpdate an existingWhsePhysicalInventoryItementity and save it to the S/4HANA system.- Specified by:
updateWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryItem-WhsePhysicalInventoryItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
WhsePhysicalInventoryItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePhysicalInventoryItem
@Nonnull public DeletePhysicalInventoryItemFluentHelper deletePhysicalInventoryItem(@Nonnull UUID physicalInventoryDocumentUUID, @Nonnull String physicalInventoryItemNumber) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreates a fluent helper for the DeletePhysicalInventoryItem OData function import.
- Specified by:
deletePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Parameters:
physicalInventoryDocumentUUID- GUIDConstraints: none
Original parameter name from the Odata EDM: PhysicalInventoryDocumentUUID
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: PhysicalInventoryItemNumber
- Returns:
- A fluent helper object that will execute the DeletePhysicalInventoryItem OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-