@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectCodeAndCodeGroupService") public class DefaultDefectCodeAndCodeGroupService extends Object implements DefectCodeAndCodeGroupService
This service enables you to read defect codes and code groups and their language-dependent texts from the SAP S/4HANA Cloud system. The combination of defect code group and code uniquely identifies the type of the defect in quality management in a coded format.
Reference: SAP API Business Hub
OData Service: | API_DEFECTCODE_SRV |
API Version: | 1 |
Communication Scenario: | 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: | Basic, x509, OAuth2 |
Business Object: | Defect |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDefectCodeAndCodeGroupService()
Creates a service using
DefectCodeAndCodeGroupService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultDefectCodeAndCodeGroupService()
DefectCodeAndCodeGroupService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDefectCodeAndCodeGroupService withServicePath(@Nonnull String servicePath)
DefectCodeAndCodeGroupService
withServicePath
in interface DefectCodeAndCodeGroupService
servicePath
- Service path that will override the default.@Nonnull public DefectCodeFluentHelper getAllDefectCode()
DefectCodeAndCodeGroupService
DefectCode
entities.getAllDefectCode
in interface DefectCodeAndCodeGroupService
DefectCode
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 DefectCodeByKeyFluentHelper getDefectCodeByKey(String defectCodeGroup, String defectCode)
DefectCodeAndCodeGroupService
DefectCode
entity using key fields.getDefectCodeByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
defectCode
- Defect Code
Constraints: Not nullable, Maximum length: 4
DefectCode
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 DefectCodeGroupFluentHelper getAllDefectCodeGroup()
DefectCodeAndCodeGroupService
DefectCodeGroup
entities.getAllDefectCodeGroup
in interface DefectCodeAndCodeGroupService
DefectCodeGroup
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 DefectCodeGroupByKeyFluentHelper getDefectCodeGroupByKey(String defectCodeGroup)
DefectCodeAndCodeGroupService
DefectCodeGroup
entity using key fields.getDefectCodeGroupByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
DefectCodeGroup
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 DefectCodeGroupTextFluentHelper getAllDefectCodeGroupText()
DefectCodeAndCodeGroupService
DefectCodeGroupText
entities.getAllDefectCodeGroupText
in interface DefectCodeAndCodeGroupService
DefectCodeGroupText
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 DefectCodeGroupTextByKeyFluentHelper getDefectCodeGroupTextByKey(String defectCodeGroup, String language)
DefectCodeAndCodeGroupService
DefectCodeGroupText
entity using key fields.getDefectCodeGroupTextByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
DefectCodeGroupText
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 DefectCodeTextFluentHelper getAllDefectCodeText()
DefectCodeAndCodeGroupService
DefectCodeText
entities.getAllDefectCodeText
in interface DefectCodeAndCodeGroupService
DefectCodeText
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 DefectCodeTextByKeyFluentHelper getDefectCodeTextByKey(String defectCodeGroup, String defectCode, String language)
DefectCodeAndCodeGroupService
DefectCodeText
entity using key fields.getDefectCodeTextByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
defectCode
- Defect Code
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
DefectCodeText
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.