Class DefaultPriceSimulationService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPriceSimulationService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PriceSimulationService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultPriceSimulationService")
@Deprecated
public class DefaultPriceSimulationService
extends Object
implements ServiceWithNavigableEntities, PriceSimulationService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This inbound service enables you to simulate, and read the net price for a purchasing document, based on a pricing schema that is defined in the connected systems. It is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_PURGDOCPRICINGSIMULATION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Distributed Manufacturing Integration(SAP_COM_0077) |
| Scope Items: | Collaborative Manufacturing with SAP Digital Manufacturing Cloud(1NX) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PURGDOCPRCGSIMULATION |
| Business Object: | Purchase Contract |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PriceSimulationService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPriceSimulationService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from thePurchasingDocumententity collection matching the filter and search expressions.createPurchasingDocument(PurchasingDocument purchasingDocument) Deprecated.Create a newPurchasingDocumententity and save it to the S/4HANA system.Deprecated.Fetch multiplePurchasingDocumententities.getPurchasingDocumentByKey(String purchasingDocument) Deprecated.Fetch a singlePurchasingDocumententity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultPriceSimulationService
public DefaultPriceSimulationService()Deprecated.Creates a service usingPriceSimulationService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PriceSimulationServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePriceSimulationService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:PriceSimulationServiceCreates a batch request builder object.- Specified by:
batchin interfacePriceSimulationService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPurchasingDocument
Deprecated.Description copied from interface:PriceSimulationServiceFetch multiplePurchasingDocumententities.- Specified by:
getAllPurchasingDocumentin interfacePriceSimulationService- Returns:
- A request builder to fetch multiple
PurchasingDocumententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPurchasingDocument
Deprecated.Description copied from interface:PriceSimulationServiceFetch the number of entries from thePurchasingDocumententity collection matching the filter and search expressions.- Specified by:
countPurchasingDocumentin interfacePriceSimulationService- Returns:
- A request builder to fetch the count of
PurchasingDocumententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPurchasingDocumentByKey
@Nonnull public GetByKeyRequestBuilder<PurchasingDocument> getPurchasingDocumentByKey(String purchasingDocument) Deprecated.Description copied from interface:PriceSimulationServiceFetch a singlePurchasingDocumententity using key fields.- Specified by:
getPurchasingDocumentByKeyin interfacePriceSimulationService- Parameters:
purchasingDocument- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
PurchasingDocumententity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPurchasingDocument
@Nonnull public CreateRequestBuilder<PurchasingDocument> createPurchasingDocument(@Nonnull PurchasingDocument purchasingDocument) Deprecated.Description copied from interface:PriceSimulationServiceCreate a newPurchasingDocumententity and save it to the S/4HANA system.- Specified by:
createPurchasingDocumentin interfacePriceSimulationService- Parameters:
purchasingDocument-PurchasingDocumententity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PurchasingDocumententity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-