Class InitiateRecountOnItemFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionInitiateRecountOnItemFluentHelper(String servicePath, String physicalInventoryDocument, String fiscalYear, String physicalInventoryDocumentItem, LocalDateTime physInventoryPlannedCountDate, LocalDateTime documentDate, String physicalInventoryNumber, String physInventoryReferenceNumber, String physicalInventoryDocumentDesc, Boolean physInvtryDocHasQtySnapshot, Boolean postingIsBlockedForPhysInvtry) Creates a fluent helper object that will execute the InitiateRecountOnItem 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<PhysInventoryDocItem>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
-
InitiateRecountOnItemFluentHelper
public InitiateRecountOnItemFluentHelper(@Nonnull String servicePath, @Nonnull String physicalInventoryDocument, @Nonnull String fiscalYear, @Nonnull String physicalInventoryDocumentItem, @Nullable LocalDateTime physInventoryPlannedCountDate, @Nullable LocalDateTime documentDate, @Nullable String physicalInventoryNumber, @Nullable String physInventoryReferenceNumber, @Nullable String physicalInventoryDocumentDesc, @Nullable Boolean physInvtryDocHasQtySnapshot, @Nullable Boolean postingIsBlockedForPhysInvtry) Creates a fluent helper object that will execute the InitiateRecountOnItem OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
documentDate- Document DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: DocumentDate
physicalInventoryDocumentItem- ItemConstraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: PhysicalInventoryDocumentItem
physInvtryDocHasQtySnapshot- Freeze Book InvtryConstraints: Nullable
Original parameter name from the Odata EDM: PhysInvtryDocHasQtySnapshot
servicePath- Service path to be used to call the functions against.physInventoryPlannedCountDate- Planned Count DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PhysInventoryPlannedCountDate
postingIsBlockedForPhysInvtry- Phys. Inv. BlockConstraints: Nullable
Original parameter name from the Odata EDM: PostingIsBlockedForPhysInvtry
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
physicalInventoryNumber- Phys. inventory no.Constraints: Nullable, Maximum length: 16
Original parameter name from the Odata EDM: PhysicalInventoryNumber
physicalInventoryDocument- Phys. Inventory Doc.Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PhysicalInventoryDocument
physInventoryReferenceNumber- Phys. inventory ref.Constraints: Nullable, Maximum length: 16
Original parameter name from the Odata EDM: PhysInventoryReferenceNumber
physicalInventoryDocumentDesc- DescriptionConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: PhysicalInventoryDocumentDesc
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<InitiateRecountOnItemFluentHelper,PhysInventoryDocItem, PhysInventoryDocItem>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<InitiateRecountOnItemFluentHelper,PhysInventoryDocItem, PhysInventoryDocItem>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<InitiateRecountOnItemFluentHelper,PhysInventoryDocItem, PhysInventoryDocItem>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<InitiateRecountOnItemFluentHelper,PhysInventoryDocItem, PhysInventoryDocItem>
-
executeRequest
@Nullable public PhysInventoryDocItem executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<InitiateRecountOnItemFluentHelper,PhysInventoryDocItem, PhysInventoryDocItem>
-