Class DefaultDefectCodeAndCodeGroupService
- All Implemented Interfaces:
BatchService<DefectCodeAndCodeGroupServiceBatch>,DefectCodeAndCodeGroupService
This service is related to the business object Defect. The combination of defect code group and code uniquely identifies the type of the defect in Quality Management in a coded format..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_DEFECTCODE_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Quality Notification and Defect Processing Integration(SAP_COM_0153) |
| 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: | x509 |
| Business Object: | Defect |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefectCodeAndCodeGroupService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingDefectCodeAndCodeGroupService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleDefectCodeentities.Deprecated.Fetch multipleDefectCodeGroupentities.Deprecated.Fetch multipleDefectCodeGroupTextentities.Deprecated.Fetch multipleDefectCodeTextentities.getDefectCodeByKey(String defectCodeGroup, String defectCode) Deprecated.Fetch a singleDefectCodeentity using key fields.getDefectCodeGroupByKey(String defectCodeGroup) Deprecated.Fetch a singleDefectCodeGroupentity using key fields.getDefectCodeGroupTextByKey(String defectCodeGroup, String language) Deprecated.Fetch a singleDefectCodeGroupTextentity using key fields.getDefectCodeTextByKey(String defectCodeGroup, String defectCode, String language) Deprecated.Fetch a singleDefectCodeTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultDefectCodeAndCodeGroupService
public DefaultDefectCodeAndCodeGroupService()Deprecated.Creates a service usingDefectCodeAndCodeGroupService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceDefectCodeAndCodeGroupService- 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<DefectCodeAndCodeGroupServiceBatch>
-
getAllDefectCode
Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch multipleDefectCodeentities.- Specified by:
getAllDefectCodein interfaceDefectCodeAndCodeGroupService- Returns:
- A fluent helper to fetch multiple
DefectCodeentities. 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.
-
getDefectCodeByKey
@Nonnull public DefectCodeByKeyFluentHelper getDefectCodeByKey(String defectCodeGroup, String defectCode) Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch a singleDefectCodeentity using key fields.- Specified by:
getDefectCodeByKeyin interfaceDefectCodeAndCodeGroupService- Parameters:
defectCodeGroup- Defect Code GroupConstraints: Not nullable, Maximum length: 8
defectCode- Defect CodeConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
DefectCodeentity 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.
-
getAllDefectCodeGroup
Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch multipleDefectCodeGroupentities.- Specified by:
getAllDefectCodeGroupin interfaceDefectCodeAndCodeGroupService- Returns:
- A fluent helper to fetch multiple
DefectCodeGroupentities. 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.
-
getDefectCodeGroupByKey
Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch a singleDefectCodeGroupentity using key fields.- Specified by:
getDefectCodeGroupByKeyin interfaceDefectCodeAndCodeGroupService- Parameters:
defectCodeGroup- Defect Code GroupConstraints: Not nullable, Maximum length: 8
- Returns:
- A fluent helper to fetch a single
DefectCodeGroupentity 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.
-
getAllDefectCodeGroupText
Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch multipleDefectCodeGroupTextentities.- Specified by:
getAllDefectCodeGroupTextin interfaceDefectCodeAndCodeGroupService- Returns:
- A fluent helper to fetch multiple
DefectCodeGroupTextentities. 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.
-
getDefectCodeGroupTextByKey
@Nonnull public DefectCodeGroupTextByKeyFluentHelper getDefectCodeGroupTextByKey(String defectCodeGroup, String language) Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch a singleDefectCodeGroupTextentity using key fields.- Specified by:
getDefectCodeGroupTextByKeyin interfaceDefectCodeAndCodeGroupService- Parameters:
defectCodeGroup- Defect Code GroupConstraints: Not nullable, Maximum length: 8
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
DefectCodeGroupTextentity 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.
-
getAllDefectCodeText
Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch multipleDefectCodeTextentities.- Specified by:
getAllDefectCodeTextin interfaceDefectCodeAndCodeGroupService- Returns:
- A fluent helper to fetch multiple
DefectCodeTextentities. 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.
-
getDefectCodeTextByKey
@Nonnull public DefectCodeTextByKeyFluentHelper getDefectCodeTextByKey(String defectCodeGroup, String defectCode, String language) Deprecated.Description copied from interface:DefectCodeAndCodeGroupServiceFetch a singleDefectCodeTextentity using key fields.- Specified by:
getDefectCodeTextByKeyin interfaceDefectCodeAndCodeGroupService- Parameters:
defectCodeGroup- Defect Code GroupConstraints: Not nullable, Maximum length: 8
defectCode- Defect CodeConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
DefectCodeTextentity 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.
-