@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 Change Master Management (1R3) |
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 |
---|---|
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 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 IdentifierConstraints: 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
- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemQuantity
changeNumberSecondary
- Constraints: noneOriginal parameter name from the Odata EDM: ChangeNumberSecondary
isBOMItemCategory
- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemCategory
isBOMItemDescription
- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemDescription
isBOMItemNumber
- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemNumber
materialPrimary
- Constraints: noneOriginal parameter name from the Odata EDM: MaterialPrimary
plantPrimary
- Constraints: noneOriginal parameter name from the Odata EDM: PlantPrimary
bOMVariantUsagePrimary
- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantUsagePrimary
bOMVariantPrimary
- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantPrimary
bOMVersionPrimary
- Constraints: noneOriginal parameter name from the Odata EDM: BOMVersionPrimary
bOMValidityDatePrimary
- Time StampConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDatePrimary
changeNumberPrimary
- Constraints: noneOriginal parameter name from the Odata EDM: ChangeNumberPrimary
materialSecondary
- Constraints: noneOriginal parameter name from the Odata EDM: MaterialSecondary
plantSecondary
- Constraints: noneOriginal parameter name from the Odata EDM: PlantSecondary
bOMVariantUsageSecondary
- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantUsageSecondary
bOMVariantSecondary
- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantSecondary
bOMVersionSecondary
- Constraints: noneOriginal parameter name from the Odata EDM: BOMVersionSecondary
bOMValidityDateSecondary
- Time StampConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDateSecondary
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.