@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessPlaceService") public class DefaultBusinessPlaceService extends Object implements BusinessPlaceService
This service provides queries about business places based on countries/regions or scenarios. The detailed information you can query is as follows: - Enablement status of a business place in the current business scenario. Based on the enablement status, customers can decide the field status of the business place on the UI, which can be invisible, display only, optional or mandatory. - List of business places by input variants. - Detailed information about business places, such as tax registration number and address. - Attributes of country/region-specific business places..
Reference: SAP API Business Hub
OData Service: | API_GLO_BUSINESSPLACE_SRV |
API Version: | 1 |
Communication Scenario: | Business Place Integration (SAP_COM_0394) |
Scope Items: | Accounting and Financial Close (J58), Accounts Receivable (J59), Accounts Payable (J60) |
Authentication Methods: | Basic, x509 |
Business Object: | BusinessPlace |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBusinessPlaceService()
Creates a service using
BusinessPlaceService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBusinessPlaceServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BusinessPlaceFluentHelper |
getAllBusinessPlace()
Fetch multiple
BusinessPlace entities. |
BusinessPlaceByKeyFluentHelper |
getBusinessPlaceByKey(String companyCode,
String businessPlaceID)
Fetch a single
BusinessPlace entity using key fields. |
GetBusinessPlaceFieldPropertiesFluentHelper |
getBusinessPlaceFieldProperties(String scenarioID,
String companyCode)
Creates a fluent helper for the GetBusinessPlaceFieldProperties OData function import.
|
DefaultBusinessPlaceService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBusinessPlaceService()
BusinessPlaceService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBusinessPlaceService withServicePath(@Nonnull String servicePath)
BusinessPlaceService
withServicePath
in interface BusinessPlaceService
servicePath
- Service path that will override the default.@Nonnull public DefaultBusinessPlaceServiceBatch batch()
batch
in interface BatchService<BusinessPlaceServiceBatch>
@Nonnull public BusinessPlaceFluentHelper getAllBusinessPlace()
BusinessPlaceService
BusinessPlace
entities.getAllBusinessPlace
in interface BusinessPlaceService
BusinessPlace
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 BusinessPlaceByKeyFluentHelper getBusinessPlaceByKey(String companyCode, String businessPlaceID)
BusinessPlaceService
BusinessPlace
entity using key fields.getBusinessPlaceByKey
in interface BusinessPlaceService
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
businessPlaceID
- Specifies the business place.
Constraints: Not nullable, Maximum length: 4
BusinessPlace
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 GetBusinessPlaceFieldPropertiesFluentHelper getBusinessPlaceFieldProperties(@Nonnull String scenarioID, @Nonnull String companyCode)
BusinessPlaceService
Creates a fluent helper for the GetBusinessPlaceFieldProperties OData function import.
getBusinessPlaceFieldProperties
in interface BusinessPlaceService
scenarioID
- Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: ScenarioID
companyCode
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CompanyCode
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.