Interface PriceSimulationService
- All Known Implementing Classes:
DefaultPriceSimulationService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
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.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPurchasingDocument
Deprecated.Fetch multiplePurchasingDocumententities.- 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.Fetch the number of entries from thePurchasingDocumententity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<PurchasingDocument> getPurchasingDocumentByKey(String purchasingDocument) Deprecated.Fetch a singlePurchasingDocumententity using key fields.- 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 CreateRequestBuilder<PurchasingDocument> createPurchasingDocument(@Nonnull PurchasingDocument purchasingDocument) Deprecated.Create a newPurchasingDocumententity and save it to the S/4HANA system.- 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.
-