public interface BillOfMaterialComparisonService extends BatchService<BillOfMaterialComparisonServiceBatch>
The service enables you to compare two bills of material (primary and secondary BOM) by comparing their BOM item attributes and gets the comparison result. The comparison result shows all the BOM item attributes that are in the primary BOM and the secondary BOM. .
Reference: SAP API Business Hub
OData Service: | OP_API_BILLOFMATERIAL_COMPARISON_SRV |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Bill Of Material |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
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. |
BillOfMaterialComparisonService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull BillOfMaterialComparisonService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ComparisonResultFluentHelper getAllComparisonResult()
ComparisonResult
entities.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 ComparisonResultByKeyFluentHelper getComparisonResultByKey(byte[] bOMComparisonUUID)
ComparisonResult
entity using key fields.bOMComparisonUUID
- GUID
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 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.
isBOMItemNumber
- Constraints: none
Original parameter name from the Odata EDM: IsBOMItemNumber
bOMVariantSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantSecondary
isBOMItemDescription
- Constraints: none
Original parameter name from the Odata EDM: IsBOMItemDescription
changeNumberPrimary
- Constraints: none
Original parameter name from the Odata EDM: ChangeNumberPrimary
isBOMItemCategory
- Constraints: none
Original parameter name from the Odata EDM: IsBOMItemCategory
plantSecondary
- Constraints: none
Original parameter name from the Odata EDM: PlantSecondary
changeNumberSecondary
- Constraints: none
Original parameter name from the Odata EDM: ChangeNumberSecondary
bOMVersionSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVersionSecondary
bOMVariantPrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantPrimary
isBOMItemQuantity
- Constraints: none
Original parameter name from the Odata EDM: IsBOMItemQuantity
materialSecondary
- Constraints: none
Original parameter name from the Odata EDM: MaterialSecondary
bOMVariantUsagePrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantUsagePrimary
plantPrimary
- Constraints: none
Original parameter name from the Odata EDM: PlantPrimary
bOMValidityDatePrimary
- Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDatePrimary
bOMVariantUsageSecondary
- Constraints: none
Original parameter name from the Odata EDM: BOMVariantUsageSecondary
bOMValidityDateSecondary
- Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDateSecondary
bOMVersionPrimary
- Constraints: none
Original parameter name from the Odata EDM: BOMVersionPrimary
materialPrimary
- Constraints: none
Original parameter name from the Odata EDM: MaterialPrimary
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.