@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesOrganizationService") public class DefaultSalesOrganizationService extends Object implements SalesOrganizationService
The service contains sales organization and sales organization text nodes.
Reference: SAP API Business Hub
OData Service: | API_SALESORGANIZATION_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesOrganizationService()
Creates a service using
SalesOrganizationService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultSalesOrganizationServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SalesOrganizationFluentHelper |
getAllSalesOrganization()
Fetch multiple
SalesOrganization entities. |
SalesOrganizationTextFluentHelper |
getAllSalesOrganizationText()
Fetch multiple
SalesOrganizationText entities. |
SalesOrganizationByKeyFluentHelper |
getSalesOrganizationByKey(String salesOrganization)
Fetch a single
SalesOrganization entity using key fields. |
SalesOrganizationTextByKeyFluentHelper |
getSalesOrganizationTextByKey(String salesOrganization,
String language)
Fetch a single
SalesOrganizationText entity using key fields. |
DefaultSalesOrganizationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultSalesOrganizationService()
SalesOrganizationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSalesOrganizationService withServicePath(@Nonnull String servicePath)
SalesOrganizationService
withServicePath
in interface SalesOrganizationService
servicePath
- Service path that will override the default.@Nonnull public DefaultSalesOrganizationServiceBatch batch()
batch
in interface BatchService<SalesOrganizationServiceBatch>
@Nonnull public SalesOrganizationFluentHelper getAllSalesOrganization()
SalesOrganizationService
SalesOrganization
entities.getAllSalesOrganization
in interface SalesOrganizationService
SalesOrganization
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 SalesOrganizationByKeyFluentHelper getSalesOrganizationByKey(String salesOrganization)
SalesOrganizationService
SalesOrganization
entity using key fields.getSalesOrganizationByKey
in interface SalesOrganizationService
salesOrganization
- An organizational unit responsible for the sale of certain products or services. The responsibility of
a sales organization may include legal liability for products and customer claims.
Constraints: Not nullable, Maximum length: 4
SalesOrganization
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 SalesOrganizationTextFluentHelper getAllSalesOrganizationText()
SalesOrganizationService
SalesOrganizationText
entities.getAllSalesOrganizationText
in interface SalesOrganizationService
SalesOrganizationText
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 SalesOrganizationTextByKeyFluentHelper getSalesOrganizationTextByKey(String salesOrganization, String language)
SalesOrganizationService
SalesOrganizationText
entity using key fields.getSalesOrganizationTextByKey
in interface SalesOrganizationService
salesOrganization
- An organizational unit responsible for the sale of certain products or services. The responsibility of
a sales organization may include legal liability for products and customer claims.
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
SalesOrganizationText
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 © 2020 SAP SE. All rights reserved.