@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultConditionContractService") public class DefaultConditionContractService extends Object implements ServiceWithNavigableEntities, ConditionContractService
The service enables you to retrieve and process transactional data of Condition Contacts: You can read, create and update Condition Contracts. You can also release Condition Contracts, as well as lock and release them for settlement. You can determine the accruals amounts for a specific Condition Contract and group them based on several aspects. You can read and create new entries in the business volume selection criteria of the Condition Contract. Furthermore, you can also update and delete the entries. You can read and create new entries in the settlement calendar of the Condition Contract. Furthermore, you can also update and delete the entries. You can read the status of the Condition Contract. You can read and create new condition records. Furthermore, you can update and delete them. It is also possible to set a condition record as invalid and to revoke the invalidity. You can read and change the validity of the condition records. You can read and create new condition record scales in a condition record. It is also possible to delete them..
Reference: SAP API Business Hub
OData Service: | CONDITIONCONTRACT_0001 |
API Version: | 1 |
Communication Scenario: | Logistics - Condition Contract Integration (SAP_COM_0729) |
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 |
Service Group Name: | API_CONDITION_CONTRACT |
Business Object: | ConditionContract |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultConditionContractService()
Creates a service using
ConditionContractService.DEFAULT_SERVICE_PATH to send the requests. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultConditionContractService()
ConditionContractService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultConditionContractService withServicePath(@Nonnull String servicePath)
ConditionContractService
withServicePath
in interface ConditionContractService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
ConditionContractService
batch
in interface ConditionContractService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<BusVolSelectionCriteria> getAllBusVolSelectionCriteria()
ConditionContractService
BusVolSelectionCriteria
entities.getAllBusVolSelectionCriteria
in interface ConditionContractService
BusVolSelectionCriteria
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<BusVolSelectionCriteria> countBusVolSelectionCriteria()
ConditionContractService
BusVolSelectionCriteria
entity collection matching the filter and search expressions.countBusVolSelectionCriteria
in interface ConditionContractService
BusVolSelectionCriteria
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<BusVolSelectionCriteria> getBusVolSelectionCriteriaByKey(@Nonnull String conditionContract, @Nonnull UUID cndnContrBusVolUUID)
ConditionContractService
BusVolSelectionCriteria
entity using key fields.getBusVolSelectionCriteriaByKey
in interface ConditionContractService
conditionContract
- Condition Contract
Constraints: Not nullable, Maximum length: 10
cndnContrBusVolUUID
- Condition Contract: Business volume base item GUID
Constraints: Not nullable
BusVolSelectionCriteria
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<BusVolSelectionCriteria> createBusVolSelectionCriteria(@Nonnull BusVolSelectionCriteria busVolSelectionCriteria)
ConditionContractService
BusVolSelectionCriteria
entity and save it to the S/4HANA system.createBusVolSelectionCriteria
in interface ConditionContractService
busVolSelectionCriteria
- BusVolSelectionCriteria
entity object that will be created in the S/4HANA system.BusVolSelectionCriteria
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<BusVolSelectionCriteria> updateBusVolSelectionCriteria(@Nonnull BusVolSelectionCriteria busVolSelectionCriteria)
ConditionContractService
BusVolSelectionCriteria
entity and save it to the S/4HANA system.updateBusVolSelectionCriteria
in interface ConditionContractService
busVolSelectionCriteria
- BusVolSelectionCriteria
entity object that will be updated in the S/4HANA system.BusVolSelectionCriteria
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<BusVolSelectionCriteria> deleteBusVolSelectionCriteria(@Nonnull BusVolSelectionCriteria busVolSelectionCriteria)
ConditionContractService
BusVolSelectionCriteria
entity in the S/4HANA system.deleteBusVolSelectionCriteria
in interface ConditionContractService
busVolSelectionCriteria
- BusVolSelectionCriteria
entity object that will be deleted in the S/4HANA system.BusVolSelectionCriteria
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<CndnContrCndnRecordValidity> getAllCndnContrCndnRecordValidity()
ConditionContractService
CndnContrCndnRecordValidity
entities.getAllCndnContrCndnRecordValidity
in interface ConditionContractService
CndnContrCndnRecordValidity
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<CndnContrCndnRecordValidity> countCndnContrCndnRecordValidity()
ConditionContractService
CndnContrCndnRecordValidity
entity collection matching the filter and search expressions.countCndnContrCndnRecordValidity
in interface ConditionContractService
CndnContrCndnRecordValidity
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<CndnContrCndnRecordValidity> getCndnContrCndnRecordValidityByKey(@Nonnull String conditionContract, @Nonnull String conditionRecord, @Nonnull LocalDate conditionValidityEndDate)
ConditionContractService
CndnContrCndnRecordValidity
entity using key fields.getCndnContrCndnRecordValidityByKey
in interface ConditionContractService
conditionContract
- Condition Contract
Constraints: Not nullable, Maximum length: 10
conditionRecord
- Number of the Condition Record
Constraints: Not nullable, Maximum length: 10
conditionValidityEndDate
- Validity end date of the condition record
Constraints: Not nullable
CndnContrCndnRecordValidity
entity using key fields. This request builder allows methods which modify
the underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<CndnContrCndnRecordValidity> createCndnContrCndnRecordValidity(@Nonnull CndnContrCndnRecordValidity cndnContrCndnRecordValidity)
ConditionContractService
CndnContrCndnRecordValidity
entity and save it to the S/4HANA system.createCndnContrCndnRecordValidity
in interface ConditionContractService
cndnContrCndnRecordValidity
- CndnContrCndnRecordValidity
entity object that will be created in the S/4HANA system.CndnContrCndnRecordValidity
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<CndnContrConditionRecord> getAllCndnContrConditionRecord()
ConditionContractService
CndnContrConditionRecord
entities.getAllCndnContrConditionRecord
in interface ConditionContractService
CndnContrConditionRecord
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<CndnContrConditionRecord> countCndnContrConditionRecord()
ConditionContractService
CndnContrConditionRecord
entity collection matching the filter and search expressions.countCndnContrConditionRecord
in interface ConditionContractService
CndnContrConditionRecord
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<CndnContrConditionRecord> getCndnContrConditionRecordByKey(@Nonnull String conditionContract, @Nonnull String conditionRecord)
ConditionContractService
CndnContrConditionRecord
entity using key fields.getCndnContrConditionRecordByKey
in interface ConditionContractService
conditionContract
- Condition Contract
Constraints: Not nullable, Maximum length: 10
conditionRecord
- Number of the Condition Record
Constraints: Not nullable, Maximum length: 10
CndnContrConditionRecord
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<CndnContrConditionRecord> createCndnContrConditionRecord(@Nonnull CndnContrConditionRecord cndnContrConditionRecord)
ConditionContractService
CndnContrConditionRecord
entity and save it to the S/4HANA system.createCndnContrConditionRecord
in interface ConditionContractService
cndnContrConditionRecord
- CndnContrConditionRecord
entity object that will be created in the S/4HANA system.CndnContrConditionRecord
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<CndnContrConditionRecord> updateCndnContrConditionRecord(@Nonnull CndnContrConditionRecord cndnContrConditionRecord)
ConditionContractService
CndnContrConditionRecord
entity and save it to the S/4HANA system.updateCndnContrConditionRecord
in interface ConditionContractService
cndnContrConditionRecord
- CndnContrConditionRecord
entity object that will be updated in the S/4HANA system.CndnContrConditionRecord
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<CndnContrConditionRecord> deleteCndnContrConditionRecord(@Nonnull CndnContrConditionRecord cndnContrConditionRecord)
ConditionContractService
CndnContrConditionRecord
entity in the S/4HANA system.deleteCndnContrConditionRecord
in interface ConditionContractService
cndnContrConditionRecord
- CndnContrConditionRecord
entity object that will be deleted in the S/4HANA system.CndnContrConditionRecord
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<CndnContrConditionRecordScale> getAllCndnContrConditionRecordScale()
ConditionContractService
CndnContrConditionRecordScale
entities.getAllCndnContrConditionRecordScale
in interface ConditionContractService
CndnContrConditionRecordScale
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<CndnContrConditionRecordScale> countCndnContrConditionRecordScale()
ConditionContractService
CndnContrConditionRecordScale
entity collection matching the filter and search expressions.countCndnContrConditionRecordScale
in interface ConditionContractService
CndnContrConditionRecordScale
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<CndnContrConditionRecordScale> getCndnContrConditionRecordScaleByKey(@Nonnull String conditionContract, @Nonnull String conditionRecord, @Nonnull String conditionScaleLine)
ConditionContractService
CndnContrConditionRecordScale
entity using key fields.getCndnContrConditionRecordScaleByKey
in interface ConditionContractService
conditionContract
- Condition Contract
Constraints: Not nullable, Maximum length: 10
conditionRecord
- Number of the Condition Record
Constraints: Not nullable, Maximum length: 10
conditionScaleLine
- Current number of the line scale
Constraints: Not nullable, Maximum length: 4
CndnContrConditionRecordScale
entity using key fields. This request builder allows methods which modify
the underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<CndnContrConditionRecordScale> createCndnContrConditionRecordScale(@Nonnull CndnContrConditionRecordScale cndnContrConditionRecordScale)
ConditionContractService
CndnContrConditionRecordScale
entity and save it to the S/4HANA system.createCndnContrConditionRecordScale
in interface ConditionContractService
cndnContrConditionRecordScale
- CndnContrConditionRecordScale
entity object that will be created in the S/4HANA system.CndnContrConditionRecordScale
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<CndnContrConditionRecordScale> deleteCndnContrConditionRecordScale(@Nonnull CndnContrConditionRecordScale cndnContrConditionRecordScale)
ConditionContractService
CndnContrConditionRecordScale
entity in the S/4HANA system.deleteCndnContrConditionRecordScale
in interface ConditionContractService
cndnContrConditionRecordScale
- CndnContrConditionRecordScale
entity object that will be deleted in the S/4HANA system.CndnContrConditionRecordScale
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<CndnContrSettlementCalendar> getAllCndnContrSettlementCalendar()
ConditionContractService
CndnContrSettlementCalendar
entities.getAllCndnContrSettlementCalendar
in interface ConditionContractService
CndnContrSettlementCalendar
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<CndnContrSettlementCalendar> countCndnContrSettlementCalendar()
ConditionContractService
CndnContrSettlementCalendar
entity collection matching the filter and search expressions.countCndnContrSettlementCalendar
in interface ConditionContractService
CndnContrSettlementCalendar
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<CndnContrSettlementCalendar> getCndnContrSettlementCalendarByKey(@Nonnull String conditionContract, @Nonnull LocalDate settlmtDate, @Nonnull String settlmtDateCat)
ConditionContractService
CndnContrSettlementCalendar
entity using key fields.getCndnContrSettlementCalendarByKey
in interface ConditionContractService
conditionContract
- Condition Contract
Constraints: Not nullable, Maximum length: 10
settlmtDate
- Rebates: Settlement Date
Constraints: Not nullable
settlmtDateCat
- Rebates: Settlement Date Type
Constraints: Not nullable, Maximum length: 1
CndnContrSettlementCalendar
entity using key fields. This request builder allows methods which modify
the underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<CndnContrSettlementCalendar> createCndnContrSettlementCalendar(@Nonnull CndnContrSettlementCalendar cndnContrSettlementCalendar)
ConditionContractService
CndnContrSettlementCalendar
entity and save it to the S/4HANA system.createCndnContrSettlementCalendar
in interface ConditionContractService
cndnContrSettlementCalendar
- CndnContrSettlementCalendar
entity object that will be created in the S/4HANA system.CndnContrSettlementCalendar
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<CndnContrSettlementCalendar> updateCndnContrSettlementCalendar(@Nonnull CndnContrSettlementCalendar cndnContrSettlementCalendar)
ConditionContractService
CndnContrSettlementCalendar
entity and save it to the S/4HANA system.updateCndnContrSettlementCalendar
in interface ConditionContractService
cndnContrSettlementCalendar
- CndnContrSettlementCalendar
entity object that will be updated in the S/4HANA system.CndnContrSettlementCalendar
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public DeleteRequestBuilder<CndnContrSettlementCalendar> deleteCndnContrSettlementCalendar(@Nonnull CndnContrSettlementCalendar cndnContrSettlementCalendar)
ConditionContractService
CndnContrSettlementCalendar
entity in the S/4HANA system.deleteCndnContrSettlementCalendar
in interface ConditionContractService
cndnContrSettlementCalendar
- CndnContrSettlementCalendar
entity object that will be deleted in the S/4HANA system.CndnContrSettlementCalendar
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ConditionContract> getAllConditionContract()
ConditionContractService
ConditionContract
entities.getAllConditionContract
in interface ConditionContractService
ConditionContract
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ConditionContract> countConditionContract()
ConditionContractService
ConditionContract
entity collection matching the filter and search expressions.countConditionContract
in interface ConditionContractService
ConditionContract
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ConditionContract> getConditionContractByKey(@Nonnull String conditionContract)
ConditionContractService
ConditionContract
entity using key fields.getConditionContractByKey
in interface ConditionContractService
conditionContract
- Condition Record
Constraints: Not nullable, Maximum length: 10
ConditionContract
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<ConditionContract> createConditionContract(@Nonnull ConditionContract conditionContract)
ConditionContractService
ConditionContract
entity and save it to the S/4HANA system.createConditionContract
in interface ConditionContractService
conditionContract
- ConditionContract
entity object that will be created in the S/4HANA system.ConditionContract
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<ConditionContract> updateConditionContract(@Nonnull ConditionContract conditionContract)
ConditionContractService
ConditionContract
entity and save it to the S/4HANA system.updateConditionContract
in interface ConditionContractService
conditionContract
- ConditionContract
entity object that will be updated in the S/4HANA system.ConditionContract
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ConditionContractStatus> getAllConditionContractStatus()
ConditionContractService
ConditionContractStatus
entities.getAllConditionContractStatus
in interface ConditionContractService
ConditionContractStatus
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ConditionContractStatus> countConditionContractStatus()
ConditionContractService
ConditionContractStatus
entity collection matching the filter and search expressions.countConditionContractStatus
in interface ConditionContractService
ConditionContractStatus
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ConditionContractStatus> getConditionContractStatusByKey(@Nonnull String conditionContract, @Nonnull String statusCode)
ConditionContractService
ConditionContractStatus
entity using key fields.getConditionContractStatusByKey
in interface ConditionContractService
conditionContract
- Condition Contract
Constraints: Not nullable, Maximum length: 10
statusCode
- Object Status
Constraints: Not nullable, Maximum length: 5
ConditionContractStatus
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<ConditionContractStatus> createConditionContractStatus(@Nonnull ConditionContractStatus conditionContractStatus)
ConditionContractService
ConditionContractStatus
entity and save it to the S/4HANA system.createConditionContractStatus
in interface ConditionContractService
conditionContractStatus
- ConditionContractStatus
entity object that will be created in the S/4HANA system.ConditionContractStatus
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.