@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultInspectionMethodService") public class DefaultInspectionMethodService extends Object implements InspectionMethodService
This service enables you to read inspection methods from the SAP S/4HANA system. An inspection method describes the procedure for performing the quality inspection of a characteristic.
Reference: SAP API Business Hub
OData Service: | API_INSPECTIONMETHOD_SRV |
API Version: | 1 |
Communication Scenario: | Inspection Master Data Integration (SAP_COM_0110) |
Scope Items: | Quality Management in Discrete Manufacturing (1E1), Quality Management in Procurement (1FM), Quality Management in Sales (1MP), Quality Management in Stock Handling (1MR), Nonconformance Management (2QN) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | InspectionMethod |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultInspectionMethodService()
Creates a service using
InspectionMethodService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
InspectionMethodFluentHelper |
getAllInspectionMethod()
Fetch multiple
InspectionMethod entities. |
InspectionMethodByKeyFluentHelper |
getInspectionMethodByKey(String inspectionMethod,
String inspectionMethodVersion,
String inspectionMethodPlant)
Fetch a single
InspectionMethod entity using key fields. |
DefaultInspectionMethodService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultInspectionMethodService()
InspectionMethodService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultInspectionMethodService withServicePath(@Nonnull String servicePath)
InspectionMethodService
withServicePath
in interface InspectionMethodService
servicePath
- Service path that will override the default.@Nonnull public InspectionMethodFluentHelper getAllInspectionMethod()
InspectionMethodService
InspectionMethod
entities.getAllInspectionMethod
in interface InspectionMethodService
InspectionMethod
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 InspectionMethodByKeyFluentHelper getInspectionMethodByKey(String inspectionMethod, String inspectionMethodVersion, String inspectionMethodPlant)
InspectionMethodService
InspectionMethod
entity using key fields.getInspectionMethodByKey
in interface InspectionMethodService
inspectionMethod
- Name that uniquely identifies an inspection method within a plant.
Constraints: Not nullable, Maximum length: 8
inspectionMethodVersion
- Version Number of the Inspection Method
Constraints: Not nullable, Maximum length: 6
inspectionMethodPlant
- Key, that identifies a plant.
Constraints: Not nullable, Maximum length: 4
InspectionMethod
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.