public class PostDifferencesFluentHelper extends FluentHelperFunction<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
Constructor and Description |
---|
PostDifferencesFluentHelper(BigDecimal postingThresholdValue,
LocalDateTime postingDate,
String physicalInventoryDocument,
String fiscalYear)
Creates a fluent helper object that will execute the PostDifferences OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
PhysInventoryDocHeader |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<PhysInventoryDocHeader> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public PostDifferencesFluentHelper(BigDecimal postingThresholdValue, LocalDateTime postingDate, String physicalInventoryDocument, String fiscalYear)
execute
method on the fluent helper object.postingThresholdValue
- Threshold ValueConstraints: Nullable, Precision: 14, Scale: 3
Original parameter name from the Odata EDM: PostingThresholdValue
postingDate
- Posting DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalYear
- Fiscal YearConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
physicalInventoryDocument
- Phys. Inventory Doc.Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PhysicalInventoryDocument
protected Class<PhysInventoryDocHeader> getEntityClass()
getEntityClass
in class FluentHelperBasic<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
protected String getPath()
getPath
in class FluentHelperFunction<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
public PhysInventoryDocHeader execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<PostDifferencesFluentHelper,PhysInventoryDocHeader,PhysInventoryDocHeader>
configContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
Copyright © 2018 SAP SE. All rights reserved.