Class ExplodeBOMFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionExplodeBOMFluentHelper(String servicePath, String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String engineeringChangeDocument, String material, String plant, String bOMExplosionApplication, BigDecimal requiredQuantity, Boolean bOMExplosionIsLimited, String bOMItmQtyIsScrapRelevant, String billOfMaterialItemCategory, String bOMExplosionAssembly, LocalDateTime bOMExplosionDate, BigDecimal bOMExplosionLevel, Boolean bOMExplosionIsMultilevel, String materialProvisionFltrType, String sparePartFltrType, String bOMHeaderBaseUnit, Boolean finalPriceIndicator, Boolean bOMExplosionIsAlternatePrio) Creates a fluent helper object that will execute the ExplodeBOM OData function import with the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<DBomheaderforexplosionOut>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
ExplodeBOMFluentHelper
public ExplodeBOMFluentHelper(@Nonnull String servicePath, @Nonnull String billOfMaterial, @Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterialVariant, @Nonnull String billOfMaterialVersion, @Nonnull String engineeringChangeDocument, @Nonnull String material, @Nonnull String plant, @Nullable String bOMExplosionApplication, @Nullable BigDecimal requiredQuantity, @Nullable Boolean bOMExplosionIsLimited, @Nullable String bOMItmQtyIsScrapRelevant, @Nullable String billOfMaterialItemCategory, @Nullable String bOMExplosionAssembly, @Nullable LocalDateTime bOMExplosionDate, @Nullable BigDecimal bOMExplosionLevel, @Nullable Boolean bOMExplosionIsMultilevel, @Nullable String materialProvisionFltrType, @Nullable String sparePartFltrType, @Nullable String bOMHeaderBaseUnit, @Nullable Boolean finalPriceIndicator, @Nullable Boolean bOMExplosionIsAlternatePrio) Creates a fluent helper object that will execute the ExplodeBOM OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
finalPriceIndicator- Display Price DataConstraints: Nullable
Original parameter name from the Odata EDM: FinalPriceIndicator
bOMItmQtyIsScrapRelevant- ExceptionsConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: BOMItmQtyIsScrapRelevant
sparePartFltrType- Spare Part IndicatorConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: SparePartFltrType
billOfMaterialVersion- BOM VersionConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BillOfMaterialVersion
bOMExplosionLevel- Explosion levelConstraints: Nullable, Precision: 3, Scale: 0
Original parameter name from the Odata EDM: BOMExplosionLevel
billOfMaterial- Bill of MaterialConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterial
bOMExplosionIsLimited- Limited ExplosionConstraints: Nullable
Original parameter name from the Odata EDM: BOMExplosionIsLimited
bOMExplosionApplication- BOM ApplicationConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: BOMExplosionApplication
bOMHeaderBaseUnit- Base Unit of MeasureConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: BOMHeaderBaseUnit
requiredQuantity- Component QuantityConstraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: RequiredQuantity
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
bOMExplosionIsAlternatePrio- Alternative priorityConstraints: Nullable
Original parameter name from the Odata EDM: BOMExplosionIsAlternatePrio
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
servicePath- Service path to be used to call the functions against.engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
billOfMaterialItemCategory- Item CategoryConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialItemCategory
bOMExplosionIsMultilevel- Multi-lev.Constraints: Nullable
Original parameter name from the Odata EDM: BOMExplosionIsMultilevel
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
materialProvisionFltrType- Mat. Provision Ind.Constraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: MaterialProvisionFltrType
bOMExplosionAssembly- MaterialConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BOMExplosionAssembly
bOMExplosionDate- Valid FromConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: BOMExplosionDate
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ExplodeBOMFluentHelper,DBomheaderforexplosionOut, List<DBomheaderforexplosionOut>>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<ExplodeBOMFluentHelper,DBomheaderforexplosionOut, List<DBomheaderforexplosionOut>>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<ExplodeBOMFluentHelper,DBomheaderforexplosionOut, List<DBomheaderforexplosionOut>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<ExplodeBOMFluentHelper,DBomheaderforexplosionOut, List<DBomheaderforexplosionOut>>
-
executeRequest
@Nonnull public List<DBomheaderforexplosionOut> executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<ExplodeBOMFluentHelper,DBomheaderforexplosionOut, List<DBomheaderforexplosionOut>>
-