public class PostDifferencesOnItemFluentHelper extends FluentHelperFunction<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
Constructor and Description |
---|
PostDifferencesOnItemFluentHelper(String physicalInventoryDocumentItem,
String material,
String physicalInventoryDocument,
String fiscalYear,
String batch,
String reasonForPhysInvtryDifference,
LocalDateTime postingDate)
Creates a fluent helper object that will execute the PostDifferencesOnItem OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
PhysInventoryDocItem |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<PhysInventoryDocItem> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public PostDifferencesOnItemFluentHelper(String physicalInventoryDocumentItem, String material, String physicalInventoryDocument, String fiscalYear, String batch, String reasonForPhysInvtryDifference, LocalDateTime postingDate)
execute
method on the fluent helper object.physicalInventoryDocumentItem
- ItemConstraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: PhysicalInventoryDocumentItem
material
- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
reasonForPhysInvtryDifference
- Reason for Man. Val.Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: ReasonForPhysInvtryDifference
batch
- BatchConstraints: Nullable, Maximum length: 10
Original parameter name from the Odata EDM: Batch
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<PhysInventoryDocItem> getEntityClass()
getEntityClass
in class FluentHelperBasic<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
protected String getPath()
getPath
in class FluentHelperFunction<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
public PhysInventoryDocItem execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<PostDifferencesOnItemFluentHelper,PhysInventoryDocItem,PhysInventoryDocItem>
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.