Monthly_Prod_Vol_DOV


[Columns] [Composed Of] [Referenced By] [Refers To]

General Information

[Next]
Name Monthly_Prod_Vol_DOV
Entity Type ObjectView
Description Data Object View. The Monthly Prod Vol DOV provides information about monthly allocated production volumes and days of production from a well for each of oil, water, condensate, and gas.
Submodel Data_Object
Entity Scope Project
Primary Key Id
Natural Key
Generalizations
Specializations


Columns

[Previous] [Next] [Top]
NameValue DomainProperty /
Storage Unit
DescriptionRequired /
Default
Type
Borehole_Id Borehole
READ ONLY: Unique identifier for the Borehole. No
NUMBER(38)
Borehole_Name ENTITY_NAME NA
The name given to any object or data item, e.g. Name of Well, Name of Field, etc. No
VARCHAR2(255)
Completion_Name ENTITY_NAME NA
The name given to any object or data item, e.g. Name of Well, Name of Field, etc. Yes
VARCHAR2(255)
Condensate_Days_On double Time
s
The amount of time the specified material was being produced during the specified reporting period. No
NUMBER
Condensate_Volume double Volume
m3
The volume of the material. No
NUMBER
Condensate_Volume_Id Production_Volume
READ ONLY: Unique identifier for the Condensate Volume record. No
NUMBER(38)
Gas_Days_On double Time
s
The amount of time the specified material was being produced during the specified reporting period. No
NUMBER
Gas_Volume double Volume
m3
The volume of the material. No
NUMBER
Gas_Volume_Id Production_Volume
READ ONLY: Unique identifier for the Gas Volume record. No
NUMBER(38)
Id ID No_Unit
Unique identifier for this entity. Yes
NUMBER(38)
Insert_Date DATE NA
Date the entity was created in the repository No
DATE
Insert_User STRING64 NA
The name of the user responsible for the creation of this entity in the repository. No
VARCHAR2(64)
Oil_Days_On double Time
s
The amount of time the specified material was being produced during the specified reporting period. No
NUMBER
Oil_Volume double Volume
m3
The volume of the material. No
NUMBER
Oil_Volume_Id Production_Volume
READ ONLY: Unique identifier for the Oil Volume record. No
NUMBER(38)
Production_Date DATE NA
The date/time that represents the beginning of the production data set reporting period. Yes
DATE
Production_Entity_Id Production_Entity
READ ONLY: Unique identifier for the Production Entity record. No
NUMBER(38)
Remarks REMARKS_STR NA
Any type of remarks added to an entity instance. No
VARCHAR2(999)
Tubing_String_Id Tubing_String
READ ONLY: Unique identifier for the Tubing String. No
NUMBER(38)
Tubing_String_Name ENTITY_NAME NA
The name given to any object or data item, e.g. Name of Well, Name of Field, etc. No
VARCHAR2(255)
UBHI WELL_IDENTIFIER NA
The Unique Identifier assigned to a borehole Yes
VARCHAR2(64)
Water_Days_On double Time
s
The amount of time the specified material was being produced during the specified reporting period. No
NUMBER
Water_Volume double Volume
m3
The volume of the material. No
NUMBER
Water_Volume_Id Production_Volume
READ ONLY: Unique identifier for the Water Volume record. No
NUMBER(38)
Well_Completion_Id Well_Completion
READ ONLY: Unique identifier for the Well Completion. No
NUMBER(38)


Refers To

[Previous] [Next] [Top]
LinkTo EntityDescriptionImplementation TechniqueRequired
Borehole Borehole READ ONLY: Unique identifier for the Borehole. Cascade No
Tubing_String Tubing_String READ ONLY: Unique identifier for the Tubing String. Nullify No
Well_Completion Well_Completion READ ONLY: Unique identifier for the Well Completion. Cascade No
Production_Entity Production_Entity READ ONLY: Unique identifier for the Production Entity record. Cascade No
Water_Volume Production_Volume READ ONLY: Unique identifier for the Water Volume record. Cascade No
Gas_Volume Production_Volume READ ONLY: Unique identifier for the Gas Volume record. Cascade No
Condensate_Volume Production_Volume READ ONLY: Unique identifier for the Condensate Volume record. Cascade No
Oil_Volume Production_Volume READ ONLY: Unique identifier for the Oil Volume record. Cascade No


View Definition

[Previous] [Top]

CREATE OR REPLACE FORCE VIEW Monthly_Prod_Vol_DOV(ID, UBHI, BOREHOLE_NAME, COMPLETION_NAME, TUBING_STRING_NAME, PRODUCTION_DATE, OIL_VOLUME, OIL_DAYS_ON, WATER_VOLUME, WATER_DAYS_ON, GAS_VOLUME, GAS_DAYS_ON, CONDENSATE_VOLUME, CONDENSATE_DAYS_ON, REMARKS, INSERT_DATE, INSERT_USER, BOREHOLE_ID, TUBING_STRING_ID, WELL_COMPLETION_ID, OIL_VOLUME_ID, WATER_VOLUME_ID, GAS_VOLUME_ID, CONDENSATE_VOLUME_ID, PRODUCTION_ENTITY_ID) AS SELECT
 ph.Id                                       Id,  --Pk / Unique
 bh.UBHI                                     UBHI,--Nk Mandatory
 bh.Name                                     Borehole_Name,
 wc.name                                     Completion_Name,
 ts.name                                     Tubing_String_Name,
 ph.start_date                               Production_Date,
 pv_oil.volume                               Oil_Volume,
 pv_oil.productive_duration/(3600*24)        Oil_Days_On,
 pv_water.volume                             Water_Volume,
 
pv_water.productive_duration/(3600*24)      Water_Days_On,
 pv_gas.volume                               Gas_Volume,
 pv_gas.productive_duration/(3600*24)        Gas_Days_On,
 pv_condensate.volume                        Condensate_Volume,
 pv_condensate.productive_duration/(3600*24) Condensate_Days_On,
 ph.remarks                                  Remarks,
 ph.insert_date                              Insert_Date,
 ph.insert_user                              Insert_User,
 bh.Id                                       Borehole_Id,
 ts.Id                                       Tubing_String_Id,
 wc.Id                                       Well_Completion_Id,
 pv_oil.id                                   Oil_Volume_Id,
 pv_water.id                                 Water_Volume_Id,
 pv_gas.id                                   Gas_Volume_Id,
 pv_condensate.id                            Condensate_Volume_Id,
 pe.id					     Production_Entity_Id
from production_header  ph,
     borehole           
bh,
     well_completion    wc,
     tubing_string      ts,
     production_entity  pe,
     production_volume  pv_oil,
     production_volume  pv_water,
     production_volume  pv_gas,
     production_volume  pv_condensate
  where bh.id = wc.borehole_id
  and wc.tubing_string_id = ts.id(+)
  and wc.id = pe.well_completion_id
  and pe.id = ph.production_entity_id
  and pe.Production_Entity_Subtype = 'Well_Completion'
  and ph.Volume_Method_Code = 'Allocated'
  and ph.Reporting_Period_Code = 'Monthly'
  and ph.Version = '1'
  and ph.id = pv_oil.production_header_id(+)
  and pv_oil.material_type(+) = 'Oil'
  and pv_oil.flow_direction_code(+) = 'Out'
  and ph.id = pv_water.production_header_id (+)
  and pv_water.material_type(+) = 'Water'
  and pv_water.flow_direction_code(+) = 'Out'
  and ph.id = pv_gas.production_header_id (+)
  and pv_gas.material_type(+) = 'Gas'
  and pv_gas.flow_direction_code(+) = 'Out'
  and ph.id = pv_condensate.production_header_id (+)
  and 
pv_condensate.material_type(+) = 'Condensate'
  and pv_condensate.flow_direction_code(+) = 'Out'
  
   


[Seabed Objects] [Entities in Schema Seabed] [Index]

Copyright © 2018 Schlumberger. All rights reserved.