Class DefaultProductionRevenueAccountingContractMarketingCostService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductionRevenueAccountingContractMarketingCostService
You can read the Contract Marketing cost header and items. Contract Marketing costs can be created or updated or deleted along with its detailed items based on combination of Contract/Contract & Well Completion/Contract & Measurement Point/Contract & Well Completion & Measurement Point along with Material and Validity Dates..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_PRACONTRACTMARKETING_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | PRA Valuation Data Integration(SAP_COM_0921) |
| Scope Items: | Revenue Accounting - Oil and Gas Production(5NM) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRACONTRACTMARKETING |
| Business Object: | ProductionRevenueAccountingContractMarketingCost |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductionRevenueAccountingContractMarketingCostService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductionRevenueAccountingContractMarketingCostService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theContractMarketingDetailentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theContractMarketingHeaderentity collection matching the filter and search expressions.createContrMarketingHdr(ContractMarketingHeader contractMarketingHeader) Deprecated.Create a newContractMarketingHeaderentity and save it to the S/4HANA system.deleteContrMarketingHdr(ContractMarketingHeader contractMarketingHeader) Deprecated.Deletes an existingContractMarketingHeaderentity in the S/4HANA system.Deprecated.Fetch multipleContractMarketingDetailentities.Deprecated.Fetch multipleContractMarketingHeaderentities.getContrMarketingDetByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate, String contractMarketingCostControl, String marketingType) Deprecated.Fetch a singleContractMarketingDetailentity using key fields.getContrMarketingHdrByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate) Deprecated.Fetch a singleContractMarketingHeaderentity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultProductionRevenueAccountingContractMarketingCostService
public DefaultProductionRevenueAccountingContractMarketingCostService()Deprecated.Creates a service usingProductionRevenueAccountingContractMarketingCostService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultProductionRevenueAccountingContractMarketingCostService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductionRevenueAccountingContractMarketingCostService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductionRevenueAccountingContractMarketingCostService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllContrMarketingDet
Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceFetch multipleContractMarketingDetailentities.- Specified by:
getAllContrMarketingDetin interfaceProductionRevenueAccountingContractMarketingCostService- Returns:
- A request builder to fetch multiple
ContractMarketingDetailentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countContrMarketingDet
Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceFetch the number of entries from theContractMarketingDetailentity collection matching the filter and search expressions.- Specified by:
countContrMarketingDetin interfaceProductionRevenueAccountingContractMarketingCostService- Returns:
- A request builder to fetch the count of
ContractMarketingDetailentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getContrMarketingDetByKey
@Nonnull public GetByKeyRequestBuilder<ContractMarketingDetail> getContrMarketingDetByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate, String contractMarketingCostControl, String marketingType) Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceFetch a singleContractMarketingDetailentity using key fields.- Specified by:
getContrMarketingDetByKeyin interfaceProductionRevenueAccountingContractMarketingCostService- Parameters:
pRAContract- Contract NumberConstraints: Not nullable, Maximum length: 10
measurementPoint- Measurement point numberConstraints: Not nullable, Maximum length: 20
well- Well ID numberConstraints: Not nullable, Maximum length: 15
wellCompletion- Well Completion NumberConstraints: Not nullable, Maximum length: 5
pRAMaterial- Material NumberConstraints: Not nullable, Maximum length: 18
effectiveFromDate- Effective from dateConstraints: Not nullable
effectiveToDate- Effective To DateConstraints: Not nullable
contractMarketingCostControl- Contract Marketing Cost ControlConstraints: Not nullable, Maximum length: 12
marketingType- Marketing type codeConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
ContractMarketingDetailentity 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 theexecutemethod on the request builder object.
-
getAllContrMarketingHdr
Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceFetch multipleContractMarketingHeaderentities.- Specified by:
getAllContrMarketingHdrin interfaceProductionRevenueAccountingContractMarketingCostService- Returns:
- A request builder to fetch multiple
ContractMarketingHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countContrMarketingHdr
Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceFetch the number of entries from theContractMarketingHeaderentity collection matching the filter and search expressions.- Specified by:
countContrMarketingHdrin interfaceProductionRevenueAccountingContractMarketingCostService- Returns:
- A request builder to fetch the count of
ContractMarketingHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getContrMarketingHdrByKey
@Nonnull public GetByKeyRequestBuilder<ContractMarketingHeader> getContrMarketingHdrByKey(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate) Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceFetch a singleContractMarketingHeaderentity using key fields.- Specified by:
getContrMarketingHdrByKeyin interfaceProductionRevenueAccountingContractMarketingCostService- Parameters:
pRAContract- Contract NumberConstraints: Not nullable, Maximum length: 10
measurementPoint- Measurement point numberConstraints: Not nullable, Maximum length: 20
well- Well ID numberConstraints: Not nullable, Maximum length: 15
wellCompletion- Well Completion NumberConstraints: Not nullable, Maximum length: 5
pRAMaterial- Material NumberConstraints: Not nullable, Maximum length: 18
effectiveFromDate- Effective from dateConstraints: Not nullable
effectiveToDate- Effective To DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ContractMarketingHeaderentity 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 theexecutemethod on the request builder object.
-
createContrMarketingHdr
@Nonnull public CreateRequestBuilder<ContractMarketingHeader> createContrMarketingHdr(@Nonnull ContractMarketingHeader contractMarketingHeader) Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceCreate a newContractMarketingHeaderentity and save it to the S/4HANA system.- Specified by:
createContrMarketingHdrin interfaceProductionRevenueAccountingContractMarketingCostService- Parameters:
contractMarketingHeader-ContractMarketingHeaderentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ContractMarketingHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteContrMarketingHdr
@Nonnull public DeleteRequestBuilder<ContractMarketingHeader> deleteContrMarketingHdr(@Nonnull ContractMarketingHeader contractMarketingHeader) Deprecated.Description copied from interface:ProductionRevenueAccountingContractMarketingCostServiceDeletes an existingContractMarketingHeaderentity in the S/4HANA system.- Specified by:
deleteContrMarketingHdrin interfaceProductionRevenueAccountingContractMarketingCostService- Parameters:
contractMarketingHeader-ContractMarketingHeaderentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ContractMarketingHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-