@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerReturnsDeliveryService") public class DefaultCustomerReturnsDeliveryService extends Object implements CustomerReturnsDeliveryService
This service enables you to read, create, update, and delete customer returns deliveries in an API call. It can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_CUSTOMER_RETURNS_DELIVERY_SRV |
API Version: | 2 |
Communication Scenario: | Delivery Processing Integration (SAP_COM_0106) |
Scope Items: | Delivery Processing without Order Reference (1MI), Sell from Stock (BD9), Free of Charge Delivery (BDA), Accelerated Customer Returns (BKP), Procurement of Direct Materials (J45) |
Authentication Methods: | Basic, x509 |
Business Object: | CustomerReturnsDelivery |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCustomerReturnsDeliveryService()
Creates a service using
CustomerReturnsDeliveryService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
ConfirmPutawayAllItemsFluentHelper |
confirmPutawayAllItems(String deliveryDocument)
Creates a fluent helper for the ConfirmPutawayAllItems OData function import.
|
ConfirmPutawayOneItemFluentHelper |
confirmPutawayOneItem(String deliveryDocument,
String deliveryDocumentItem)
Creates a fluent helper for the ConfirmPutawayOneItem OData function import.
|
ReturnsDeliveryHeaderCreateFluentHelper |
createReturnsDeliveryHeader(ReturnsDeliveryHeader returnsDeliveryHeader)
Create a new
ReturnsDeliveryHeader entity and save it to the S/4HANA system. |
ReturnsDeliveryHeaderDeleteFluentHelper |
deleteReturnsDeliveryHeader(ReturnsDeliveryHeader returnsDeliveryHeader)
Deletes an existing
ReturnsDeliveryHeader entity in the S/4HANA system. |
ReturnsDeliveryItemDeleteFluentHelper |
deleteReturnsDeliveryItem(ReturnsDeliveryItem returnsDeliveryItem)
Deletes an existing
ReturnsDeliveryItem entity in the S/4HANA system. |
ReturnsDeliveryHeaderFluentHelper |
getAllReturnsDeliveryHeader()
Fetch multiple
ReturnsDeliveryHeader entities. |
ReturnsDeliveryItemFluentHelper |
getAllReturnsDeliveryItem()
Fetch multiple
ReturnsDeliveryItem entities. |
ReturnsDeliveryDocFlowByKeyFluentHelper |
getReturnsDeliveryDocFlowByKey(String precedingDocument,
String precedingDocumentItem,
String subsequentDocumentCategory)
Fetch a single
ReturnsDeliveryDocFlow entity using key fields. |
ReturnsDeliveryHeaderByKeyFluentHelper |
getReturnsDeliveryHeaderByKey(String deliveryDocument)
Fetch a single
ReturnsDeliveryHeader entity using key fields. |
ReturnsDeliveryItemByKeyFluentHelper |
getReturnsDeliveryItemByKey(String deliveryDocument,
String deliveryDocumentItem)
Fetch a single
ReturnsDeliveryItem entity using key fields. |
PostGoodsReceiptFluentHelper |
postGoodsReceipt(String deliveryDocument)
Creates a fluent helper for the PostGoodsReceipt OData function import.
|
PutawayAllItemsFluentHelper |
putawayAllItems(String deliveryDocument)
Creates a fluent helper for the PutawayAllItems OData function import.
|
PutawayOneItemFluentHelper |
putawayOneItem(String deliveryDocument,
String deliveryDocumentItem)
Creates a fluent helper for the PutawayOneItem OData function import.
|
ReverseGoodsReceiptFluentHelper |
reverseGoodsReceipt(LocalDateTime actualGoodsMovementDate,
String deliveryDocument)
Creates a fluent helper for the ReverseGoodsReceipt OData function import.
|
ReturnsDeliveryDocFlowUpdateFluentHelper |
updateReturnsDeliveryDocFlow(ReturnsDeliveryDocFlow returnsDeliveryDocFlow)
Update an existing
ReturnsDeliveryDocFlow entity and save it to the S/4HANA system. |
ReturnsDeliveryHeaderUpdateFluentHelper |
updateReturnsDeliveryHeader(ReturnsDeliveryHeader returnsDeliveryHeader)
Update an existing
ReturnsDeliveryHeader entity and save it to the S/4HANA system. |
ReturnsDeliveryItemUpdateFluentHelper |
updateReturnsDeliveryItem(ReturnsDeliveryItem returnsDeliveryItem)
Update an existing
ReturnsDeliveryItem entity and save it to the S/4HANA system. |
DefaultCustomerReturnsDeliveryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultCustomerReturnsDeliveryService()
CustomerReturnsDeliveryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCustomerReturnsDeliveryService withServicePath(@Nonnull String servicePath)
CustomerReturnsDeliveryService
withServicePath
in interface CustomerReturnsDeliveryService
servicePath
- Service path that will override the default.@Nonnull public ReturnsDeliveryDocFlowByKeyFluentHelper getReturnsDeliveryDocFlowByKey(String precedingDocument, String precedingDocumentItem, String subsequentDocumentCategory)
CustomerReturnsDeliveryService
ReturnsDeliveryDocFlow
entity using key fields.getReturnsDeliveryDocFlowByKey
in interface CustomerReturnsDeliveryService
precedingDocument
- Number that uniquely identifies the preceding sales, delivery, or billing document (for example, the
quotation from which you created a sales order).
Constraints: Not nullable, Maximum length: 10
precedingDocumentItem
- Preceding Item of an SD Document
Constraints: Not nullable, Maximum length: 6
subsequentDocumentCategory
- The document category of the sales document that you have created from a preceding document (for
example, a delivery note that has been created from a sales order).
Constraints: Not nullable, Maximum length: 4
ReturnsDeliveryDocFlow
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryDocFlowUpdateFluentHelper updateReturnsDeliveryDocFlow(@Nonnull ReturnsDeliveryDocFlow returnsDeliveryDocFlow)
CustomerReturnsDeliveryService
ReturnsDeliveryDocFlow
entity and save it to the S/4HANA system.updateReturnsDeliveryDocFlow
in interface CustomerReturnsDeliveryService
returnsDeliveryDocFlow
- ReturnsDeliveryDocFlow
entity object that will be updated in the S/4HANA system.ReturnsDeliveryDocFlow
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryHeaderFluentHelper getAllReturnsDeliveryHeader()
CustomerReturnsDeliveryService
ReturnsDeliveryHeader
entities.getAllReturnsDeliveryHeader
in interface CustomerReturnsDeliveryService
ReturnsDeliveryHeader
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryHeaderByKeyFluentHelper getReturnsDeliveryHeaderByKey(String deliveryDocument)
CustomerReturnsDeliveryService
ReturnsDeliveryHeader
entity using key fields.getReturnsDeliveryHeaderByKey
in interface CustomerReturnsDeliveryService
deliveryDocument
- The number that uniquely identifies the delivery.
Constraints: Not nullable, Maximum length: 10
ReturnsDeliveryHeader
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryHeaderCreateFluentHelper createReturnsDeliveryHeader(@Nonnull ReturnsDeliveryHeader returnsDeliveryHeader)
CustomerReturnsDeliveryService
ReturnsDeliveryHeader
entity and save it to the S/4HANA system.createReturnsDeliveryHeader
in interface CustomerReturnsDeliveryService
returnsDeliveryHeader
- ReturnsDeliveryHeader
entity object that will be created in the S/4HANA system.ReturnsDeliveryHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryHeaderUpdateFluentHelper updateReturnsDeliveryHeader(@Nonnull ReturnsDeliveryHeader returnsDeliveryHeader)
CustomerReturnsDeliveryService
ReturnsDeliveryHeader
entity and save it to the S/4HANA system.updateReturnsDeliveryHeader
in interface CustomerReturnsDeliveryService
returnsDeliveryHeader
- ReturnsDeliveryHeader
entity object that will be updated in the S/4HANA system.ReturnsDeliveryHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryHeaderDeleteFluentHelper deleteReturnsDeliveryHeader(@Nonnull ReturnsDeliveryHeader returnsDeliveryHeader)
CustomerReturnsDeliveryService
ReturnsDeliveryHeader
entity in the S/4HANA system.deleteReturnsDeliveryHeader
in interface CustomerReturnsDeliveryService
returnsDeliveryHeader
- ReturnsDeliveryHeader
entity object that will be deleted in the S/4HANA system.ReturnsDeliveryHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryItemFluentHelper getAllReturnsDeliveryItem()
CustomerReturnsDeliveryService
ReturnsDeliveryItem
entities.getAllReturnsDeliveryItem
in interface CustomerReturnsDeliveryService
ReturnsDeliveryItem
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryItemByKeyFluentHelper getReturnsDeliveryItemByKey(String deliveryDocument, String deliveryDocumentItem)
CustomerReturnsDeliveryService
ReturnsDeliveryItem
entity using key fields.getReturnsDeliveryItemByKey
in interface CustomerReturnsDeliveryService
deliveryDocument
- The number that uniquely identifies the delivery.
Constraints: Not nullable, Maximum length: 10
deliveryDocumentItem
- The number that uniquely identifies the item in a delivery.
Constraints: Not nullable, Maximum length: 6
ReturnsDeliveryItem
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryItemUpdateFluentHelper updateReturnsDeliveryItem(@Nonnull ReturnsDeliveryItem returnsDeliveryItem)
CustomerReturnsDeliveryService
ReturnsDeliveryItem
entity and save it to the S/4HANA system.updateReturnsDeliveryItem
in interface CustomerReturnsDeliveryService
returnsDeliveryItem
- ReturnsDeliveryItem
entity object that will be updated in the S/4HANA system.ReturnsDeliveryItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReturnsDeliveryItemDeleteFluentHelper deleteReturnsDeliveryItem(@Nonnull ReturnsDeliveryItem returnsDeliveryItem)
CustomerReturnsDeliveryService
ReturnsDeliveryItem
entity in the S/4HANA system.deleteReturnsDeliveryItem
in interface CustomerReturnsDeliveryService
returnsDeliveryItem
- ReturnsDeliveryItem
entity object that will be deleted in the S/4HANA system.ReturnsDeliveryItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReverseGoodsReceiptFluentHelper reverseGoodsReceipt(LocalDateTime actualGoodsMovementDate, String deliveryDocument)
CustomerReturnsDeliveryService
Creates a fluent helper for the ReverseGoodsReceipt OData function import.
reverseGoodsReceipt
in interface CustomerReturnsDeliveryService
actualGoodsMovementDate
- Actual GI Date
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ActualGoodsMovementDate
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public PostGoodsReceiptFluentHelper postGoodsReceipt(String deliveryDocument)
CustomerReturnsDeliveryService
Creates a fluent helper for the PostGoodsReceipt OData function import.
postGoodsReceipt
in interface CustomerReturnsDeliveryService
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public ConfirmPutawayAllItemsFluentHelper confirmPutawayAllItems(String deliveryDocument)
CustomerReturnsDeliveryService
Creates a fluent helper for the ConfirmPutawayAllItems OData function import.
confirmPutawayAllItems
in interface CustomerReturnsDeliveryService
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public ConfirmPutawayOneItemFluentHelper confirmPutawayOneItem(String deliveryDocument, String deliveryDocumentItem)
CustomerReturnsDeliveryService
Creates a fluent helper for the ConfirmPutawayOneItem OData function import.
confirmPutawayOneItem
in interface CustomerReturnsDeliveryService
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
execute
method on the fluent helper object.@Nonnull public PutawayAllItemsFluentHelper putawayAllItems(String deliveryDocument)
CustomerReturnsDeliveryService
Creates a fluent helper for the PutawayAllItems OData function import.
putawayAllItems
in interface CustomerReturnsDeliveryService
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public PutawayOneItemFluentHelper putawayOneItem(String deliveryDocument, String deliveryDocumentItem)
CustomerReturnsDeliveryService
Creates a fluent helper for the PutawayOneItem OData function import.
putawayOneItem
in interface CustomerReturnsDeliveryService
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.