Class DefaultCustomerReturnsDeliveryV2Service

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerReturnsDeliveryV2Service
All Implemented Interfaces:
BatchService<CustomerReturnsDeliveryV2ServiceBatch>, CustomerReturnsDeliveryV2Service

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerReturnsDeliveryV2Service") @Deprecated public class DefaultCustomerReturnsDeliveryV2Service extends Object implements CustomerReturnsDeliveryV2Service
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_CUSTOMER_RETURNS_DELIVERY_SRV_0002
API Version: 2.1.0
Minimum ERP Version: 2302
Communication Scenario: Delivery Processing Integration(SAP_COM_0106)
Scope Items: Direct Procurement with Inbound Delivery(2TX), Sell from Stock(BD9), Lean Customer Returns(BDD), Sell from Stock(OD9), Delivery Processing without Order Reference(1MI), Free of Charge Delivery(BDA), Customer Returns(BKP)
Authentication Methods: x509
Business Object: Customer Returns Delivery
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultCustomerReturnsDeliveryV2Service withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface CustomerReturnsDeliveryV2Service
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      Deprecated.
      Specified by:
      batch in interface BatchService<CustomerReturnsDeliveryV2ServiceBatch>
    • getReturnsDeliveryDocFlowByKey

      @Nonnull public ReturnsDeliveryDocFlowByKeyFluentHelper getReturnsDeliveryDocFlowByKey(String precedingDocument, String precedingDocumentItem, String subsequentDocumentCategory)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch a single ReturnsDeliveryDocFlow entity using key fields.
      Specified by:
      getReturnsDeliveryDocFlowByKey in interface CustomerReturnsDeliveryV2Service
      Parameters:
      precedingDocument - Preceding Doc.

      Constraints: Not nullable, Maximum length: 10

      precedingDocumentItem - Preceding Item

      Constraints: Not nullable, Maximum length: 6

      subsequentDocumentCategory - Subs.Doc.Categ.

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single 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.
    • updateReturnsDeliveryDocFlow

      @Nonnull public ReturnsDeliveryDocFlowUpdateFluentHelper updateReturnsDeliveryDocFlow(@Nonnull ReturnsDeliveryDocFlow returnsDeliveryDocFlow)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Update an existing ReturnsDeliveryDocFlow entity and save it to the S/4HANA system.
      Specified by:
      updateReturnsDeliveryDocFlow in interface CustomerReturnsDeliveryV2Service
      Parameters:
      returnsDeliveryDocFlow - ReturnsDeliveryDocFlow entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ReturnsDeliveryDocFlow entity. To perform execution, call the execute method on the fluent helper object.
    • getAllReturnsDeliveryHeader

      @Nonnull public ReturnsDeliveryHeaderFluentHelper getAllReturnsDeliveryHeader()
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch multiple ReturnsDeliveryHeader entities.
      Specified by:
      getAllReturnsDeliveryHeader in interface CustomerReturnsDeliveryV2Service
      Returns:
      A fluent helper to fetch multiple 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.
    • getReturnsDeliveryHeaderByKey

      @Nonnull public ReturnsDeliveryHeaderByKeyFluentHelper getReturnsDeliveryHeaderByKey(String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch a single ReturnsDeliveryHeader entity using key fields.
      Specified by:
      getReturnsDeliveryHeaderByKey in interface CustomerReturnsDeliveryV2Service
      Parameters:
      deliveryDocument - Delivery

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single 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.
    • createReturnsDeliveryHeader

      @Nonnull public ReturnsDeliveryHeaderCreateFluentHelper createReturnsDeliveryHeader(@Nonnull ReturnsDeliveryHeader returnsDeliveryHeader)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Create a new ReturnsDeliveryHeader entity and save it to the S/4HANA system.
      Specified by:
      createReturnsDeliveryHeader in interface CustomerReturnsDeliveryV2Service
      Parameters:
      returnsDeliveryHeader - ReturnsDeliveryHeader entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new ReturnsDeliveryHeader entity. To perform execution, call the execute method on the fluent helper object.
    • updateReturnsDeliveryHeader

      @Nonnull public ReturnsDeliveryHeaderUpdateFluentHelper updateReturnsDeliveryHeader(@Nonnull ReturnsDeliveryHeader returnsDeliveryHeader)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Update an existing ReturnsDeliveryHeader entity and save it to the S/4HANA system.
      Specified by:
      updateReturnsDeliveryHeader in interface CustomerReturnsDeliveryV2Service
      Parameters:
      returnsDeliveryHeader - ReturnsDeliveryHeader entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ReturnsDeliveryHeader entity. To perform execution, call the execute method on the fluent helper object.
    • deleteReturnsDeliveryHeader

      @Nonnull public ReturnsDeliveryHeaderDeleteFluentHelper deleteReturnsDeliveryHeader(@Nonnull ReturnsDeliveryHeader returnsDeliveryHeader)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Deletes an existing ReturnsDeliveryHeader entity in the S/4HANA system.
      Specified by:
      deleteReturnsDeliveryHeader in interface CustomerReturnsDeliveryV2Service
      Parameters:
      returnsDeliveryHeader - ReturnsDeliveryHeader entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing ReturnsDeliveryHeader entity. To perform execution, call the execute method on the fluent helper object.
    • getAllReturnsDeliveryItem

      @Nonnull public ReturnsDeliveryItemFluentHelper getAllReturnsDeliveryItem()
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch multiple ReturnsDeliveryItem entities.
      Specified by:
      getAllReturnsDeliveryItem in interface CustomerReturnsDeliveryV2Service
      Returns:
      A fluent helper to fetch multiple 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.
    • getReturnsDeliveryItemByKey

      @Nonnull public ReturnsDeliveryItemByKeyFluentHelper getReturnsDeliveryItemByKey(String deliveryDocument, String deliveryDocumentItem)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch a single ReturnsDeliveryItem entity using key fields.
      Specified by:
      getReturnsDeliveryItemByKey in interface CustomerReturnsDeliveryV2Service
      Parameters:
      deliveryDocument - Delivery

      Constraints: Not nullable, Maximum length: 10

      deliveryDocumentItem - Item

      Constraints: Not nullable, Maximum length: 6

      Returns:
      A fluent helper to fetch a single 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.
    • updateReturnsDeliveryItem

      @Nonnull public ReturnsDeliveryItemUpdateFluentHelper updateReturnsDeliveryItem(@Nonnull ReturnsDeliveryItem returnsDeliveryItem)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Update an existing ReturnsDeliveryItem entity and save it to the S/4HANA system.
      Specified by:
      updateReturnsDeliveryItem in interface CustomerReturnsDeliveryV2Service
      Parameters:
      returnsDeliveryItem - ReturnsDeliveryItem entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ReturnsDeliveryItem entity. To perform execution, call the execute method on the fluent helper object.
    • deleteReturnsDeliveryItem

      @Nonnull public ReturnsDeliveryItemDeleteFluentHelper deleteReturnsDeliveryItem(@Nonnull ReturnsDeliveryItem returnsDeliveryItem)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Deletes an existing ReturnsDeliveryItem entity in the S/4HANA system.
      Specified by:
      deleteReturnsDeliveryItem in interface CustomerReturnsDeliveryV2Service
      Parameters:
      returnsDeliveryItem - ReturnsDeliveryItem entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing ReturnsDeliveryItem entity. To perform execution, call the execute method on the fluent helper object.
    • getReturnsDeliveryPartnerByKey

      @Nonnull public ReturnsDeliveryPartnerByKeyFluentHelper getReturnsDeliveryPartnerByKey(String partnerFunction, String sDDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch a single ReturnsDeliveryPartner entity using key fields.
      Specified by:
      getReturnsDeliveryPartnerByKey in interface CustomerReturnsDeliveryV2Service
      Parameters:
      partnerFunction - Partner Functn

      Constraints: Not nullable, Maximum length: 2

      sDDocument - SD Document

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single 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.
    • getReturnsDeliverySrlNmbrByKey

      @Nonnull public ReturnsDeliverySrlNmbrByKeyFluentHelper getReturnsDeliverySrlNmbrByKey(Long maintenanceItemObjectList)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service
      Fetch a single ReturnsDeliverySrlNmbr entity using key fields.
      Specified by:
      getReturnsDeliverySrlNmbrByKey in interface CustomerReturnsDeliveryV2Service
      Parameters:
      maintenanceItemObjectList - Object list

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single 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.
    • reverseGoodsReceipt

      @Nonnull public ReverseGoodsReceiptFluentHelper reverseGoodsReceipt(@Nonnull String deliveryDocument, @Nonnull LocalDateTime actualGoodsMovementDate)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the ReverseGoodsReceipt OData function import.

      Specified by:
      reverseGoodsReceipt in interface CustomerReturnsDeliveryV2Service
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the ReverseGoodsReceipt OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • postGoodsReceipt

      @Nonnull public PostGoodsReceiptFluentHelper postGoodsReceipt(@Nonnull String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the PostGoodsReceipt OData function import.

      Specified by:
      postGoodsReceipt in interface CustomerReturnsDeliveryV2Service
      Parameters:
      deliveryDocument - Delivery

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: DeliveryDocument

      Returns:
      A fluent helper object that will execute the PostGoodsReceipt OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • postGoodsReceipt

      @Nonnull public PostGoodsReceiptFluentHelper postGoodsReceipt(@Nonnull String deliveryDocument, @Nullable LocalDateTime actualGoodsMovementDate)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the PostGoodsReceipt OData function import.

      Specified by:
      postGoodsReceipt in interface CustomerReturnsDeliveryV2Service
      Parameters:
      deliveryDocument - Delivery

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: DeliveryDocument

      actualGoodsMovementDate - Actual GI Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: ActualGoodsMovementDate

      Returns:
      A fluent helper object that will execute the PostGoodsReceipt OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • confirmPutawayAllItems

      @Nonnull public ConfirmPutawayAllItemsFluentHelper confirmPutawayAllItems(@Nonnull String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the ConfirmPutawayAllItems OData function import.

      Specified by:
      confirmPutawayAllItems in interface CustomerReturnsDeliveryV2Service
      Parameters:
      deliveryDocument - Delivery

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: DeliveryDocument

      Returns:
      A fluent helper object that will execute the ConfirmPutawayAllItems OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • confirmPutawayOneItem

      @Nonnull public ConfirmPutawayOneItemFluentHelper confirmPutawayOneItem(@Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the ConfirmPutawayOneItem OData function import.

      Specified by:
      confirmPutawayOneItem in interface CustomerReturnsDeliveryV2Service
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the ConfirmPutawayOneItem OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • putawayAllItems

      @Nonnull public PutawayAllItemsFluentHelper putawayAllItems(@Nonnull String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the PutawayAllItems OData function import.

      Specified by:
      putawayAllItems in interface CustomerReturnsDeliveryV2Service
      Parameters:
      deliveryDocument - Delivery

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: DeliveryDocument

      Returns:
      A fluent helper object that will execute the PutawayAllItems OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • putawayOneItem

      @Nonnull public PutawayOneItemFluentHelper putawayOneItem(@Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the PutawayOneItem OData function import.

      Specified by:
      putawayOneItem in interface CustomerReturnsDeliveryV2Service
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the PutawayOneItem OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • createBatchSplitItem

      @Nonnull public CreateBatchSplitItemFluentHelper createBatchSplitItem(@Nonnull BigDecimal actualDeliveryQuantity, @Nonnull String batch, @Nonnull String deliveryDocument, @Nonnull String deliveryDocumentItem, @Nonnull String deliveryQuantityUnit, @Nullable BigDecimal pickQuantityInSalesUOM, @Nullable LocalDateTime manufactureDate, @Nullable LocalDateTime shelfLifeExpirationDate)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the CreateBatchSplitItem OData function import.

      Specified by:
      createBatchSplitItem in interface CustomerReturnsDeliveryV2Service
      Parameters:
      actualDeliveryQuantity - Constraints: Not nullable, Precision: 3, Scale: 3

      Original parameter name from the Odata EDM: ActualDeliveryQuantity

      batch - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: Batch

      deliveryDocument - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: DeliveryDocument

      deliveryDocumentItem - Constraints: Not nullable, Maximum length: 6

      Original parameter name from the Odata EDM: DeliveryDocumentItem

      deliveryQuantityUnit - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: DeliveryQuantityUnit

      pickQuantityInSalesUOM - Constraints: Nullable, Precision: 3, Scale: 3

      Original parameter name from the Odata EDM: PickQuantityInSalesUOM

      manufactureDate - Time Stamp

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: ManufactureDate

      shelfLifeExpirationDate - Time Stamp

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: ShelfLifeExpirationDate

      Returns:
      A fluent helper object that will execute the CreateBatchSplitItem OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • setPutawayQuantityWithBaseQuantity

      @Nonnull public SetPutawayQuantityWithBaseQuantityFluentHelper setPutawayQuantityWithBaseQuantity(@Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument, @Nonnull String baseUnit, @Nonnull BigDecimal actualDeliveredQtyInBaseUnit)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the SetPutawayQuantityWithBaseQuantity OData function import.

      Specified by:
      setPutawayQuantityWithBaseQuantity in interface CustomerReturnsDeliveryV2Service
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the SetPutawayQuantityWithBaseQuantity OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • putawayOneItemWithBaseQuantity

      @Nonnull public PutawayOneItemWithBaseQuantityFluentHelper putawayOneItemWithBaseQuantity(@Nonnull String deliveryDocument, @Nonnull String baseUnit, @Nonnull BigDecimal actualDeliveredQtyInBaseUnit, @Nonnull String deliveryDocumentItem)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the PutawayOneItemWithBaseQuantity OData function import.

      Specified by:
      putawayOneItemWithBaseQuantity in interface CustomerReturnsDeliveryV2Service
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the PutawayOneItemWithBaseQuantity OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • putawayOneItemWithSalesQuantity

      @Nonnull public PutawayOneItemWithSalesQuantityFluentHelper putawayOneItemWithSalesQuantity(@Nonnull BigDecimal actualDeliveryQuantity, @Nonnull String deliveryQuantityUnit, @Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument)
      Deprecated.
      Description copied from interface: CustomerReturnsDeliveryV2Service

      Creates a fluent helper for the PutawayOneItemWithSalesQuantity OData function import.

      Specified by:
      putawayOneItemWithSalesQuantity in interface CustomerReturnsDeliveryV2Service
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the PutawayOneItemWithSalesQuantity OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.