@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCostRateService") public class DefaultCostRateService extends Object implements CostRateService
This service enables you to create, read, update, or delete the master data of cost rates.
Reference: SAP API Business Hub
OData Service: | API_FCO_COST_RATE_SRV |
API Version: | 1 |
Communication Scenario: | Finance - Activity Type Integration (SAP_COM_0129) |
Scope Items: | Overhead Cost Accounting (J54) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCostRateService()
Creates a service using
CostRateService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultCostRateServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ActualCostRateByKeyFluentHelper |
getActualCostRateByKey(UUID accountingCostRateUUID)
Fetch a single
ActualCostRate
entity using key fields. |
ActualCostRateFluentHelper |
getAllActualCostRate()
Fetch multiple
ActualCostRate
entities. |
PlanCostRateFluentHelper |
getAllPlanCostRate()
Fetch multiple
PlanCostRate
entities. |
ServiceCostRateFluentHelper |
getAllServiceCostRate()
Fetch multiple
ServiceCostRate entities. |
PlanCostRateByKeyFluentHelper |
getPlanCostRateByKey(UUID accountingCostRateUUID)
Fetch a single
PlanCostRate
entity using key fields. |
ServiceCostRateByKeyFluentHelper |
getServiceCostRateByKey(UUID accountingCostRateUUID)
Fetch a single
ServiceCostRate entity using key fields. |
DefaultCostRateService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultCostRateService()
CostRateService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCostRateService withServicePath(@Nonnull String servicePath)
CostRateService
withServicePath
in interface CostRateService
servicePath
- Service path that will override the default.@Nonnull public DefaultCostRateServiceBatch batch()
batch
in interface BatchService<CostRateServiceBatch>
@Nonnull public ActualCostRateFluentHelper getAllActualCostRate()
CostRateService
ActualCostRate
entities.getAllActualCostRate
in interface CostRateService
ActualCostRate
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 ActualCostRateByKeyFluentHelper getActualCostRateByKey(UUID accountingCostRateUUID)
CostRateService
ActualCostRate
entity using key fields.getActualCostRateByKey
in interface CostRateService
accountingCostRateUUID
- Cost Rate UUID
Constraints: Not nullable
ActualCostRate
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 PlanCostRateFluentHelper getAllPlanCostRate()
CostRateService
PlanCostRate
entities.getAllPlanCostRate
in interface CostRateService
PlanCostRate
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 PlanCostRateByKeyFluentHelper getPlanCostRateByKey(UUID accountingCostRateUUID)
CostRateService
PlanCostRate
entity using key fields.getPlanCostRateByKey
in interface CostRateService
accountingCostRateUUID
- Cost Rate UUID
Constraints: Not nullable
PlanCostRate
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 ServiceCostRateFluentHelper getAllServiceCostRate()
CostRateService
ServiceCostRate
entities.getAllServiceCostRate
in interface CostRateService
ServiceCostRate
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 ServiceCostRateByKeyFluentHelper getServiceCostRateByKey(UUID accountingCostRateUUID)
CostRateService
ServiceCostRate
entity using key fields.getServiceCostRateByKey
in interface CostRateService
accountingCostRateUUID
- Cost Rate UUID
Constraints: Not nullable
ServiceCostRate
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.Copyright © 2019 SAP SE. All rights reserved.