@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultNutrientService") public class DefaultNutrientService extends Object implements NutrientService
This service reads data from specifications with category NUTRIENT, and can retrieve nutrient header data and description. You can use the Nutrient Statement - Read API to read nutrient exception values. .
Reference: SAP API Business Hub
OData Service: | OP_API_NUTRIENT_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Nutrient |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultNutrientService()
Creates a service using
NutrientService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultNutrientService()
NutrientService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultNutrientService withServicePath(@Nonnull String servicePath)
NutrientService
withServicePath
in interface NutrientService
servicePath
- Service path that will override the default.@Nonnull public DefaultNutrientServiceBatch batch()
batch
in interface BatchService<NutrientServiceBatch>
@Nonnull public NutrientFluentHelper getAllNutrient()
NutrientService
Nutrient
entities.getAllNutrient
in interface NutrientService
Nutrient
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 NutrientByKeyFluentHelper getNutrientByKey(String nutrientInternalID)
NutrientService
Nutrient
entity using key fields.getNutrientByKey
in interface NutrientService
nutrientInternalID
- Nutrient Internal ID
Constraints: Not nullable, Maximum length: 20
Nutrient
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 NutrientBaseUnitOfMeasureFluentHelper getAllNutrientBaseUnitOfMeasure()
NutrientService
NutrientBaseUnitOfMeasure
entities.getAllNutrientBaseUnitOfMeasure
in interface NutrientService
NutrientBaseUnitOfMeasure
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 NutrientBaseUnitOfMeasureByKeyFluentHelper getNutrientBaseUnitOfMeasureByKey(String nutrientInternalID)
NutrientService
NutrientBaseUnitOfMeasure
entity using key fields.getNutrientBaseUnitOfMeasureByKey
in interface NutrientService
nutrientInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
NutrientBaseUnitOfMeasure
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 NutrientDerivedNutrientFluentHelper getAllNutrientDerivedNutrient()
NutrientService
NutrientDerivedNutrient
entities.getAllNutrientDerivedNutrient
in interface NutrientService
NutrientDerivedNutrient
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 NutrientDerivedNutrientByKeyFluentHelper getNutrientDerivedNutrientByKey(String nutrientInternalID)
NutrientService
NutrientDerivedNutrient
entity using key fields.getNutrientDerivedNutrientByKey
in interface NutrientService
nutrientInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
NutrientDerivedNutrient
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 NutrientDescriptionFluentHelper getAllNutrientDescription()
NutrientService
NutrientDescription
entities.getAllNutrientDescription
in interface NutrientService
NutrientDescription
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 NutrientDescriptionByKeyFluentHelper getNutrientDescriptionByKey(String nutrientInternalID, String nutrientDescriptionLanguage)
NutrientService
NutrientDescription
entity using key fields.getNutrientDescriptionByKey
in interface NutrientService
nutrientInternalID
- Sequential Number of Data Record
Constraints: Not nullable, Maximum length: 20
nutrientDescriptionLanguage
- Language
Constraints: Not nullable, Maximum length: 2
NutrientDescription
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 © 2021 SAP SE. All rights reserved.