Class DefaultWarehouseAvailableStockService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,WarehouseAvailableStockService
This allows you to analyze the current stock situation in a warehouse. You can use the retrieved information to determine stock for warehouse tasks.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | WAREHOUSEAVAILABLESTOCK_0001 |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Warehousing - Stock Integration(SAP_COM_0755) |
| Scope Items: | Warehouse Inbound Processing(3BR), Warehouse Outbound Processing(3BS), Warehouse Ad Hoc Goods Issue(3BT), Warehouse Posting Changes(3BU), Warehouse Internal Repacking(3BW), Warehouse Physical Inventory(3BX), Warehouse Production Integration(3DV), Quality Management in Warehousing(3M0), Warehouse Kanban Supply into Production(3VT), Resource Management in Warehousing(3W0) |
| Authentication Methods: | x509 |
| Service Group Name: | API_WHSE_AVAILABLESTOCK |
| Business Object: | Warehouse Available Stock |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.WarehouseAvailableStockService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWarehouseAvailableStockService.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 theWarehouseAvailableStockentity collection matching the filter and search expressions.Deprecated.Fetch multipleWarehouseAvailableStockentities.Deprecated.getWarehouseAvailableStockByKey(String eWMWarehouse, String product, String batch, String eWMStockOwner, String entitledToDisposeParty, String eWMStockType, String eWMStockUsage, String stockDocumentCategory, String eWMDocumentCategory, String wBSElementExternalID, String specialStockIdfgSalesOrder, String specialStockIdfgSalesOrderItem, String handlingUnitExternalID, String eWMStorageBin, String eWMResource) Deprecated.Fetch a singleWarehouseAvailableStockentity using key fields.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
-
DefaultWarehouseAvailableStockService
public DefaultWarehouseAvailableStockService()Deprecated.Creates a service usingWarehouseAvailableStockService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:WarehouseAvailableStockServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWarehouseAvailableStockService- 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:WarehouseAvailableStockServiceCreates a batch request builder object.- Specified by:
batchin interfaceWarehouseAvailableStockService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllWarehouseAvailableStock
Deprecated.Description copied from interface:WarehouseAvailableStockServiceFetch multipleWarehouseAvailableStockentities.- Specified by:
getAllWarehouseAvailableStockin interfaceWarehouseAvailableStockService- Returns:
- A request builder to fetch multiple
WarehouseAvailableStockentities. 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.
-
countWarehouseAvailableStock
Deprecated.Description copied from interface:WarehouseAvailableStockServiceFetch the number of entries from theWarehouseAvailableStockentity collection matching the filter and search expressions.- Specified by:
countWarehouseAvailableStockin interfaceWarehouseAvailableStockService- Returns:
- A request builder to fetch the count of
WarehouseAvailableStockentities. 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.
-
getWarehouseAvailableStockByKey
@Nonnull public GetByKeyRequestBuilder<WarehouseAvailableStock> getWarehouseAvailableStockByKey(String eWMWarehouse, String product, String batch, String eWMStockOwner, String entitledToDisposeParty, String eWMStockType, String eWMStockUsage, String stockDocumentCategory, String eWMDocumentCategory, String wBSElementExternalID, String specialStockIdfgSalesOrder, String specialStockIdfgSalesOrderItem, String handlingUnitExternalID, String eWMStorageBin, String eWMResource) Deprecated.Description copied from interface:WarehouseAvailableStockServiceFetch a singleWarehouseAvailableStockentity using key fields.- Specified by:
getWarehouseAvailableStockByKeyin interfaceWarehouseAvailableStockService- Parameters:
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
product- Product NumberConstraints: Not nullable, Maximum length: 18
batch- BatchConstraints: Not nullable, Maximum length: 10
eWMStockOwner- Stock OwnerConstraints: Not nullable, Maximum length: 10
entitledToDisposeParty- Party Entitled to DisposeConstraints: Not nullable, Maximum length: 10
eWMStockType- Stock TypeConstraints: Not nullable, Maximum length: 2
eWMStockUsage- Stock UsageConstraints: Not nullable, Maximum length: 1
stockDocumentCategory- Special Reference Stock TypeConstraints: Not nullable, Maximum length: 3
eWMDocumentCategory- Doc. Category for Doc. Reference and Doc.-Related StockConstraints: Not nullable, Maximum length: 3
wBSElementExternalID- Work Breakdown Structure Element (WBS Element) EditedConstraints: Not nullable, Maximum length: 24
specialStockIdfgSalesOrder- Sales and Distribution Document NumberConstraints: Not nullable, Maximum length: 10
specialStockIdfgSalesOrderItem- Sales Order/Project Item for Sales Order/Project StockConstraints: Not nullable, Maximum length: 6
handlingUnitExternalID- Handling UnitConstraints: Not nullable, Maximum length: 20
eWMStorageBin- Storage BinConstraints: Not nullable, Maximum length: 18
eWMResource- Resource (Means of Transportation or User)Constraints: Not nullable, Maximum length: 18
- Returns:
- A request builder to fetch a single
WarehouseAvailableStockentity 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-