STS Data Validations

All triggers and stored procedures are stored within the database. These can be edited using the procedure editor included in the TOAD software. Each procedure is also saved to an external text file in order to make it easier to recreate the procedures. The procedures can be edited either by loading the source into the TOAD procedure editor directly from the Oracle database or by loading the script file into the editor. Care should be taken to maintain updated versions of the files at all locations. The procedure script files are located on sceolaun: C:\oracle\trap_procedures, trap_triggers, trap_functions, and trap_packages

Triggers:

OMIT_INSERT_AFT
PLACE_INSERT_AFT
TPLACE_INS_UPD_AFT
TPLACE_INS_UPD_AFT_ROW
TPLACE_UPD_BEF_ROW
INSPECT_INSERT_AFT
TINSPECT_INS_UPD_AFT
TINSPECT_INS_UPD_AFT_ROW
TINSPECT_UPD_BEF_ROW
OMIT_CTY_INSERT_AFT
PLACE_CTY_INSERT_AFT
TPLACE_CTY_INS_UPD_AFT
TPLACE_CTY_INS_UPD_AFT_ROW
TPLACE_CTY_UPD_BEF_ROW
INSPECT_CTY_INSERT_AFT
TINSPECT_CTY_INS_UPD_AFT
TINSPECT_CTY_INS_UPD_AFT_ROW
TINSPECT_CTY_UPD_BEF_ROW

Packages and Procedures Used During Data Validation Process (Alphabetical Order):

Packages:

CtyDataPkg
TdataPkg

Stored Procedures:

Catch_valid
Catch_valid_cty
County_block_site_unique
County_valid_cty
Day_check
Day_check_cty
Formdate_later_than_scan
Formdate_later_than_scan_cty
Gridutms_unique
Gridutms_unique_cty
Inspect_unique
Inspect_unique_cty
Omitted_site
Omitted_site_cty
Omit_why_valid
Omit_why_valid_cty
Placed_site
Placed_site_cty
Placement_upd
Placement_upd_cty
Qc_valid
Qc_valid_cty
Quadsite_unique
Quad_convert
Round_utme
Round_utmn
Site_valid
Site_valid_cty
Trapper_convert
Trapper_convert_cty
Trapper_valid
Trapper_valid_cty
Traps_too_close
Traps_too_close_cty
Traptype_valid
Traptype_valid_cty
Trap_condition
Trap_condition_cty
Trap_distance
Trap_distance_cty
Utms_unique
Utms_unique_cty
Utm_quad_check
Visit_final
Visit_final_cty
Visit_valid
Visit_valid_cty

Triggers, Packages, and Stored Procedures Used During Data Validation Process (in order of use):

TEST_PLACEMENT TABLE

Trigger TPLACE_UPD_BEF_ROW calls the following packages and procedures:

Tdatapkg.get_gm_sequence_id
Tdatapkg (variables)

Trigger TPLACE_INS_UPD_AFT_ROW calls:

Tdatapkg (package variables only)

Trigger TPLACE_INS_UPD_AFT calls:

Tdatapkg (package variables only)
Quad_convert
Site_valid
Day_check
Formdate_later_than_scan
Trapper_convert
Traptype_valid
Quadsite_unique
Gridutms_unique
Utms_unique
Omit_why_valid
Utm_quad_check
Trap_distance
Traps_too_close (currently disabled)

OMITTED_SITES TABLE

Trigger OMIT_INSERT_AFT calls:

No procedures called 

PLACEMENT TABLE

Trigger PLACE_INSERT_AFT calls:

No procedures called

TEST_PLACEMENT_CTY TABLE

Trigger TPLACE_CTY_UPD_BEF_ROW calls:

CtyDataPkg.get_cty_gm_sequence_id

Trigger TPLACE_CTY_INS_UPD_AFT calls:

CtyDataPkg (variables only)
County_valid_cty
Site_valid_cty
Day_check_cty
Formdate_later_than_scan_cty
Traptype_valid_cty
County_block_site_unique
Gridutms_unique_cty
Utms_unique_cty
Omit_why_valid_cty
Trap_distance_cty
Traps_too_close_cty (currently disabled)

Trigger TPLACE_CTY_INS_UPD_AFT_ROW calls:

CtyDataPkg (variables only)

OMITTED_SITES_CTY TABLE

Trigger OMIT_CTY_INSERT_AFT calls:

No procedures called

PLACEMENT_CTY TABLE

Trigger PLACE_CTY_INSERT_AFT calls:

No procedures called

TEST_INSPECTION TABLE

Trigger TINSPECT_UPD_BEF_ROW calls:

Tdatapkg.get_gm_sequence_id
Tdatapkg (variables only)

Trigger TINSPECT_INS_UPD_AFT calls:

Tdatapkg (variables only)
Day_check
Formdate_later_than_scan
Quad_convert
Site_valid
Omitted_site
Placed_site
Trapper_valid
Inspect_unique
Utms_unique
Utm_quad_check
Trap_distance
Traps_too_close (currently disabled)
Qc_valid
Visit_final
Visit_valid
Trap_condition
Catch_valid

Trigger TINSPECT_INS_UPD_AFT_ROW calls:

Tdatapkg (variables only)

TEST_INSPECTION_CTY TABLE

Trigger TINSPECT_UPD_BEF_ROW calls:

CtyDataPkg.get_cty_gm_sequence_id
CtyDataPkg (variables only)

Trigger TINSPECT_CTY_INS_UPD_AFT calls:

CtyDataPkg (variables only)
Day_check_cty
Formdate_later_than_scan_cty
Site_valid_cty
Omitted_site_cty
Placed_site_cty
Trapper_valid_cty
Inspect_unique_cty
Utms_unique_cty
Trap_distance_cty
Traps_too_close_cty (currently disabled)
Qc_valid_cty
Visit_final_cty
Visit_valid_cty
Trap_condition_cty
Catch_valid_cty
Placement_upd_cty

Trigger TINSPECT_CTY_INS_UPD_AFT_ROW calls:

CtyDataPkg (variables only)

   
  © 2012 Slow the Spread Foundation, Inc.  

Page developed and maintained by Virginia Tech

  Contact Us