Interface WarehousePhysicalInventoryService
- All Superinterfaces:
BatchService<WarehousePhysicalInventoryServiceBatch>
- All Known Implementing Classes:
DefaultWarehousePhysicalInventoryService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateWhsePhysicalInventoryCountItem(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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllWhsePhysicalInventoryCountItem
Deprecated.Fetch multipleWhsePhysicalInventoryCountItementities.- 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 WhsePhysicalInventoryCountItemByKeyFluentHelper getWhsePhysicalInventoryCountItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence) Deprecated.Fetch a singleWhsePhysicalInventoryCountItementity using key fields.- Parameters:
pInvQuantitySequence- Row Index of Internal TablesConstraints: Not nullable
lineIndexOfPInvItem- Row Index of Internal TablesConstraints: Not nullable
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
physicalInventoryDocumentUUID- GUID for Physical Inventory DocumentConstraints: 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 WhsePhysicalInventoryCountItemCreateFluentHelper createWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Create a newWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- 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 WhsePhysicalInventoryCountItemUpdateFluentHelper updateWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Update an existingWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- 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.Fetch multipleWhsePhysicalInventoryItementities.- 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 WhsePhysicalInventoryItemByKeyFluentHelper getWhsePhysicalInventoryItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber) Deprecated.Fetch a singleWhsePhysicalInventoryItementity using key fields.- Parameters:
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
physicalInventoryDocumentUUID- GUID for Physical Inventory DocumentConstraints: Not nullable
- 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 WhsePhysicalInventoryItemCreateFluentHelper createWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Create a newWhsePhysicalInventoryItementity and save it to the S/4HANA system.- 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 WhsePhysicalInventoryItemUpdateFluentHelper updateWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Update an existingWhsePhysicalInventoryItementity and save it to the S/4HANA system.- 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 DeletePhysicalInventoryItemFluentHelper deletePhysicalInventoryItem(@Nonnull UUID physicalInventoryDocumentUUID, @Nonnull String physicalInventoryItemNumber) Deprecated.Creates a fluent helper for the DeletePhysicalInventoryItem OData function import.
- Parameters:
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: PhysicalInventoryItemNumber
physicalInventoryDocumentUUID- GUIDConstraints: none
Original parameter name from the Odata EDM: PhysicalInventoryDocumentUUID
- 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.
-