public class BOMComparisonFluentHelper extends Object
Constructor and Description |
---|
BOMComparisonFluentHelper(Boolean isBOMItemQuantity,
String changeNumberSecondary,
Boolean isBOMItemCategory,
Boolean isBOMItemDescription,
Boolean isBOMItemNumber,
String materialPrimary,
String plantPrimary,
String bOMVariantUsagePrimary,
String bOMVariantPrimary,
String bOMVersionPrimary,
Calendar bOMValidityDatePrimary,
String changeNumberPrimary,
String materialSecondary,
String plantSecondary,
String bOMVariantUsageSecondary,
String bOMVariantSecondary,
String bOMVersionSecondary,
Calendar bOMValidityDateSecondary)
Creates a fluent helper object that will execute the BOMComparison OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
List<ComparisonResult> |
execute()
The default ERP configuration context will be used.
|
List<ComparisonResult> |
execute(ErpConfigContext erpConfigContext) |
List<ComparisonResult> |
execute(ErpEndpoint erpEndpoint) |
public BOMComparisonFluentHelper(Boolean isBOMItemQuantity, String changeNumberSecondary, Boolean isBOMItemCategory, Boolean isBOMItemDescription, Boolean isBOMItemNumber, String materialPrimary, String plantPrimary, String bOMVariantUsagePrimary, String bOMVariantPrimary, String bOMVersionPrimary, Calendar bOMValidityDatePrimary, String changeNumberPrimary, String materialSecondary, String plantSecondary, String bOMVariantUsageSecondary, String bOMVariantSecondary, String bOMVersionSecondary, Calendar bOMValidityDateSecondary)
execute
method on the fluent helper object.isBOMItemNumber
- IndicatorConstraints: none
bOMVariantSecondary
- Constraints: noneisBOMItemDescription
- IndicatorConstraints: none
isBOMItemCategory
- IndicatorConstraints: none
changeNumberPrimary
- Constraints: noneplantSecondary
- Constraints: nonechangeNumberSecondary
- Constraints: nonebOMVariantPrimary
- Constraints: nonebOMVersionSecondary
- Constraints: noneisBOMItemQuantity
- IndicatorConstraints: none
bOMVariantUsagePrimary
- Constraints: nonematerialSecondary
- Constraints: noneplantPrimary
- Constraints: nonebOMValidityDatePrimary
- Time StampConstraints: Not nullable, Precision: 0
bOMVariantUsageSecondary
- Constraints: nonebOMVersionPrimary
- Constraints: nonebOMValidityDateSecondary
- Time StampConstraints: Not nullable, Precision: 0
materialPrimary
- Constraints: nonepublic List<ComparisonResult> execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public List<ComparisonResult> execute(ErpConfigContext erpConfigContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpConfigContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public List<ComparisonResult> execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2017 SAP SE. All rights reserved.