@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultConditionContractTypeService") public class DefaultConditionContractTypeService extends Object implements ConditionContractTypeService
The service is based on the OData protocol and can be consumed in SAP Fiori apps and in other user interfaces. In every API call, you can make use of the following operations: - You can retrieve condition contract types. - You can retrieve business volume field combinations based on a contract type. - You can retrieve field name assignments to business volume field combination types used in condition contract settlement processes. .
Reference: SAP API Business Hub
OData Service: | API_CONDITION_CONTRACT_TYPE |
API Version: | 1 |
Communication Scenario: | Logistics - Condition Contract Type Integration (SAP_COM_0335) |
Scope Items: | Sales Rebate Processing (1B6), Purchasing Rebate Processing (2R7), Sales Commissions - External Sales Representative (2TT), Royalties Settlement for Sales (55I) |
Authentication Methods: | Basic, x509 |
Business Object: | ConditionContractType |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultConditionContractTypeService()
Creates a service using
ConditionContractTypeService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultConditionContractTypeServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BusVolFldCombnSetTypeAssgmtFluentHelper |
getAllBusVolFldCombnSetTypeAssgmt()
Fetch multiple
BusVolFldCombnSetTypeAssgmt entities. |
CndnContrTypeFluentHelper |
getAllCndnContrType()
Fetch multiple
CndnContrType entities. |
BusVolFldCombnSetTypeAssgmtByKeyFluentHelper |
getBusVolFldCombnSetTypeAssgmtByKey(String cndnContrType,
String busVolFldCombnSet,
String busVolFieldCombnType)
Fetch a single
BusVolFldCombnSetTypeAssgmt entity using key fields. |
CndnContrTypeByKeyFluentHelper |
getCndnContrTypeByKey(String cndnContrType)
Fetch a single
CndnContrType entity using key fields. |
DefaultConditionContractTypeService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultConditionContractTypeService()
ConditionContractTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultConditionContractTypeService withServicePath(@Nonnull String servicePath)
ConditionContractTypeService
withServicePath
in interface ConditionContractTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultConditionContractTypeServiceBatch batch()
batch
in interface BatchService<ConditionContractTypeServiceBatch>
@Nonnull public BusVolFldCombnSetTypeAssgmtFluentHelper getAllBusVolFldCombnSetTypeAssgmt()
ConditionContractTypeService
BusVolFldCombnSetTypeAssgmt
entities.getAllBusVolFldCombnSetTypeAssgmt
in interface ConditionContractTypeService
BusVolFldCombnSetTypeAssgmt
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 BusVolFldCombnSetTypeAssgmtByKeyFluentHelper getBusVolFldCombnSetTypeAssgmtByKey(String cndnContrType, String busVolFldCombnSet, String busVolFieldCombnType)
ConditionContractTypeService
BusVolFldCombnSetTypeAssgmt
entity using key fields.getBusVolFldCombnSetTypeAssgmtByKey
in interface ConditionContractTypeService
cndnContrType
- Classification used to differentiate between different types of condition contracts.
Constraints: Not nullable, Maximum length: 4
busVolFldCombnSet
- The set of field combinations groups single field combinations to allow a flexible configuration of
selection criteria for the business volume selection in the condition contract settlement process.
Constraints: Not nullable, Maximum length: 4
busVolFieldCombnType
- Contains one or multiple fields that serve as selection criteria for the business volume data
selection from the business volume table.
Constraints: Not nullable, Maximum length: 4
BusVolFldCombnSetTypeAssgmt
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 CndnContrTypeFluentHelper getAllCndnContrType()
ConditionContractTypeService
CndnContrType
entities.getAllCndnContrType
in interface ConditionContractTypeService
CndnContrType
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 CndnContrTypeByKeyFluentHelper getCndnContrTypeByKey(String cndnContrType)
ConditionContractTypeService
CndnContrType
entity using key fields.getCndnContrTypeByKey
in interface ConditionContractTypeService
cndnContrType
- Classification used to differentiate between different types of condition contracts.
Constraints: Not nullable, Maximum length: 4
CndnContrType
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.