Interface FinancialTransactionNetPresentValueService
- All Known Implementing Classes:
DefaultFinancialTransactionNetPresentValueService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create, read, update, and delete net present values of financial transactions in the net present values table in Treasury and Risk Management. By default, NPVs are calculated in Treasury and Risk Management with the ***Calculate Net Present Values - With CVA and DVA*** app. You can enter externally calculated net present value using the ***Enter Net Present Values*** app or with this service..
Reference: SAP Business Accelerator Hub
Details:
-
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 theFinancialTransactionNPVentity collection matching the filter and search expressions.createFinancialTransactionNPV(FinancialTransactionNPV financialTransactionNPV) Deprecated.Create a newFinancialTransactionNPVentity and save it to the S/4HANA system.deleteFinancialTransactionNPV(FinancialTransactionNPV financialTransactionNPV) Deprecated.Deletes an existingFinancialTransactionNPVentity in the S/4HANA system.Deprecated.Fetch multipleFinancialTransactionNPVentities.getFinancialTransactionNPVByKey(String companyCode, String financialTransaction, String financialTransactionNPVType, LocalDate netPresentValueValidityDate) Deprecated.Fetch a singleFinancialTransactionNPVentity using key fields.updateFinancialTransactionNPV(FinancialTransactionNPV financialTransactionNPV) Deprecated.Update an existingFinancialTransactionNPVentity and save it to the S/4HANA system.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.
-
getAllFinancialTransactionNPV
Deprecated.Fetch multipleFinancialTransactionNPVentities.- Returns:
- A request builder to fetch multiple
FinancialTransactionNPVentities. 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.
-
countFinancialTransactionNPV
Deprecated.Fetch the number of entries from theFinancialTransactionNPVentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
FinancialTransactionNPVentities. 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.
-
getFinancialTransactionNPVByKey
@Nonnull GetByKeyRequestBuilder<FinancialTransactionNPV> getFinancialTransactionNPVByKey(String companyCode, String financialTransaction, String financialTransactionNPVType, LocalDate netPresentValueValidityDate) Deprecated.Fetch a singleFinancialTransactionNPVentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
netPresentValueValidityDate- Effective FromConstraints: Not nullable
financialTransactionNPVType- Price/NPV Type for OTC TransactionsConstraints: Not nullable, Maximum length: 3
financialTransaction- Financial TransactionConstraints: Not nullable, Maximum length: 13
- Returns:
- A request builder to fetch a single
FinancialTransactionNPVentity 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.
-
createFinancialTransactionNPV
@Nonnull CreateRequestBuilder<FinancialTransactionNPV> createFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV) Deprecated.Create a newFinancialTransactionNPVentity and save it to the S/4HANA system.- Parameters:
financialTransactionNPV-FinancialTransactionNPVentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
FinancialTransactionNPVentity. To perform execution, call theexecutemethod on the request builder object.
-
updateFinancialTransactionNPV
@Nonnull UpdateRequestBuilder<FinancialTransactionNPV> updateFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV) Deprecated.Update an existingFinancialTransactionNPVentity and save it to the S/4HANA system.- Parameters:
financialTransactionNPV-FinancialTransactionNPVentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
FinancialTransactionNPVentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteFinancialTransactionNPV
@Nonnull DeleteRequestBuilder<FinancialTransactionNPV> deleteFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV) Deprecated.Deletes an existingFinancialTransactionNPVentity in the S/4HANA system.- Parameters:
financialTransactionNPV-FinancialTransactionNPVentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
FinancialTransactionNPVentity. To perform execution, call theexecutemethod on the request builder object.
-