@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductionVolumeCaptureService") public class DefaultProductionVolumeCaptureService extends Object implements ProductionVolumeCaptureService
You can use the service to read and create production volumes for wells or combination of well and well completions. The service is based on the OData protocol and can be consumed by external systems.
Reference: SAP API Business Hub
OData Service: | API_PRODVOLCAPTURE |
API Version: | 1 |
Communication Scenario: | Production Volume Management Integration (SAP_COM_0704) |
Scope Items: | Production Volume Capture (4AG) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductionVolumeCaptureService()
Creates a service using
ProductionVolumeCaptureService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultProductionVolumeCaptureServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ProductionVolumeCreateFluentHelper |
createProductionVolume(ProductionVolume productionVolume)
Create a new
ProductionVolume entity and save it to the S/4HANA system. |
ProductionVolumeFluentHelper |
getAllProductionVolume()
Fetch multiple
ProductionVolume entities. |
ProductionVolumeByKeyFluentHelper |
getProductionVolumeByKey(String well,
String wellCompletion,
LocalDateTime productionDate,
ZonedDateTime oilAllocAtWellCompltnDateTime)
Fetch a single
ProductionVolume entity using key fields. |
DefaultProductionVolumeCaptureService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultProductionVolumeCaptureService()
ProductionVolumeCaptureService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductionVolumeCaptureService withServicePath(@Nonnull String servicePath)
ProductionVolumeCaptureService
withServicePath
in interface ProductionVolumeCaptureService
servicePath
- Service path that will override the default.@Nonnull public DefaultProductionVolumeCaptureServiceBatch batch()
batch
in interface BatchService<ProductionVolumeCaptureServiceBatch>
@Nonnull public ProductionVolumeFluentHelper getAllProductionVolume()
ProductionVolumeCaptureService
ProductionVolume
entities.getAllProductionVolume
in interface ProductionVolumeCaptureService
ProductionVolume
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 ProductionVolumeByKeyFluentHelper getProductionVolumeByKey(String well, String wellCompletion, LocalDateTime productionDate, ZonedDateTime oilAllocAtWellCompltnDateTime)
ProductionVolumeCaptureService
ProductionVolume
entity using key fields.getProductionVolumeByKey
in interface ProductionVolumeCaptureService
well
- Well ID
Constraints: Not nullable, Maximum length: 30
wellCompletion
- Well Completion ID
Constraints: Not nullable, Maximum length: 30
productionDate
- Production Date
Constraints: Not nullable, Precision: 0
oilAllocAtWellCompltnDateTime
- The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time).
Constraints: Not nullable, Precision: 0
ProductionVolume
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 ProductionVolumeCreateFluentHelper createProductionVolume(@Nonnull ProductionVolume productionVolume)
ProductionVolumeCaptureService
ProductionVolume
entity and save it to the S/4HANA system.createProductionVolume
in interface ProductionVolumeCaptureService
productionVolume
- ProductionVolume
entity object that will be created in the S/4HANA system.ProductionVolume
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.