Class DefaultBusinessPlaceService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessPlaceService
All Implemented Interfaces:
BatchService<BusinessPlaceServiceBatch>, BusinessPlaceService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessPlaceService") @Deprecated public class DefaultBusinessPlaceService extends Object implements BusinessPlaceService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_GLO_BUSINESSPLACE_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Business Place Integration(SAP_COM_0394)
Scope Items: Accounting and Financial Close(J58), Accounts Receivable(J59), Accounts Payable(J60)
Authentication Methods: x509
Business Object: Business Place
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultBusinessPlaceService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: BusinessPlaceService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface BusinessPlaceService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultBusinessPlaceServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<BusinessPlaceServiceBatch>
    • getAllBusinessPlace

      @Nonnull public BusinessPlaceFluentHelper getAllBusinessPlace()
      Deprecated.
      Description copied from interface: BusinessPlaceService
      Fetch multiple BusinessPlace entities.
      Specified by:
      getAllBusinessPlace in interface BusinessPlaceService
      Returns:
      A fluent helper to fetch multiple 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.
    • getBusinessPlaceByKey

      @Nonnull public BusinessPlaceByKeyFluentHelper getBusinessPlaceByKey(String companyCode, String businessPlaceID)
      Deprecated.
      Description copied from interface: BusinessPlaceService
      Fetch a single BusinessPlace entity using key fields.
      Specified by:
      getBusinessPlaceByKey in interface BusinessPlaceService
      Parameters:
      companyCode - Company Code

      Constraints: Not nullable, Maximum length: 4

      businessPlaceID - Business Place

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single 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.
    • getBusinessPlaceFieldProperties

      @Nonnull public GetBusinessPlaceFieldPropertiesFluentHelper getBusinessPlaceFieldProperties(@Nonnull String scenarioID, @Nonnull String companyCode)
      Deprecated.
      Description copied from interface: BusinessPlaceService

      Creates a fluent helper for the GetBusinessPlaceFieldProperties OData function import.

      Specified by:
      getBusinessPlaceFieldProperties in interface BusinessPlaceService
      Parameters:
      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

      Returns:
      A fluent helper object that will execute the GetBusinessPlaceFieldProperties OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.