public class ReverseGoodsReceiptFluentHelper extends FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
Constructor and Description |
---|
ReverseGoodsReceiptFluentHelper(LocalDateTime actualGoodsMovementDate,
String deliveryDocument)
Creates a fluent helper object that will execute the ReverseGoodsReceipt OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
List<DeliveryMessage> |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<DeliveryMessage> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle
execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders, withHttpHeader
public ReverseGoodsReceiptFluentHelper(LocalDateTime actualGoodsMovementDate, String deliveryDocument)
execute
method on the fluent helper object.deliveryDocument
- DeliveryConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
actualGoodsMovementDate
- Actual GI DateConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ActualGoodsMovementDate
protected Class<DeliveryMessage> getEntityClass()
getEntityClass
in class FluentHelperBasic<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
protected String getPath()
getPath
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
public List<DeliveryMessage> execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
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.