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, UUID billOfMaterialHeaderUUID, String material, String plant, String billOfMaterialVariant, String bOMExplosionApplication, BigDecimal requiredQuantity, String engineeringChangeDocument, Boolean bOMExplosionIsLimited, String bOMItmQtyIsScrapRelevant, String billOfMaterialItemCategory, String bOMExplosionAssembly, LocalDateTime bOMExplosionDate, BigDecimal bOMExplosionLevel, Boolean bOMExplosionIsMultilevel, String materialProvisionFltrType, String sparePartFltrType) 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 UUID billOfMaterialHeaderUUID, @Nullable String material, @Nullable String plant, @Nullable String billOfMaterialVariant, @Nullable String bOMExplosionApplication, @Nullable BigDecimal requiredQuantity, @Nullable String engineeringChangeDocument, @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) 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:
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
bOMExplosionLevel- Explosion levelConstraints: Nullable, Precision: 3, Scale: 0
Original parameter name from the Odata EDM: BOMExplosionLevel
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
requiredQuantity- Base quantityConstraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: RequiredQuantity
material- MaterialConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
billOfMaterialHeaderUUID- ID hdr chge statusConstraints: none
Original parameter name from the Odata EDM: BillOfMaterialHeaderUUID
servicePath- Service path to be used to call the functions against.plant- PlantConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
engineeringChangeDocument- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
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: 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>>
-