@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBillOfMaterialComparisonService") public class DefaultBillOfMaterialComparisonService extends Object implements BillOfMaterialComparisonService
This service enables you to compare two bills of material (BOMs) by comparing their BOM item attributes..
Reference: SAP API Business Hub
OData Service: | API_BILLOFMATERIAL_COMPARISON_SRV |
API Version: | 1 |
Communication Scenario: | Product Lifecycle Management - Master Data Integration (SAP_COM_0105) |
Scope Items: | Engineering Bill of Material - Versions Management (1NR), Engineering Bill of Material - Change Master Management (1R3), Change Manufacturing Bill of Material for Production (3LO), Mass Change Manufacturing Bill of Material for Production (3LP) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBillOfMaterialComparisonService()
Creates a service using
BillOfMaterialComparisonService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBillOfMaterialComparisonServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BOMComparisonFluentHelper |
bOMComparison(LocalDateTime bOMValidityDateSecondary,
String bOMVersionSecondary,
String bOMVariantSecondary,
String bOMVariantUsageSecondary,
String plantSecondary,
String materialSecondary,
String changeNumberPrimary,
LocalDateTime bOMValidityDatePrimary,
String bOMVersionPrimary,
String bOMVariantPrimary,
String bOMVariantUsagePrimary,
String plantPrimary,
String materialPrimary,
Boolean isBOMItemNumber,
Boolean isBOMItemDescription,
Boolean isBOMItemCategory,
String changeNumberSecondary,
Boolean isBOMItemQuantity)
Creates a fluent helper for the BOMComparison OData function import.
|
ComparisonResultFluentHelper |
getAllComparisonResult()
Fetch multiple
ComparisonResult entities. |
ComparisonResultByKeyFluentHelper |
getComparisonResultByKey(byte[] bOMComparisonUUID)
Fetch a single
ComparisonResult entity using key fields. |
DefaultBillOfMaterialComparisonService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBillOfMaterialComparisonService()
BillOfMaterialComparisonService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBillOfMaterialComparisonService withServicePath(@Nonnull String servicePath)
BillOfMaterialComparisonService
withServicePath
in interface BillOfMaterialComparisonService
servicePath
- Service path that will override the default.@Nonnull public DefaultBillOfMaterialComparisonServiceBatch batch()
batch
in interface BatchService<BillOfMaterialComparisonServiceBatch>
@Nonnull public ComparisonResultFluentHelper getAllComparisonResult()
BillOfMaterialComparisonService
ComparisonResult
entities.getAllComparisonResult
in interface BillOfMaterialComparisonService
ComparisonResult
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 ComparisonResultByKeyFluentHelper getComparisonResultByKey(byte[] bOMComparisonUUID)
BillOfMaterialComparisonService
ComparisonResult
entity using key fields.getComparisonResultByKey
in interface BillOfMaterialComparisonService
bOMComparisonUUID
- Globally Unique Identifier
Constraints: Not nullable
ComparisonResult
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 BOMComparisonFluentHelper bOMComparison(LocalDateTime bOMValidityDateSecondary, String bOMVersionSecondary, String bOMVariantSecondary, String bOMVariantUsageSecondary, String plantSecondary, String materialSecondary, String changeNumberPrimary, LocalDateTime bOMValidityDatePrimary, String bOMVersionPrimary, String bOMVariantPrimary, String bOMVariantUsagePrimary, String plantPrimary, String materialPrimary, Boolean isBOMItemNumber, Boolean isBOMItemDescription, Boolean isBOMItemCategory, String changeNumberSecondary, Boolean isBOMItemQuantity)
BillOfMaterialComparisonService
Creates a fluent helper for the BOMComparison OData function import.
bOMComparison
in interface BillOfMaterialComparisonService
bOMValidityDateSecondary
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDateSecondary
bOMVersionSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVersionSecondary
bOMVariantSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantSecondary
bOMVariantUsageSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantUsageSecondary
plantSecondary
- Constraints: none
Original parameter name from the Odata EDM: PlantSecondary
materialSecondary
- Constraints: none
Original parameter name from the Odata EDM: MaterialSecondary
changeNumberPrimary
- Constraints: none
Original parameter name from the Odata EDM: ChangeNumberPrimary
bOMValidityDatePrimary
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDatePrimary
bOMVersionPrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVersionPrimary
bOMVariantPrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantPrimary
bOMVariantUsagePrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantUsagePrimary
plantPrimary
- Constraints: none
Original parameter name from the Odata EDM: PlantPrimary
materialPrimary
- Constraints: none
Original parameter name from the Odata EDM: MaterialPrimary
isBOMItemNumber
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemNumber
isBOMItemDescription
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemDescription
isBOMItemCategory
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemCategory
changeNumberSecondary
- Constraints: none
Original parameter name from the Odata EDM: ChangeNumberSecondary
isBOMItemQuantity
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemQuantity
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.