@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerReturnsDeliveryV2Service") public class DefaultCustomerReturnsDeliveryV2Service extends Object implements CustomerReturnsDeliveryV2Service
This synchronous inbound service enables you to read, create, update, and delete customer returns deliveries. It can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_CUSTOMER_RETURNS_DELIVERY_SRV_0002 |
API Version: | 2 |
Communication Scenario: | Delivery Processing Integration (SAP_COM_0106) |
Scope Items: | Delivery Processing without Order Reference (1MI), Direct Procurement with Inbound Delivery (2TX), Sell from Stock (BD9), Free of Charge Delivery (BDA), Customer Returns (BDD), Accelerated Customer Returns (BKP) |
Authentication Methods: | Basic, x509 |
Business Object: | CustomerReturnsDelivery |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCustomerReturnsDeliveryV2Service()
Creates a service using
CustomerReturnsDeliveryV2Service.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultCustomerReturnsDeliveryV2ServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ConfirmPutawayAllItemsFluentHelper |
confirmPutawayAllItems(String deliveryDocument)
Creates a fluent helper for the ConfirmPutawayAllItems OData function import.
|
ConfirmPutawayOneItemFluentHelper |
confirmPutawayOneItem(String deliveryDocumentItem,
String deliveryDocument)
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. |
ReturnsDeliveryPartnerByKeyFluentHelper |
getReturnsDeliveryPartnerByKey(String partnerFunction,
String sDDocument)
Fetch a single
ReturnsDeliveryPartner entity using key fields. |
ReturnsDeliverySrlNmbrByKeyFluentHelper |
getReturnsDeliverySrlNmbrByKey(Long maintenanceItemObjectList)
Fetch a single
ReturnsDeliverySrlNmbr 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 deliveryDocumentItem,
String deliveryDocument)
Creates a fluent helper for the PutawayOneItem OData function import.
|
PutawayOneItemWithBaseQuantityFluentHelper |
putawayOneItemWithBaseQuantity(String deliveryDocument,
String baseUnit,
BigDecimal actualDeliveredQtyInBaseUnit,
String deliveryDocumentItem)
Creates a fluent helper for the PutawayOneItemWithBaseQuantity OData function import.
|
PutawayOneItemWithSalesQuantityFluentHelper |
putawayOneItemWithSalesQuantity(BigDecimal actualDeliveryQuantity,
String deliveryQuantityUnit,
String deliveryDocumentItem,
String deliveryDocument)
Creates a fluent helper for the PutawayOneItemWithSalesQuantity OData function import.
|
ReverseGoodsReceiptFluentHelper |
reverseGoodsReceipt(String deliveryDocument,
LocalDateTime actualGoodsMovementDate)
Creates a fluent helper for the ReverseGoodsReceipt OData function import.
|
SetPutawayQuantityWithBaseQuantityFluentHelper |
setPutawayQuantityWithBaseQuantity(String deliveryDocumentItem,
String deliveryDocument,
String baseUnit,
BigDecimal actualDeliveredQtyInBaseUnit)
Creates a fluent helper for the SetPutawayQuantityWithBaseQuantity 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. |
DefaultCustomerReturnsDeliveryV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultCustomerReturnsDeliveryV2Service()
CustomerReturnsDeliveryV2Service.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCustomerReturnsDeliveryV2Service withServicePath(@Nonnull String servicePath)
CustomerReturnsDeliveryV2Service
withServicePath
in interface CustomerReturnsDeliveryV2Service
servicePath
- Service path that will override the default.@Nonnull public DefaultCustomerReturnsDeliveryV2ServiceBatch batch()
batch
in interface BatchService<CustomerReturnsDeliveryV2ServiceBatch>
@Nonnull public ReturnsDeliveryDocFlowByKeyFluentHelper getReturnsDeliveryDocFlowByKey(String precedingDocument, String precedingDocumentItem, String subsequentDocumentCategory)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryDocFlow
entity using key fields.getReturnsDeliveryDocFlowByKey
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryDocFlow
entity and save it to the S/4HANA system.updateReturnsDeliveryDocFlow
in interface CustomerReturnsDeliveryV2Service
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()
CustomerReturnsDeliveryV2Service
ReturnsDeliveryHeader
entities.getAllReturnsDeliveryHeader
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryHeader
entity using key fields.getReturnsDeliveryHeaderByKey
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryHeader
entity and save it to the S/4HANA system.createReturnsDeliveryHeader
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryHeader
entity and save it to the S/4HANA system.updateReturnsDeliveryHeader
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryHeader
entity in the S/4HANA system.deleteReturnsDeliveryHeader
in interface CustomerReturnsDeliveryV2Service
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()
CustomerReturnsDeliveryV2Service
ReturnsDeliveryItem
entities.getAllReturnsDeliveryItem
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryItem
entity using key fields.getReturnsDeliveryItemByKey
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryItem
entity and save it to the S/4HANA system.updateReturnsDeliveryItem
in interface CustomerReturnsDeliveryV2Service
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)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryItem
entity in the S/4HANA system.deleteReturnsDeliveryItem
in interface CustomerReturnsDeliveryV2Service
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 ReturnsDeliveryPartnerByKeyFluentHelper getReturnsDeliveryPartnerByKey(String partnerFunction, String sDDocument)
CustomerReturnsDeliveryV2Service
ReturnsDeliveryPartner
entity using key fields.getReturnsDeliveryPartnerByKey
in interface CustomerReturnsDeliveryV2Service
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
sDDocument
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
ReturnsDeliveryPartner
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 ReturnsDeliverySrlNmbrByKeyFluentHelper getReturnsDeliverySrlNmbrByKey(Long maintenanceItemObjectList)
CustomerReturnsDeliveryV2Service
ReturnsDeliverySrlNmbr
entity using key fields.getReturnsDeliverySrlNmbrByKey
in interface CustomerReturnsDeliveryV2Service
maintenanceItemObjectList
- Number identifying the object list
Constraints: Not nullable
ReturnsDeliverySrlNmbr
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 ReverseGoodsReceiptFluentHelper reverseGoodsReceipt(@Nonnull String deliveryDocument, @Nonnull LocalDateTime actualGoodsMovementDate)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the ReverseGoodsReceipt OData function import.
reverseGoodsReceipt
in interface CustomerReturnsDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
actualGoodsMovementDate
- Actual GI Date
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ActualGoodsMovementDate
execute
method on the fluent helper object.@Nonnull public PostGoodsReceiptFluentHelper postGoodsReceipt(@Nonnull String deliveryDocument)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the PostGoodsReceipt OData function import.
postGoodsReceipt
in interface CustomerReturnsDeliveryV2Service
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(@Nonnull String deliveryDocument)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the ConfirmPutawayAllItems OData function import.
confirmPutawayAllItems
in interface CustomerReturnsDeliveryV2Service
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(@Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the ConfirmPutawayOneItem OData function import.
confirmPutawayOneItem
in interface CustomerReturnsDeliveryV2Service
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
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 PutawayAllItemsFluentHelper putawayAllItems(@Nonnull String deliveryDocument)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the PutawayAllItems OData function import.
putawayAllItems
in interface CustomerReturnsDeliveryV2Service
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(@Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the PutawayOneItem OData function import.
putawayOneItem
in interface CustomerReturnsDeliveryV2Service
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
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 SetPutawayQuantityWithBaseQuantityFluentHelper setPutawayQuantityWithBaseQuantity(@Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument, @Nonnull String baseUnit, @Nonnull BigDecimal actualDeliveredQtyInBaseUnit)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the SetPutawayQuantityWithBaseQuantity OData function import.
setPutawayQuantityWithBaseQuantity
in interface CustomerReturnsDeliveryV2Service
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
baseUnit
- Base Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: BaseUnit
actualDeliveredQtyInBaseUnit
- Qty (stckp.unt)
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveredQtyInBaseUnit
execute
method on the fluent helper object.@Nonnull public PutawayOneItemWithBaseQuantityFluentHelper putawayOneItemWithBaseQuantity(@Nonnull String deliveryDocument, @Nonnull String baseUnit, @Nonnull BigDecimal actualDeliveredQtyInBaseUnit, @Nonnull String deliveryDocumentItem)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the PutawayOneItemWithBaseQuantity OData function import.
putawayOneItemWithBaseQuantity
in interface CustomerReturnsDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
baseUnit
- Base Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: BaseUnit
actualDeliveredQtyInBaseUnit
- Qty (stckp.unt)
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveredQtyInBaseUnit
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 PutawayOneItemWithSalesQuantityFluentHelper putawayOneItemWithSalesQuantity(@Nonnull BigDecimal actualDeliveryQuantity, @Nonnull String deliveryQuantityUnit, @Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument)
CustomerReturnsDeliveryV2Service
Creates a fluent helper for the PutawayOneItemWithSalesQuantity OData function import.
putawayOneItemWithSalesQuantity
in interface CustomerReturnsDeliveryV2Service
actualDeliveryQuantity
- Delivery qty
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveryQuantity
deliveryQuantityUnit
- Sales Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: DeliveryQuantityUnit
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.