Class DefaultDefectProcessingService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectProcessingService
- All Implemented Interfaces:
BatchService<DefectProcessingServiceBatch>,DefectProcessingService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectProcessingService")
@Deprecated
public class DefaultDefectProcessingService
extends Object
implements DefectProcessingService
Deprecated.
The service and all its related classes are deprecated. Please use the
successor API instead.
A defect is a deviation due to which a quality requirement cannot be fulfilled. This service enables you to record or process defects of different defect categories. Depending on the defect category different properties are mandatory for creating the defect. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_DEFECT_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.DefectProcessingService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingDefectProcessingService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createDefect(Defect defect) Deprecated.Create a newDefectentity and save it to the S/4HANA system.deleteDefect(Defect defect) Deprecated.Deletes an existingDefectentity in the S/4HANA system.Deprecated.Fetch multipleDefectentities.getDefectByKey(String defectInternalID) Deprecated.Fetch a singleDefectentity using key fields.updateDefect(Defect defect) Deprecated.Update an existingDefectentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultDefectProcessingService
public DefaultDefectProcessingService()Deprecated.Creates a service usingDefectProcessingService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:DefectProcessingServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceDefectProcessingService- 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<DefectProcessingServiceBatch>
-
getAllDefect
Deprecated.Description copied from interface:DefectProcessingServiceFetch multipleDefectentities.- Specified by:
getAllDefectin interfaceDefectProcessingService- Returns:
- A fluent helper to fetch multiple
Defectentities. 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.
-
getDefectByKey
Deprecated.Description copied from interface:DefectProcessingServiceFetch a singleDefectentity using key fields.- Specified by:
getDefectByKeyin interfaceDefectProcessingService- Parameters:
defectInternalID- Notification NumberConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
Defectentity 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.
-
createDefect
Deprecated.Description copied from interface:DefectProcessingServiceCreate a newDefectentity and save it to the S/4HANA system.- Specified by:
createDefectin interfaceDefectProcessingService- Parameters:
defect-Defectentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
Defectentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateDefect
Deprecated.Description copied from interface:DefectProcessingServiceUpdate an existingDefectentity and save it to the S/4HANA system.- Specified by:
updateDefectin interfaceDefectProcessingService- Parameters:
defect-Defectentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
Defectentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteDefect
Deprecated.Description copied from interface:DefectProcessingServiceDeletes an existingDefectentity in the S/4HANA system.- Specified by:
deleteDefectin interfaceDefectProcessingService- Parameters:
defect-Defectentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
Defectentity. To perform execution, call theexecutemethod on the fluent helper object.
-