@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) |
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(Boolean isBOMItemQuantity,
String changeNumberSecondary,
Boolean isBOMItemCategory,
Boolean isBOMItemDescription,
Boolean isBOMItemNumber,
String materialPrimary,
String plantPrimary,
String bOMVariantUsagePrimary,
String bOMVariantPrimary,
String bOMVersionPrimary,
LocalDateTime bOMValidityDatePrimary,
String changeNumberPrimary,
String materialSecondary,
String plantSecondary,
String bOMVariantUsageSecondary,
String bOMVariantSecondary,
String bOMVersionSecondary,
LocalDateTime bOMValidityDateSecondary)
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(Boolean isBOMItemQuantity, String changeNumberSecondary, Boolean isBOMItemCategory, Boolean isBOMItemDescription, Boolean isBOMItemNumber, String materialPrimary, String plantPrimary, String bOMVariantUsagePrimary, String bOMVariantPrimary, String bOMVersionPrimary, LocalDateTime bOMValidityDatePrimary, String changeNumberPrimary, String materialSecondary, String plantSecondary, String bOMVariantUsageSecondary, String bOMVariantSecondary, String bOMVersionSecondary, LocalDateTime bOMValidityDateSecondary)
BillOfMaterialComparisonService
Creates a fluent helper for the BOMComparison OData function import.
bOMComparison
in interface BillOfMaterialComparisonService
isBOMItemQuantity
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemQuantity
changeNumberSecondary
- Constraints: none
Original parameter name from the Odata EDM: ChangeNumberSecondary
isBOMItemCategory
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemCategory
isBOMItemDescription
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemDescription
isBOMItemNumber
- Indicator
Constraints: none
Original parameter name from the Odata EDM: IsBOMItemNumber
materialPrimary
- Constraints: none
Original parameter name from the Odata EDM: MaterialPrimary
plantPrimary
- Constraints: none
Original parameter name from the Odata EDM: PlantPrimary
bOMVariantUsagePrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantUsagePrimary
bOMVariantPrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantPrimary
bOMVersionPrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVersionPrimary
bOMValidityDatePrimary
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDatePrimary
changeNumberPrimary
- Constraints: none
Original parameter name from the Odata EDM: ChangeNumberPrimary
materialSecondary
- Constraints: none
Original parameter name from the Odata EDM: MaterialSecondary
plantSecondary
- Constraints: none
Original parameter name from the Odata EDM: PlantSecondary
bOMVariantUsageSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantUsageSecondary
bOMVariantSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantSecondary
bOMVersionSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVersionSecondary
bOMValidityDateSecondary
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDateSecondary
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.