3.1. Data
Data
If you want to check the layout distribution, you can go to Form Parts
The fields in the layout lyt_top_1 are:
Arc Type: arc_type - Type of arc. It is auto-populated based on the arccat_id
- Datatype: String.
- Mandatory: Sí.
- Editable: No.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_feature_arc WHERE id IS NOT NULL -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.
-
valueRelation:
- layer: ve_cat_feature_arc
- activated: True
- keyColumn: id
- nullValue: False
- valueColumn: id
- filterExpression: None
Arccat Id: arccat_id - To be selected from the catalog of arcs. It is independent of the type of arch
- Datatype: String.
- Mandatory: Sí.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_arc WHERE id IS NOT NULL AND active IS TRUE - Filterc: The previous query is filtered by:
AND cat_arc.arc_type IS NULL OR cat_arc.arc_type -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.
-
valueRelation:
- layer: cat_arc
- activated: True
- keyColumn: id
- nullValue: False
- valueColumn: id
- filterExpression: None
Epa Type: epa_type - epa_type
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM sys_feature_epa_type WHERE active AND feature_type = 'ARC' -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.
The fields in the layout lyt_data_1 are:
Node 1: node_1 - node_1
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Y1: y1 - y1
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- autoupdateReloadFields (['node_1', 'y1', 'custom_y1', 'custom_elev1', 'sys_y1', 'sys_elev1', 'z1', 'r1', 'node_2', 'y2', 'custom_y2', 'custom_elev2', 'sys_y2', 'sys_elev2', 'z2', 'r2', 'slope']): Instantly reloads other fields if one is modified. Acts in combination with isautoupdate
Custom Y1: custom_y1 - custom_y1
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- autoupdateReloadFields (['node_1', 'y1', 'custom_y1', 'custom_elev1', 'sys_y1', 'sys_elev1', 'z1', 'r1', 'node_2', 'y2', 'custom_y2', 'custom_elev2', 'sys_y2', 'sys_elev2', 'z2', 'r2', 'slope']): Instantly reloads other fields if one is modified. Acts in combination with isautoupdate
Sys Y1: sys_y1 - sys_y1
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Custom Elev1: custom_elev1 - custom_elev1
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- autoupdateReloadFields (['node_1', 'y1', 'custom_y1', 'custom_elev1', 'sys_y1', 'sys_elev1', 'z1', 'r1', 'node_2', 'y2', 'custom_y2', 'custom_elev2', 'sys_y2', 'sys_elev2', 'z2', 'r2', 'slope']): Instantly reloads other fields if one is modified. Acts in combination with isautoupdate
Sys Elev1: sys_elev1 - sys_elev1
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Z1: z1 - z1
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
R1: r1 - Coating. Distance between the upper generatrix and the surface at node 1
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Code: code - Code previously used by the company. This will be used in many Giswater tools. If left empty, it will be filled with the element's id
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Material: matcat_id - Material of the element. It cannot be filled in. The one with the matcat_id field of the corresponding catalog is used
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id AS idval FROM cat_material WHERE 'ARC' = ANY(feature_type) -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
-
valueRelation:
- nullValue: False
- layer: cat_material
- activated: True
- keyColumn: id
- valueColumn: descript
- filterExpression: None
Dma: dma_id - dma_id
- Datatype: Integer.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Cat Geom1: cat_geom1 - cat_geom1
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Horizontal Inside Measurement: cat_geom2 - Horizontal inside measurement
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Gis Length: gis_length - gis_length
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Slope: slope - slope
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Inverted Slope: inverted_slope - inverted_slope
- Datatype: Boolean.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Workcat Id: workcat_id - Related to the catalog of work files (cat_work). File that registers the element
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_work WHERE id IS NOT NULL AND active IS TRUE -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Builtdate: builtdate - builtdate
- Datatype: Date.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Ownercat Id: ownercat_id - ownercat_id
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_owner WHERE id IS NOT NULL AND active IS TRUE -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Enddate: enddate - End date of the element. It will only be filled in if the element is in a deregistration state.
- Datatype: Date.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Name: name - Name of the element
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
Adate: adate - adate
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
Adescript: adescript - adescript
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
Visitability: visitability - visitability
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
Label Quadrant: label_quadrant - label_quadrant
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
select id, idval from edit_typevalue where typevalue = 'label_quadrant'
Minsector Id: minsector_id - minsector_id
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
Macrominsector Id: macrominsector_id - macrominsector_id
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
Serial Number: serial_number - serial_number
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
Negativeoffset: negative_offset - negativeoffset
- Datatype: Boolean.
- Mandatory: No.
- Editable: Sí.
Siphon Code: siphon_code - siphon_code
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
Inicio Flujos Derivados: initoverflowpath - Este campo es de suma importancia puesto que identifica aquellos tramos de red que son inicio de de flujo de caudales en tiempo de lluvia. Esta propiedad les convierte en ser frontera entre las DWFzones y la Drainzones
- Datatype: Boolean.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
The fields in the layout lyt_data_2 are:
Node 2: node_2 - Node located at the end of the arc
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Y2: y2 - Depth of the conduit at end node
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- autoupdateReloadFields (['node_1', 'y1', 'custom_y1', 'custom_elev1', 'sys_y1', 'sys_elev1', 'z1', 'r1', 'node_2', 'y2', 'custom_y2', 'custom_elev2', 'sys_y2', 'sys_elev2', 'z2', 'r2', 'slope']): Instantly reloads other fields if one is modified. Acts in combination with isautoupdate
Custom Y2: custom_y2 - custom_y2
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- autoupdateReloadFields (['node_1', 'y1', 'custom_y1', 'custom_elev1', 'sys_y1', 'sys_elev1', 'z1', 'r1', 'node_2', 'y2', 'custom_y2', 'custom_elev2', 'sys_y2', 'sys_elev2', 'z2', 'r2', 'slope']): Instantly reloads other fields if one is modified. Acts in combination with isautoupdate
Sys Y2: sys_y2 - sys_y2
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Custom Elev2: custom_elev2 - custom_elev2
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- autoupdateReloadFields (['node_1', 'y1', 'custom_y1', 'custom_elev1', 'sys_y1', 'sys_elev1', 'z1', 'r1', 'node_2', 'y2', 'custom_y2', 'custom_elev2', 'sys_y2', 'sys_elev2', 'z2', 'r2', 'slope']): Instantly reloads other fields if one is modified. Acts in combination with isautoupdate
Elevation Of The Selected Node 2: sys_elev2 - Input level of the final node selected for the calculation
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Z2: z2 - z2
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
R2: r2 - r2
- Datatype: Double.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Function Type: function_type - Type of function to choose from the user-customized dropdown in the man_type_function table
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT function_type as id, function_type as idval FROM man_type_function WHERE ((featurecat_id is null AND 'ARC'=ANY(feature_type)) ) AND active IS TRUE OR 'SIPHON' = ANY(featurecat_id::text[]) -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Category Type: category_type - category_type
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT category_type as id, category_type as idval FROM man_type_category WHERE ((featurecat_id is null AND 'ARC'=ANY(feature_type))) AND active IS TRUE OR 'SIPHON' = ANY(featurecat_id::text[]) -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Fluid Type: fluid_type - fluid_type
- Datatype: String.
- Mandatory: No.
- Editable: No.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, idval FROM om_typevalue WHERE typevalue = 'fluid_type' -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Location Type: location_type - location_type
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT location_type as id, location_type as idval FROM man_type_location WHERE ((featurecat_id is null AND 'ARC'=ANY(feature_type)) ) AND active IS TRUE OR 'SIPHON' = ANY(featurecat_id::text[]) -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Catalog Label: label - Label from the catalog of arcs, therefore it will not be editable in the form
- Datatype: String.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Label Rotation: label_rotation - Angle of rotation of the label
- Datatype: Double.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Pavcat Id: pavcat_id - pavcat_id
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_pavement
Exploitation: expl_id - expl_id
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT expl_id as id, name as idval FROM exploitation WHERE expl_id IS NOT NULL -
Stylesheet: Aesthetic modifications of the field
-
label:
- color: green
- font-weight: bold
-
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
-
valueRelation:
- layer: ve_exploitation
- activated: True
- keyColumn: expl_id
- nullValue: False
- valueColumn: name
- filterExpression: None
Workcat Id End: workcat_id_end - Id of the end of construction work.
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_work WHERE id IS NOT NULL AND active IS TRUE -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Workcat Id Plan: workcat_id_plan - Item planning record
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_work WHERE id IS NOT NULL -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Asset Id: asset_id - asset_id
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
Placement Type: placement_type - Placement Type
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
Brand: brand_id - brand_id
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_brand WHERE 'SIPHON' = ANY(featurecat_id::text[]) OR featurecat_id IS NULL -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Model: model_id - model_id
- Datatype: Text.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, id as idval FROM cat_brand_model WHERE 'SIPHON' = ANY(featurecat_id::text[]) OR featurecat_id IS NULL -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
The fields in the layout lyt_data_3 are:
Muni Id: muni_id - muni_id
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT muni_id as id, name as idval from v_ext_municipality WHERE muni_id IS NOT NULL -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Postcode: postcode - Postal code of the municipality
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Streetname: streetname - streetname
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id AS id, a.descript AS idval FROM v_ext_streetaxis a JOIN ext_municipality m USING (muni_id) WHERE id IS NOT NULL - Filterc: The previous query is filtered by:
AND m.name -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Street Number: postnumber - Street number
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT a.postnumber AS id, a.postnumber AS idval FROM ext_address a JOIN ext_streetaxis m ON streetaxis_id=m.id WHERE a.id IS NOT NULL - Filterc: The previous query is filtered by:
AND m.name -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Optional Complement Of The Street Number: postcomplement - Optional complement of the street number
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Streetname2: streetname2 - streetname2
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id AS id, a.descript AS idval FROM v_ext_streetaxis a JOIN ext_municipality m USING (muni_id) WHERE id IS NOT NULL - Filterc: The previous query is filtered by:
AND m.name -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Second Street Number: postnumber2 - Second street number
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT a.postnumber AS id, a.postnumber AS idval FROM ext_address a JOIN ext_streetaxis m ON streetaxis_id=m.id WHERE a.id IS NOT NULL - Filterc: The previous query is filtered by:
AND m.name -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Optional Complement Of The Second Street Number: postcomplement2 - Optional complement of the second street number
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Descript: descript - Field to store additional information about the feature.
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Annotation: annotation - Annotations related to arc. Additional information
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Observation: observ - Optional field to add observations about the element
- Datatype: String.
- Mandatory: No.
- Editable: Sí.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
Link: link - URL of the link that will open when clicking the button in the form bar. It must be edited from the database. link_path (from type tables) + link is concatenated
- Datatype: Text.
- Mandatory: No.
- Editable: No.
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
The fields in the layout lyt_bot_1 are:
Sector Id: sector_id - Hydraulic sector identifier related to the primary key of sector table
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT s.sector_id AS id, s.name AS idval FROM sector s WHERE s.sector_id IS NOT NULL AND s.active IS TRUE ORDER BY CASE WHEN s.sector_id = 0 THEN 1 WHEN s.sector_id = -1 THEN 3 ELSE 2 END, s.sector_id -
Stylesheet: Aesthetic modifications of the field
-
label:
- color: blue
- font-weight: bold
-
-
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.
-
valueRelation:
- layer: ve_sector
- activated: True
- keyColumn: sector_id
- nullValue: False
- valueColumn: name
- filterExpression: None
Dwfzone: dwfzone_id - dwfzone_id
- Datatype: Integer.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT dwfzone_id as id, name as idval FROM dwfzone WHERE dwfzone_id = 0 UNION SELECT dwfzone_id as id, name as idval FROM dwfzone WHERE dwfzone_id IS NOT NULL AND active IS TRUE - Filterc: The previous query is filtered by:
AND dwfzone.expl_id -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.
-
valueRelation:
- layer: ve_dma
- activated: True
- keyColumn: dma_id
- nullValue: False
- valueColumn: name
- filterExpression: None
State: state - Domain value of arc's state (on service, planified, obsolete)
- Datatype: Smallint.
- Mandatory: No.
- Editable: No.
- Dvquerytext: The values of this dropdown are determined by the query:
WITH psector_value AS ( SELECT value::integer AS psector_value FROM config_param_user WHERE parameter = 'plan_psector_current' AND cur_user = current_user), tg_op_value AS ( SELECT value::text AS tg_op_value FROM config_param_user WHERE parameter = 'utils_transaction_mode' AND cur_user = current_user) SELECT id::integer as id, name as idval FROM value_state WHERE id IS NOT NULL AND CASE WHEN (SELECT tg_op_value FROM tg_op_value)!='INSERT' THEN id IN (0,1,2) WHEN (SELECT tg_op_value FROM tg_op_value) ='INSERT' AND (SELECT psector_value FROM psector_value) IS NOT NULL THEN id = 2 ELSE id < 2 END -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.
State Type: state_type - The state type of the element. It allows to obtain more detail of the state. To select from those available depending on the chosen state
- Datatype: Smallint.
- Mandatory: No.
- Editable: Sí.
- Dvquerytext: The values of this dropdown are determined by the query:
SELECT id, name as idval FROM value_state_type WHERE id IS NOT NULL - Filterc: The previous query is filtered by:
AND value_state_type.state -
Widgetcontrols: Field controls
- setMultiline (False): Sets the possibility of multiline fields for writing with enter
- labelPosition (top): If this value is defined [top, left, none], the label will occupy the relative position with respect to the widget. By default, left is understood. If the label field is empty, labelPosition is omitted.