@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWarehousePhysicalInventoryService") public class DefaultWarehousePhysicalInventoryService extends Object implements 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. .
Reference: SAP API Business Hub
OData Service: | API_WHSE_PHYSINVENTORYITEM |
API Version: | 1 |
Communication Scenario: | Warehousing - Physical Inventory Integration (SAP_COM_0378) |
Scope Items: | Warehouse Physical Inventory (3BX) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | WarehousePhysicalInventoryDoc |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultWarehousePhysicalInventoryService()
Creates a service using
WarehousePhysicalInventoryService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultWarehousePhysicalInventoryService()
WarehousePhysicalInventoryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultWarehousePhysicalInventoryService withServicePath(@Nonnull String servicePath)
WarehousePhysicalInventoryService
withServicePath
in interface WarehousePhysicalInventoryService
servicePath
- Service path that will override the default.@Nonnull public DefaultWarehousePhysicalInventoryServiceBatch batch()
batch
in interface BatchService<WarehousePhysicalInventoryServiceBatch>
@Nonnull public WhsePhysicalInventoryCountItemFluentHelper getAllWhsePhysicalInventoryCountItem()
WarehousePhysicalInventoryService
WhsePhysicalInventoryCountItem
entities.getAllWhsePhysicalInventoryCountItem
in interface WarehousePhysicalInventoryService
WhsePhysicalInventoryCountItem
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 WhsePhysicalInventoryCountItemByKeyFluentHelper getWhsePhysicalInventoryCountItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence)
WarehousePhysicalInventoryService
WhsePhysicalInventoryCountItem
entity using key fields.getWhsePhysicalInventoryCountItemByKey
in interface WarehousePhysicalInventoryService
physicalInventoryDocumentUUID
- GUID for Physical Inventory Document
Constraints: Not nullable
physicalInventoryItemNumber
- Item
Constraints: Not nullable, Maximum length: 6
lineIndexOfPInvItem
- Row number in a primary or secondary table index.
Constraints: Not nullable
pInvQuantitySequence
- Row number in a primary or secondary table index.
Constraints: Not nullable
WhsePhysicalInventoryCountItem
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 WhsePhysicalInventoryCountItemCreateFluentHelper createWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem)
WarehousePhysicalInventoryService
WhsePhysicalInventoryCountItem
entity and save it to the S/4HANA system.createWhsePhysicalInventoryCountItem
in interface WarehousePhysicalInventoryService
whsePhysicalInventoryCountItem
- WhsePhysicalInventoryCountItem
entity object that will be created in the S/4HANA system.WhsePhysicalInventoryCountItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WhsePhysicalInventoryCountItemUpdateFluentHelper updateWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem)
WarehousePhysicalInventoryService
WhsePhysicalInventoryCountItem
entity and save it to the S/4HANA system.updateWhsePhysicalInventoryCountItem
in interface WarehousePhysicalInventoryService
whsePhysicalInventoryCountItem
- WhsePhysicalInventoryCountItem
entity object that will be updated in the S/4HANA system.WhsePhysicalInventoryCountItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WhsePhysicalInventoryItemFluentHelper getAllWhsePhysicalInventoryItem()
WarehousePhysicalInventoryService
WhsePhysicalInventoryItem
entities.getAllWhsePhysicalInventoryItem
in interface WarehousePhysicalInventoryService
WhsePhysicalInventoryItem
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 WhsePhysicalInventoryItemByKeyFluentHelper getWhsePhysicalInventoryItemByKey(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber)
WarehousePhysicalInventoryService
WhsePhysicalInventoryItem
entity using key fields.getWhsePhysicalInventoryItemByKey
in interface WarehousePhysicalInventoryService
physicalInventoryDocumentUUID
- GUID for Physical Inventory Document
Constraints: Not nullable
physicalInventoryItemNumber
- Item
Constraints: Not nullable, Maximum length: 6
WhsePhysicalInventoryItem
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 WhsePhysicalInventoryItemCreateFluentHelper createWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem)
WarehousePhysicalInventoryService
WhsePhysicalInventoryItem
entity and save it to the S/4HANA system.createWhsePhysicalInventoryItem
in interface WarehousePhysicalInventoryService
whsePhysicalInventoryItem
- WhsePhysicalInventoryItem
entity object that will be created in the S/4HANA system.WhsePhysicalInventoryItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WhsePhysicalInventoryItemUpdateFluentHelper updateWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem)
WarehousePhysicalInventoryService
WhsePhysicalInventoryItem
entity and save it to the S/4HANA system.updateWhsePhysicalInventoryItem
in interface WarehousePhysicalInventoryService
whsePhysicalInventoryItem
- WhsePhysicalInventoryItem
entity object that will be updated in the S/4HANA system.WhsePhysicalInventoryItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DeletePhysicalInventoryItemFluentHelper deletePhysicalInventoryItem(UUID physicalInventoryDocumentUUID, String physicalInventoryItemNumber)
WarehousePhysicalInventoryService
Creates a fluent helper for the DeletePhysicalInventoryItem OData function import.
deletePhysicalInventoryItem
in interface WarehousePhysicalInventoryService
physicalInventoryDocumentUUID
- GUID
Constraints: none
Original parameter name from the Odata EDM: PhysicalInventoryDocumentUUID
physicalInventoryItemNumber
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: PhysicalInventoryItemNumber
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.